diff options
author | Dennis Zhou <dennis@kernel.org> | 2020-01-02 16:26:36 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-01-20 16:40:59 +0100 |
commit | e93591bb6ecf3e31c8f5366eac143f4f9c270915 (patch) | |
tree | dd3e9c2036d245f32a79924f0bb496d3765beef9 /fs/btrfs/discard.h | |
parent | a2309300841207de28307ecd2f0e031fccde37a3 (diff) | |
download | linux-next-e93591bb6ecf3e31c8f5366eac143f4f9c270915.tar.gz |
btrfs: add kbps discard rate limit for async discard
Provide the ability to rate limit based on kbps in addition to iops as
additional guides for the target discard rate. The delay used ends up
being max(kbps_delay, iops_delay).
Signed-off-by: Dennis Zhou <dennis@kernel.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/discard.h')
0 files changed, 0 insertions, 0 deletions