diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2020-10-09 16:28:26 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2021-02-09 00:58:59 +0300 |
| commit | 2e294c60497f29ab8791f4b99f348b22d70dd3c3 (patch) | |
| tree | cb40e6dc6eed38e728df2c5e514d3ad227d9d617 /tools/perf/scripts/python/bin/export-to-sqlite-report | |
| parent | 9f42d37748264d65ca611b60c22b9c003030b0b3 (diff) | |
| download | linux-2e294c60497f29ab8791f4b99f348b22d70dd3c3.tar.xz | |
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/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions
