mm: add bdi_set_min_bytes() function
authorStefan Roesch <shr@devkernel.io>
Sat, 19 Nov 2022 00:52:07 +0000 (16:52 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Nov 2022 23:59:05 +0000 (15:59 -0800)
commit803c98050569850be5fd51a2025c67622de887d9
treecf1e28a101ae0a9a73cd5f6cc9a6bc14201e87ec
parent8021fb3232f265b81c7e4e7aba15bc3a04ff1fd3
mm: add bdi_set_min_bytes() function

This introduces the bdi_set_min_bytes() function. The min_bytes function
does not store the min_bytes value. Instead it converts the min_bytes
value into the corresponding ratio value.

Link: https://lkml.kernel.org/r/20221119005215.3052436-13-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