aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fuse.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fuse.h')
-rw-r--r--include/linux/fuse.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h
index bcd85b0..909c8b0 100644
--- a/include/linux/fuse.h
+++ b/include/linux/fuse.h
@@ -12,7 +12,7 @@
#define FUSE_KERNEL_VERSION 2
/** Minor version number of this interface */
-#define FUSE_KERNEL_MINOR_VERSION 1
+#define FUSE_KERNEL_MINOR_VERSION 2
/** The inode number of the root indode */
#define FUSE_ROOT_INO 1
@@ -53,6 +53,12 @@ permission checking is done in the kernel */
until the INVALIDATE operation is invoked */
#define FUSE_KERNEL_CACHE (1 << 2)
+/** Allow FUSE to combine reads into 64k chunks. This is useful if
+ the filesystem is better at handling large chunks. NOTE: in
+ current implementation the raw throughput is worse for large reads
+ than for small. */
+#define FUSE_LARGE_READ (1 << 3)
+
struct fuse_attr {
unsigned int mode;
unsigned int nlink;