linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] doc: fuse: Add max_background and congestion_threshold
@ 2025-06-10  2:11 Chen Linxuan
  2025-06-10 22:50 ` Bagas Sanjaya
  2025-06-12  6:22 ` Miklos Szeredi
  0 siblings, 2 replies; 3+ messages in thread
From: Chen Linxuan @ 2025-06-10  2:11 UTC (permalink / raw)
  To: Miklos Szeredi, Jonathan Corbet
  Cc: zhanjun, niecheng1, Chen Linxuan, Amir Goldstein, linux-fsdevel,
	linux-doc, linux-kernel

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>
---
 Documentation/filesystems/fuse.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/Documentation/filesystems/fuse.rst b/Documentation/filesystems/fuse.rst
index 1e31e87aee68c..c589316c8bb35 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
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH RESEND] doc: fuse: Add max_background and congestion_threshold
  2025-06-10  2:11 [PATCH RESEND] doc: fuse: Add max_background and congestion_threshold Chen Linxuan
@ 2025-06-10 22:50 ` Bagas Sanjaya
  2025-06-12  6:22 ` Miklos Szeredi
  1 sibling, 0 replies; 3+ messages in thread
From: Bagas Sanjaya @ 2025-06-10 22:50 UTC (permalink / raw)
  To: Chen Linxuan, Miklos Szeredi, Jonathan Corbet
  Cc: zhanjun, niecheng1, Amir Goldstein, linux-fsdevel, linux-doc,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

On Tue, Jun 10, 2025 at 10:11:25AM +0800, Chen Linxuan wrote:
> +        max_background
> +          The maximum number of background requests that can be outstanding
                                   outstanding background requests
> +          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.

Thanks.

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH RESEND] doc: fuse: Add max_background and congestion_threshold
  2025-06-10  2:11 [PATCH RESEND] doc: fuse: Add max_background and congestion_threshold Chen Linxuan
  2025-06-10 22:50 ` Bagas Sanjaya
@ 2025-06-12  6:22 ` Miklos Szeredi
  1 sibling, 0 replies; 3+ messages in thread
From: Miklos Szeredi @ 2025-06-12  6:22 UTC (permalink / raw)
  To: Chen Linxuan
  Cc: Jonathan Corbet, zhanjun, niecheng1, Amir Goldstein,
	linux-fsdevel, linux-doc, linux-kernel

On Tue, 10 Jun 2025 at 04:11, Chen Linxuan <chenlinxuan@uniontech.com> wrote:
>
> 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>

Applied, thanks.

Miklos

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-12  6:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-10  2:11 [PATCH RESEND] doc: fuse: Add max_background and congestion_threshold Chen Linxuan
2025-06-10 22:50 ` Bagas Sanjaya
2025-06-12  6:22 ` Miklos Szeredi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).