aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2020-10-09 09:28:26 -0400
committerDavid Sterba <[email protected]>2021-02-08 22:58:59 +0100
commit2e294c60497f29ab8791f4b99f348b22d70dd3c3 (patch)
treecb40e6dc6eed38e728df2c5e514d3ad227d9d617 /tools/perf/scripts/python/bin/stackcollapse-record
parent9f42d37748264d65ca611b60c22b9c003030b0b3 (diff)
btrfs: simplify the logic in need_preemptive_flushing
A lot of this was added all in one go with no explanation, and is a bit unwieldy and confusing. Simplify the logic to start preemptive flushing if we've reserved more than half of our available free space. Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions