aboutsummaryrefslogtreecommitdiff
path: root/fs/proc/util.c
diff options
context:
space:
mode:
authorStefan Roesch <[email protected]>2022-11-18 16:52:05 -0800
committerAndrew Morton <[email protected]>2022-11-30 15:59:05 -0800
commit712c00d66a342a3ed375df41c3df7d3d2abad2c0 (patch)
tree493b209f1e7a446e28adcf656f3126ee307551ff /fs/proc/util.c
parentc354d9268d7825eb8643f658c5091079d4f11a4a (diff)
mm: add bdi_get_min_bytes() function
This adds a function to return the specified value for min_bytes. It converts the stored min_ratio of the bdi to the corresponding bytes value. This is an approximation as it is based on the value that is returned by global_dirty_limits(), which can change. The returned value can be different than the value when the min_bytes value was set. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Stefan Roesch <[email protected]> Cc: Chris Mason <[email protected]> Cc: Jens Axboe <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'fs/proc/util.c')
0 files changed, 0 insertions, 0 deletions