diff options
author | 2023-06-06 14:36:36 +0900 | |
---|---|---|
committer | 2023-06-19 13:59:38 +0200 | |
commit | 7e27180994383b7c741ad87749db01e4989a02ba (patch) | |
tree | 5d443f3448ba37637d8f91e3c4191d3ad35a2245 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: bail out reclaim process if filesystem is read-only (diff) | |
download | wireguard-linux-7e27180994383b7c741ad87749db01e4989a02ba.tar.xz wireguard-linux-7e27180994383b7c741ad87749db01e4989a02ba.zip |
btrfs: reinsert BGs failed to reclaim
The reclaim process can temporarily fail. For example, if the space is
getting tight, it fails to make the block group read-only. If there are no
further writes on that block group, the block group will never get back to
the reclaim list, and the BG never gets reclaimed. In a certain workload,
we can leave many such block groups never reclaimed.
So, let's get it back to the list and give it a chance to be reclaimed.
Fixes: 18bb8bbf13c1 ("btrfs: zoned: automatically reclaim zones")
CC: stable@vger.kernel.org # 5.15+
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions