Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

doc: fuse: Add max_background and congestion_threshold

As I preparing patches adding selftests for fusectl,
I notice that documentation of max_background and congestion_threshold
is missing.

This patch add some descriptions about these two files.

Cc: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Chen Linxuan <chenlinxuan@uniontech.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>

authored by

Chen Linxuan and committed by
Miklos Szeredi
e49a6828 7a37f55a

+14
+14
Documentation/filesystems/fuse.rst
··· 129 129 connection. This means that all waiting requests will be aborted an 130 130 error returned for all aborted and new requests. 131 131 132 + max_background 133 + The maximum number of background requests that can be outstanding 134 + at a time. When the number of background requests reaches this limit, 135 + further requests will be blocked until some are completed, potentially 136 + causing I/O operations to stall. 137 + 138 + congestion_threshold 139 + The threshold of background requests at which the kernel considers 140 + the filesystem to be congested. When the number of background requests 141 + exceeds this value, the kernel will skip asynchronous readahead 142 + operations, reducing read-ahead optimizations but preserving essential 143 + I/O, as well as suspending non-synchronous writeback operations 144 + (WB_SYNC_NONE), delaying page cache flushing to the filesystem. 145 + 132 146 Only the owner of the mount may read or write these files. 133 147 134 148 Interrupting filesystem operations