]> www.infradead.org Git - users/willy/xarray.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)
commit77233c2d2ec95030afcaf9fd90e4bdd6125e5c15
treed72707f96d8fac801dc213b5b3b7c3ed32d93324
parent1f295373022e84683bc5768caca46bdba3a376c1
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