aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2021-04-28 13:38:48 -0400
committerDavid Sterba <[email protected]>2021-06-21 15:19:04 +0200
commit385f421f18be653d21ccfd6520fbddf206ad43eb (patch)
tree2e33d920227c00501c5c08af993791ae558b79e7 /tools/perf/scripts/python
parent3e101569973e8c95ba60b5501f8a3caf7754894c (diff)
btrfs: handle preemptive delalloc flushing slightly differently
If we decide to flush delalloc from the preemptive flusher, we really do not want to wait on ordered extents, as it gains us nothing. However there was logic to go ahead and wait on ordered extents if there was more ordered bytes than delalloc bytes. We do not want this behavior, so pass through whether this flushing is for preemption, and do not wait for ordered extents if that's the case. Also break out of the shrink loop after the first flushing, as we just want to one shot shrink delalloc. Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions