mm: add knob /sys/class/bdi/<bdi>/strict_limit
authorStefan Roesch <shr@devkernel.io>
Sat, 19 Nov 2022 00:51:57 +0000 (16:51 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Nov 2022 23:59:03 +0000 (15:59 -0800)
commit27bbe9d48d4e298864e18b39f091342c68b81637
treefdfb45b09b3be7acb288ab166bee627e3b904fcc
parent8e9d5ead865a1a7af74a444d2f00f1ef4539bfba
mm: add knob /sys/class/bdi/<bdi>/strict_limit

Add a new knob to /sys/class/bdi/<bdi>/strict_limit. This new knob
allows to set/unset the flag BDI_CAP_STRICTLIMIT in the bdi
capabilities.

Link: https://lkml.kernel.org/r/20221119005215.3052436-3-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>
mm/backing-dev.c