diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2021-07-06 01:32:38 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-07-07 17:42:57 +0200 |
commit | 9cc0b837e14ae913581ec1ea6e979a738f71b0fd (patch) | |
tree | e7f7cb63b520e9a19809fe605d994343419e2832 /fs/btrfs/delalloc-space.h | |
parent | abb99cfdaf0759f8a619e5fecf52ccccdf310c8c (diff) |
btrfs: don't block if we can't acquire the reclaim lock
If we can't acquire the reclaim_bgs_lock on block group reclaim, we
block until it is free. This can potentially stall for a long time.
While reclaim of block groups is necessary for a good user experience on
a zoned file system, there still is no need to block as it is best
effort only, just like when we're deleting unused block groups.
CC: stable@vger.kernel.org # 5.13
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delalloc-space.h')
0 files changed, 0 insertions, 0 deletions