summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBoris Burkov <boris@bur.io>2024-02-14 11:29:50 -0800
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:33:27 +0200
commit0e962e755b2684185ec37c75d91df56e076782ec (patch)
tree9eded06accc737eb78ec019b0a82c85c3a3b0e1a /tools/perf/scripts/python
parent813d4c642251649352e9680e6278a1c02c0ebf95 (diff)
btrfs: urgent periodic reclaim pass
Periodic reclaim attempts to avoid block_groups seeing active use with a sweep mark that gets cleared on allocation and set on a sweep. In urgent conditions where we have very little unallocated space (less than one chunk used by the threshold calculation for the unallocated target), we want to be able to override this mechanism. Introduce a second pass that only happens if we fail to find a reclaim candidate and reclaim is urgent. In that case, do a second pass where all block groups are eligible. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Boris Burkov <boris@bur.io> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions