aboutsummaryrefslogtreecommitdiff
path: root/include/fuse_common.h
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2010-06-23 08:33:32 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2010-06-23 08:33:32 +0000
commit8b2a7f59b3d07fb82f7df8fa8efd7ff38700e60d (patch)
treef4784a25eaed5ed2bae8345a8a1aac7ca9ef9cf6 /include/fuse_common.h
parent1091d73a2872d9794a2f2886e5ed73d6a40766f8 (diff)
* Make the number of max background requests and congestion
threshold tunable.
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r--include/fuse_common.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h
index c547ac8..70304c3 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -160,9 +160,19 @@ struct fuse_conn_info {
unsigned want;
/**
+ * Maximum number of backgrounded requests
+ */
+ unsigned max_background;
+
+ /**
+ * Kernel congestion threshold parameter
+ */
+ unsigned congestion_threshold;
+
+ /**
* For future use.
*/
- unsigned reserved[25];
+ unsigned reserved[23];
};
struct fuse_session;