aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-11-04 09:45:51 +0000
committerDavid Sterba <dsterba@suse.com>2020-12-08 15:54:05 +0100
commite50404a8a6997f9c0d412fa21f07a0da8e3891a2 (patch)
tree2a45b09fbbd942b99d2facee1dce5384ef810900 /tools/perf/scripts/python/bin
parentbtrfs: scrub: refactor scrub_find_csum() (diff)
downloadlinux-e50404a8a6997f9c0d412fa21f07a0da8e3891a2.tar.gz
linux-e50404a8a6997f9c0d412fa21f07a0da8e3891a2.zip
btrfs: discard: speed up async discard up to iops_limit
Instead of using iops_limit only for cutting off extremes, calculate the discard delay directly from it, so it closely follows iops_limit and doesn't under-discard even though quotas are not saturated. The iops limit could be hit more often in some cases and could increase the discard rate. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions