aboutsummaryrefslogtreecommitdiff
path: root/lib/fuse_i.h
diff options
context:
space:
mode:
authorGravatar Eric Wong <normalperson@yhbt.net>2013-02-07 02:52:41 +0000
committerGravatar Miklos Szeredi <mszeredi@suse.cz>2013-02-07 14:59:28 +0100
commitc66e7f4e71a10e0a06d903d11acad8cc6b99c16a (patch)
tree811911c9279e6d55152d0c2e03fd91970e2219a6 /lib/fuse_i.h
parent1bea285a3a586c97597b1f690f14051ff63f3f0b (diff)
libfuse: allow disabling adaptive readdirplus
This switches the -o no_readdirplus option to a tristate string: -o readdirplus=(yes|no|auto) Telling the kernel to always use readdirplus is beneficial to filesystems (e.g. GlusterFS) where the cost to perform readdir and readdirplus are identical. The default remains "auto" (if supported).
Diffstat (limited to 'lib/fuse_i.h')
-rw-r--r--lib/fuse_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fuse_i.h b/lib/fuse_i.h
index 02e7af1..3c46d34 100644
--- a/lib/fuse_i.h
+++ b/lib/fuse_i.h
@@ -74,6 +74,7 @@ struct fuse_ll {
int auto_inval_data;
int no_auto_inval_data;
int no_readdirplus;
+ int no_readdirplus_auto;
struct fuse_lowlevel_ops op;
int got_init;
struct cuse_data *cuse_data;