From 9ba76b906498d443eb811b8e88e2b92910893d13 Mon Sep 17 00:00:00 2001 From: Feng Shuo Date: Fri, 4 Jan 2013 16:23:30 +0800 Subject: 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 --- lib/fuse_i.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/fuse_i.h') 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; -- cgit v1.2.3