From 77eae112a75e142384a16c18b486b8f72ef82b14 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Wed, 16 Nov 2016 11:28:42 -0800 Subject: Document "congestion_threshold" parameter. Fixes #96. Thanks to Maxim Patlasov for help! --- include/fuse_common.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'include') 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; -- cgit v1.2.3