blk-throttle: Avoid checking bps/iops limitation if bps or iops is unlimited
authorBaolin Wang <baolin.wang@linux.alibaba.com>
Mon, 7 Sep 2020 08:10:17 +0000 (16:10 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 15 Sep 2020 01:36:54 +0000 (19:36 -0600)
commit87fbeb8813bd8d48cb4b5c884793cc6b5126f6b8
treedc09d7b840985a3490853ff2cb91eb7ac1fbe3f4
parent4599ea49d4b00a6fbaab2977e7f8359cfc7e8916
blk-throttle: Avoid checking bps/iops limitation if bps or iops is unlimited

Do not need check the bps or iops limitation if bps or iops is unlimited.

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