aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2009-08-26 13:18:24 -0400
committerMiklos Szeredi <mszeredi@suse.cz>2009-09-16 08:15:29 -0400
commit79a9d99434b104c562f30f21b75317667f444793 (patch)
tree181900c493e9aa0322b47dbcf2aa8251a956dd30 /fs/fuse/fuse_i.h
parent487ea5af6358cb27c994e2cf056d4ee0872e43c3 (diff)
fuse: add fusectl interface to max_background
Make the max_background and congestion_threshold parameters of a FUSE mount tunable at runtime by adding the respective knobs to its directory within the fusectl filesystem. Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 6bcfab04396f..fc9c79feb5f7 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -32,7 +32,7 @@
32#define FUSE_NAME_MAX 1024 32#define FUSE_NAME_MAX 1024
33 33
34/** Number of dentries for each connection in the control filesystem */ 34/** Number of dentries for each connection in the control filesystem */
35#define FUSE_CTL_NUM_DENTRIES 3 35#define FUSE_CTL_NUM_DENTRIES 5
36 36
37/** If the FUSE_DEFAULT_PERMISSIONS flag is given, the filesystem 37/** If the FUSE_DEFAULT_PERMISSIONS flag is given, the filesystem
38 module will check permissions based on the file mode. Otherwise no 38 module will check permissions based on the file mode. Otherwise no
@@ -49,6 +49,10 @@ extern struct list_head fuse_conn_list;
49/** Global mutex protecting fuse_conn_list and the control filesystem */ 49/** Global mutex protecting fuse_conn_list and the control filesystem */
50extern struct mutex fuse_mutex; 50extern struct mutex fuse_mutex;
51 51
52/** Module parameters */
53extern unsigned max_user_bgreq;
54extern unsigned max_user_congthresh;
55
52/** FUSE inode */ 56/** FUSE inode */
53struct fuse_inode { 57struct fuse_inode {
54 /** Inode data */ 58 /** Inode data */