aboutsummaryrefslogtreecommitdiff
path: root/lib/fuse_i.h
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2016-10-27 21:38:42 -0700
committerNikolaus Rath <Nikolaus@rath.org>2016-10-27 21:38:42 -0700
commite885e84f796da2433907e57358bc4916bca30a50 (patch)
tree278350db190c3f8f50933397d368cc9fbbbe74e9 /lib/fuse_i.h
parent4fade0c616a9227e42043ac3332f0fc59a6df327 (diff)
downloadlibfuse-e885e84f796da2433907e57358bc4916bca30a50.tar.gz
Add max_read to fuse_conn_info
Eventually, this setting should be negotiated in the filesystem's init() handler (like e.g. max_write). However, this requires corresponding changes in the FUSE kernel module. In preparation for this (and to allow a transition period) we already allow (and require) filesystems to set the value in the init() handler in addition to the mount option. The end-goal is tracked in issue #91.
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 50962e3..ec29c4e 100644
--- a/lib/fuse_i.h
+++ b/lib/fuse_i.h
@@ -108,6 +108,7 @@ void fuse_chan_put(struct fuse_chan *ch);
struct mount_opts *parse_mount_opts(struct fuse_args *args);
void destroy_mount_opts(struct mount_opts *mo);
void fuse_mount_version(void);
+unsigned get_max_read(struct mount_opts *o);
void fuse_kern_unmount(const char *mountpoint, int fd);
int fuse_kern_mount(const char *mountpoint, struct mount_opts *mo);