summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Linxuan <chenlinxuan@uniontech.com>2025-06-10 10:11:25 +0800
committerMiklos Szeredi <mszeredi@redhat.com>2025-08-27 14:29:43 +0200
commite49a6828aba42bfbd4702e0a06aaae6a67f27285 (patch)
treeb11d14fe19948547d91f5e0e93ccd169ba147e86
parent7a37f55af7af868119b4fb69285f5fa03ba8cf35 (diff)
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>
-rw-r--r--Documentation/filesystems/fuse.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/filesystems/fuse.rst b/Documentation/filesystems/fuse.rst
index 1e31e87aee68..c589316c8bb3 100644
--- a/Documentation/filesystems/fuse.rst
+++ b/Documentation/filesystems/fuse.rst
@@ -129,6 +129,20 @@ For each connection the following files exist within this directory:
connection. This means that all waiting requests will be aborted an
error returned for all aborted and new requests.
+ max_background
+ The maximum number of background requests that can be outstanding
+ at a time. When the number of background requests reaches this limit,
+ further requests will be blocked until some are completed, potentially
+ causing I/O operations to stall.
+
+ congestion_threshold
+ The threshold of background requests at which the kernel considers
+ the filesystem to be congested. When the number of background requests
+ exceeds this value, the kernel will skip asynchronous readahead
+ operations, reducing read-ahead optimizations but preserving essential
+ I/O, as well as suspending non-synchronous writeback operations
+ (WB_SYNC_NONE), delaying page cache flushing to the filesystem.
+
Only the owner of the mount may read or write these files.
Interrupting filesystem operations