linux/fs/afs
Trond Myklebust c698dbf9fe Merge branch 'fscache' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs into linux-next
Pull fs-cache fixes from David Howells:

Can you pull these commits to fix an issue with NFS whereby caching can be
enabled on a file that is open for writing by subsequently opening it for
reading.  This can be made to crash by opening it for writing again if you're
quick enough.

The gist of the patchset is that the cookie should be acquired at inode
creation only and subsequently enabled and disabled as appropriate (which
dispenses with the backing objects when they're not needed).

The extra synchronisation that NFS does can then be dispensed with as it is
thenceforth managed by FS-Cache.

Could you send these on to Linus?

This likely will need fixing also in CIFS and 9P also once the FS-Cache
changes are upstream.  AFS and Ceph are probably safe.

* 'fscache' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
  NFS: Use i_writecount to control whether to get an fscache cookie in nfs_open()
  FS-Cache: Provide the ability to enable/disable cookies
  FS-Cache: Add use/unuse/wake cookie wrappers
2013-10-28 19:36:46 -04:00
..
afs_cm.h
afs_fs.h
afs_vl.h
afs.h
cache.c
callback.c
cell.c FS-Cache: Provide the ability to enable/disable cookies 2013-09-27 18:40:25 +01:00
cmservice.c
dir.c afs: dget_parent() can't return a negative dentry 2013-09-29 22:02:24 -04:00
file.c mm: change invalidatepage prototype to accept length 2013-05-21 23:17:23 -04:00
flock.c locks: protect most of the file_lock handling with i_lock 2013-06-29 12:57:42 +04:00
fsclient.c
inode.c FS-Cache: Provide the ability to enable/disable cookies 2013-09-27 18:40:25 +01:00
internal.h
Kconfig
main.c
Makefile
misc.c
mntpt.c
netdevices.c
proc.c
rxrpc.c
security.c
server.c
super.c
vlclient.c
vlocation.c FS-Cache: Provide the ability to enable/disable cookies 2013-09-27 18:40:25 +01:00
vnode.c
volume.c FS-Cache: Provide the ability to enable/disable cookies 2013-09-27 18:40:25 +01:00
write.c aio: don't include aio.h in sched.h 2013-05-07 20:16:25 -07:00