]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: allow block group background reclaim for non-zoned filesystems
authorJosef Bacik <josef@toxicpanda.com>
Tue, 29 Mar 2022 08:56:07 +0000 (01:56 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:11 +0000 (17:03 +0200)
commit5a2ea1b71fab2415de1bc68df5f085cbaadc4009
treea95d57bc2f9dd62b8a190b73d0d5b8f9ec376bbf
parent710652821b55022dcd3f8d32ea159398dca08678
btrfs: allow block group background reclaim for non-zoned filesystems

This will allow us to set a threshold for block groups to be
automatically relocated even if we don't have zoned devices.

We have found this feature invaluable at Facebook due to how our
workload interacts with the allocator.  We have been using this in
production for months with only a single problem that has already been
fixed.

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/block-group.c