diff options
author | Josef Bacik <josef@toxicpanda.com> | 2020-10-09 09:28:26 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-02-08 22:58:59 +0100 |
commit | 2e294c60497f29ab8791f4b99f348b22d70dd3c3 (patch) | |
tree | cb40e6dc6eed38e728df2c5e514d3ad227d9d617 /fs/jfs/jfs_logmgr.h | |
parent | 9f42d37748264d65ca611b60c22b9c003030b0b3 (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 <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/jfs/jfs_logmgr.h')
0 files changed, 0 insertions, 0 deletions