summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-class-bdi
diff options
context:
space:
mode:
authorStefan Roesch <shr@devkernel.io>2022-11-19 03:52:04 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-12-01 02:59:04 +0300
commitc354d9268d7825eb8643f658c5091079d4f11a4a (patch)
tree02e3395547a1d229c4ba314e2d747d203bab994a /Documentation/ABI/testing/sysfs-class-bdi
parentc56e049a5e401a177c7c9b39a3bcc973ff5cec0b (diff)
downloadlinux-c354d9268d7825eb8643f658c5091079d4f11a4a.tar.xz
mm: document /sys/class/bdi/<bdi>/max_bytes knob
This documents the new /sys/class/bdi/<bdi>/max_bytes knob. Link: https://lkml.kernel.org/r/20221119005215.3052436-10-shr@devkernel.io Signed-off-by: Stefan Roesch <shr@devkernel.io> Cc: Chris Mason <clm@meta.com> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-bdi')
-rw-r--r--Documentation/ABI/testing/sysfs-class-bdi14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-bdi b/Documentation/ABI/testing/sysfs-class-bdi
index 68b5d4018c2f..580f723de049 100644
--- a/Documentation/ABI/testing/sysfs-class-bdi
+++ b/Documentation/ABI/testing/sysfs-class-bdi
@@ -56,6 +56,20 @@ Description:
be trusted to play fair.
(read-write)
+
+What: /sys/class/bdi/<bdi>/max_bytes
+Date: October 2022
+Contact: Stefan Roesch <shr@devkernel.io>
+Description:
+ Allows limiting a particular device to use not more than the
+ given 'max_bytes' of the write-back cache. This is useful in
+ situations where we want to avoid one device taking all or
+ most of the write-back cache. For example in case of an NFS
+ mount that is prone to get stuck, a FUSE mount which cannot be
+ trusted to play fair, or a nbd device.
+
+ (read-write)
+
What: /sys/class/bdi/<bdi>/strict_limit
Date: October 2022
Contact: Stefan Roesch <shr@devkernel.io>