mm: document /sys/class/bdi/<bdi>/min_ratio_fine knob
authorStefan Roesch <shr@devkernel.io>
Sat, 19 Nov 2022 00:52:15 +0000 (16:52 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Nov 2022 23:59:06 +0000 (15:59 -0800)
This documents the new /sys/class/bdi/<bdi>/max_ratio_fine knob.

[akpm@linux-foundation.org: fix htmldocs warnings]
Link: https://lkml.kernel.org/r/20221119005215.3052436-21-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>
Documentation/ABI/testing/sysfs-class-bdi

index e9c584d..0d2abd8 100644 (file)
@@ -44,6 +44,21 @@ Description:
 
        (read-write)
 
+What:          /sys/class/bdi/<bdi>/min_ratio_fine
+Date:          November 2022
+Contact:       Stefan Roesch <shr@devkernel.io>
+Description:
+       Under normal circumstances each device is given a part of the
+       total write-back cache that relates to its current average
+       writeout speed in relation to the other devices.
+
+       The 'min_ratio_fine' parameter allows assigning a minimum reserve
+       of the write-back cache to a particular device. The value is
+       expressed as part of 1 million. For example, this is useful for
+       providing a minimum QoS.
+
+       (read-write)
+
 What:          /sys/class/bdi/<bdi>/max_ratio
 Date:          January 2008
 Contact:       Peter Zijlstra <a.p.zijlstra@chello.nl>