diff options
author | Brian Foster <bfoster@redhat.com> | 2012-07-16 19:23:48 (GMT) |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2012-07-18 14:09:40 (GMT) |
commit | 72d0d248ca8232dbd30d35b42d0d86e39b3e322b (patch) | |
tree | b186ec7e6c19540660631fd2e169494657882b1d /fs/fuse/fuse_i.h | |
parent | 84a1caf1453c3d44050bd22db958af4a7f99315c (diff) | |
download | linux-72d0d248ca8232dbd30d35b42d0d86e39b3e322b.tar.xz |
fuse: add FUSE_AUTO_INVAL_DATA init flag
FUSE_AUTO_INVAL_DATA is provided to enable updated/auto cache
invalidation logic.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r-- | fs/fuse/fuse_i.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 771fb63..e24dd74 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h @@ -484,6 +484,9 @@ struct fuse_conn { /** Is fallocate not implemented by fs? */ unsigned no_fallocate:1; + /** Use enhanced/automatic page cache invalidation. */ + unsigned auto_inval_data:1; + /** The number of requests waiting for completion */ atomic_t num_waiting; |