]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
blk-throttle: Avoid tracking latency if low limit is invalid
authorBaolin Wang <baolin.wang@linux.alibaba.com>
Thu, 8 Oct 2020 03:52:24 +0000 (11:52 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Oct 2020 14:01:37 +0000 (08:01 -0600)
commitb185efa78bf9f13e32f115169e4ab35e68993461
tree2105d757567545656425bcbba626810ac496c734
parent7901601aef35082d8431d05ab50a3567f7624b55
blk-throttle: Avoid tracking latency if low limit is invalid

The IO latency tracking is only for LOW limit, so we should add a
validation to avoid redundant latency tracking if the LOW limit
is not valid.

Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c