aha/fs/fuse
John Muir 3b463ae0c6 fuse: invalidation reverse calls
Add notification messages that allow the filesystem to invalidate VFS
caches.

Two notifications are added:

 1) inode invalidation

   - invalidate cached attributes
   - invalidate a range of pages in the page cache (this is optional)

 2) dentry invalidation

   - try to invalidate a subtree in the dentry cache

Care must be taken while accessing the 'struct super_block' for the
mount, as it can go away while an invalidation is in progress.  To
prevent this, introduce a rw-semaphore, that is taken for read during
the invalidation and taken for write in the ->kill_sb callback.

Cc: Csaba Henk <csaba@gluster.com>
Cc: Anand Avati <avati@zresearch.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
2009-06-30 20:12:24 +02:00
..
control.c fuse: style fixes 2008-11-26 12:03:54 +01:00
cuse.c CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00
dev.c fuse: invalidation reverse calls 2009-06-30 20:12:24 +02:00
dir.c fuse: invalidation reverse calls 2009-06-30 20:12:24 +02:00
file.c fuse: fix bad return value in fuse_file_poll() 2009-06-30 20:06:24 +02:00
fuse_i.h fuse: invalidation reverse calls 2009-06-30 20:12:24 +02:00
inode.c fuse: invalidation reverse calls 2009-06-30 20:12:24 +02:00
Kconfig fs/Kconfig: move fuse out 2009-01-22 13:15:55 +03:00
Makefile CUSE: implement CUSE - Character device in Userspace 2009-06-09 11:24:11 +02:00