aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2021-04-28 13:38:46 -0400
committerDavid Sterba <[email protected]>2021-06-21 15:19:04 +0200
commit30acce4eb032251be4767ee393a7e6e9748259d6 (patch)
treecff94d080171531a679a5adb2e272dc86db9c0c1 /tools/perf/scripts/python
parent1239e2da16bf85e13063de7d2e9638219efca984 (diff)
btrfs: don't include the global rsv size in the preemptive used amount
When deciding if we should preemptively flush space, we will add in the amount of space used by all block rsvs. However this also includes the global block rsv, which isn't flushable so shouldn't be accounted for in this calculation. If we decide to use ->bytes_may_use in our used calculation we need to subtract the global rsv size from this amount so it most closely matches the flushable space. Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions