aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2018-11-21 14:03:11 -0500
committerDavid Sterba <[email protected]>2019-02-25 14:13:35 +0100
commit5df1136363cabc4d3f92fc91e3f92bd6a5eebd27 (patch)
tree8d58ce9b0e740b3695f20b0a217ebf935f6d97ee /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
parentf91587e4151e84f798f37839dddd3e4152fb4c76 (diff)
btrfs: loop in inode_rsv_refill
With severe fragmentation we can end up with our inode rsv size being huge during writeout, which would cause us to need to make very large metadata reservations. However we may not actually need that much once writeout is complete, because of the over-reservation for the worst case. So instead try to make our reservation, and if we couldn't make it re-calculate our new reservation size and try again. If our reservation size doesn't change between tries then we know we are actually out of space and can error. Flushing that could have been running in parallel did not make any space. Signed-off-by: Josef Bacik <[email protected]> [ rename to calc_refill_bytes, update comment and changelog ] Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions