diff options
author | 2020-10-09 09:28:26 -0400 | |
---|---|---|
committer | 2021-02-08 22:58:59 +0100 | |
commit | 2e294c60497f29ab8791f4b99f348b22d70dd3c3 (patch) | |
tree | cb40e6dc6eed38e728df2c5e514d3ad227d9d617 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | btrfs: rework btrfs_calc_reclaim_metadata_size (diff) | |
download | linux-dev-2e294c60497f29ab8791f4b99f348b22d70dd3c3.tar.xz linux-dev-2e294c60497f29ab8791f4b99f348b22d70dd3c3.zip |
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 <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions