]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: zoned: allow disabling of zone auto reclaim
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Mon, 9 Aug 2021 11:41:17 +0000 (20:41 +0900)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Aug 2021 11:19:11 +0000 (13:19 +0200)
commitd2861c93a6a00f34ec74d0f977ac72b17bbdef1b
treed72707f96d8fac801dc213b5b3b7c3ed32d93324
parent2f3f4cf322ce380be0eba6f813580df254afe428
btrfs: zoned: allow disabling of zone auto reclaim

Automatically reclaiming dirty zones might not always be desired for all
workloads, especially as there are currently still some rough edges with
the relocation code on zoned filesystems.

Allow disabling zone auto reclaim on a per filesystem basis by writing 0
as the threshold value.

Reviewed-by: Naohiro Aota <naohiro.aota@wdc.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/free-space-cache.c
fs/btrfs/sysfs.c