mm: add bdi_set_min_ratio_no_scale() function
authorStefan Roesch <shr@devkernel.io>
Sat, 19 Nov 2022 00:52:13 +0000 (16:52 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Nov 2022 23:59:06 +0000 (15:59 -0800)
commit2c44af4f2aaa260199f218f11920c406e688693c
tree451d6696f74f211e895f8e64dc78499de26ca6b7
parent54790f30fea74247e2f38b4a632ee3dc2fe42d86
mm: add bdi_set_min_ratio_no_scale() function

This introduces bdi_set_min_ratio_no_scale(). It uses the max
granularity for the ratio. This function by the new sysfs knob
min_ratio_fine.

Link: https://lkml.kernel.org/r/20221119005215.3052436-19-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>
include/linux/backing-dev.h
mm/page-writeback.c