aboutsummaryrefslogtreecommitdiff
path: root/lib/fuse_i.h
diff options
context:
space:
mode:
authorGravatar Feng Shuo <steve.shuo.feng@gmail.com>2013-01-04 16:23:30 +0800
committerGravatar Miklos Szeredi <mszeredi@suse.cz>2013-02-06 17:27:28 +0100
commit9ba76b906498d443eb811b8e88e2b92910893d13 (patch)
tree20b6ed234186b1ba0ed432e9da801185a9a782f9 /lib/fuse_i.h
parent06b1100acabe011ce632b1a97819cde41d66d0ad (diff)
libfuse: Add '[no_]auto_inval_data' mount option
Several caching logic changes have been made on the kernel side to better support network-based fuse filesystems. These include kernel side mtime checking and read path cache revalidation. The new caching logic is enabled through the FUSE_AUTO_INVAL_DATA init flag. Export this to the user via the '[no_]auto_inval_data' mount option. Signed-off-by: Feng Shuo <steve.shuo.feng@gmail.com>
Diffstat (limited to 'lib/fuse_i.h')
-rw-r--r--lib/fuse_i.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fuse_i.h b/lib/fuse_i.h
index 1f1787e..225ff7d 100644
--- a/lib/fuse_i.h
+++ b/lib/fuse_i.h
@@ -71,6 +71,8 @@ struct fuse_ll {
int no_splice_write;
int no_splice_move;
int no_splice_read;
+ int auto_inval_data;
+ int no_auto_inval_data;
struct fuse_lowlevel_ops op;
int got_init;
struct cuse_data *cuse_data;