commit | 5b7048b89745c3c5fb4b3080fb7bced61dba2a2b | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linux.alibaba.com> | Thu Oct 08 11:52:25 2020 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Oct 08 08:01:38 2020 -0600 |
tree | 42f5930231ace93e1cb02357fecbe6f67fa17593 | |
parent | b185efa78bf9f13e32f115169e4ab35e68993461 [diff] |
blk-throttle: Fix IO hang for a corner case It can not scale up in throtl_adjusted_limit() if we set bps or iops is 1, which will cause IO hang when enable low limit. Thus we should treat 1 as a illegal value to avoid this issue. Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>