Commit 7180738e authored by Stefan Roesch's avatar Stefan Roesch Committed by Yifan Qiao
Browse files

mm: document /sys/class/bdi/<bdi>/min_bytes knob

mainline inclusion
from mainline-v6.2-rc1
commit 9c832a8d
category: feature
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAN96I

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9c832a8d571784c998d0f9f5df480c62f7f3064c

--------------------------------

This documents the new /sys/class/bdi/<bdi>/min_bytes knob.

[akpm@linux-foundation.org: fix htmldocs warnings]
Link: https://lkml.kernel.org/r/20221119005215.3052436-15-shr@devkernel.io


Signed-off-by: default avatarStefan Roesch <shr@devkernel.io>
Cc: Chris Mason <clm@meta.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Conflicts:
	Documentation/ABI/testing/sysfs-class-bdi
[Adapt to same document style.]
Signed-off-by: default avatarYifan Qiao <qiaoyifan4@huawei.com>
parent 9d961dd8
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -48,6 +48,17 @@ max_ratio (read-write)
	mount that is prone to get stuck, or a FUSE mount which cannot
	be trusted to play fair.

min_bytes (read-write)

	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_bytes' parameter allows assigning a minimum
	percentage of the write-back cache to a particular device
	expressed in bytes.
	For example, this is useful for providing a minimum QoS.

max_bytes (read-write)

	Allows limiting a particular device to use not more than the