aboutsummaryrefslogtreecommitdiff
path: root/lib/test_stackinit.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2020-11-04 09:45:51 +0000
committerDavid Sterba <[email protected]>2020-12-08 15:54:05 +0100
commite50404a8a6997f9c0d412fa21f07a0da8e3891a2 (patch)
tree2a45b09fbbd942b99d2facee1dce5384ef810900 /lib/test_stackinit.c
parent480a8ec83b179da1c484133b0f687090e89b00c5 (diff)
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 <[email protected]> Signed-off-by: Pavel Begunkov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/test_stackinit.c')
0 files changed, 0 insertions, 0 deletions