diff options
author | 2022-11-18 16:52:03 -0800 | |
---|---|---|
committer | 2022-11-30 15:59:04 -0800 | |
commit | c56e049a5e401a177c7c9b39a3bcc973ff5cec0b (patch) | |
tree | b7cffffc02de6eba8280a57fbe9fec107fad1244 /mm/page-writeback.c | |
parent | mm: add bdi_set_max_bytes() function (diff) | |
download | linux-rng-c56e049a5e401a177c7c9b39a3bcc973ff5cec0b.tar.xz linux-rng-c56e049a5e401a177c7c9b39a3bcc973ff5cec0b.zip |
mm: add knob /sys/class/bdi/<bdi>/max_bytes
This adds the new knob max_bytes to specify a dirty memory limit for the
corresponding bdi. The specified bytes value is converted to a ratio.
Link: https://lkml.kernel.org/r/20221119005215.3052436-9-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 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions