aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-11-16 11:28:42 -0800
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-11-16 11:30:05 -0800
commit77eae112a75e142384a16c18b486b8f72ef82b14 (patch)
treef005c7a301b11b36ce9f018ba8338a5ad394a487 /include
parent73bfe763aa4fafa0b582781fbc783cd0122c9632 (diff)
Document "congestion_threshold" parameter.
Fixes #96. Thanks to Maxim Patlasov <mpatlasov@virtuozzo.com> for help!
Diffstat (limited to 'include')
-rw-r--r--include/fuse_common.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h
index dc19083..a906bc5 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -288,10 +288,12 @@ struct fuse_conn_info {
unsigned max_background;
/**
- * Kernel congestion threshold parameter. If you want to
- * know what this means, please refer to the kernel source
- * (and, ideally, submit a brief explanation that can be
- * included here).
+ * Kernel congestion threshold parameter. If the number of pending
+ * background requests exceeds this number, the FUSE kernel module will
+ * mark the filesystem as "congested". This instructs the kernel to
+ * expect that queued requests will take some time to complete, and to
+ * adjust its algorithms accordingly (e.g. by putting a waiting thread
+ * to sleep instead of using a busy-loop).
*/
unsigned congestion_threshold;