]> 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)
commitea41683b9ce61855b840b6fbe7b3cbd15c09f0cb
treea95d57bc2f9dd62b8a190b73d0d5b8f9ec376bbf
parent249310f140a04f3c85399300998a42e06ebc3861
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