]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: change the bg_reclaim_threshold valid region from 0 to 100
authorJosef Bacik <josef@toxicpanda.com>
Tue, 29 Mar 2022 08:56:08 +0000 (01:56 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:11 +0000 (17:03 +0200)
commitf5b2feed47a1edc8db88064b232f7bd77a07eb1d
tree2a9012f542c7e9b57a42d4ab585efcdbd9206954
parent5a2ea1b71fab2415de1bc68df5f085cbaadc4009
btrfs: change the bg_reclaim_threshold valid region from 0 to 100

For the non-zoned case we may want to set the threshold for reclaim to
something below 50%.  Change the acceptable threshold from 50-100 to
0-100.

Tested-by: Pankaj Raghav <p.raghav@samsung.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/sysfs.c