diff options
author | 2021-04-28 13:38:44 -0400 | |
---|---|---|
committer | 2021-06-21 15:19:04 +0200 | |
commit | 610a6ef44ea83ef1c1e10b8270bbd157fbde3181 (patch) | |
tree | 82bf6343b8070932618d91e579360fdf1d6014e8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: only clamp the first time we have to start flushing (diff) | |
download | linux-dev-610a6ef44ea83ef1c1e10b8270bbd157fbde3181.tar.xz linux-dev-610a6ef44ea83ef1c1e10b8270bbd157fbde3181.zip |
btrfs: take into account global rsv in need_preemptive_reclaim
Global rsv can't be used for normal allocations, and for very full file
systems we can decide to try and async flush constantly even though
there's really not a lot of space to reclaim. Deal with this by
including the global block rsv size in the "total used" calculation.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions