diff options
author | Baolin Wang <baolin.wang@linux.alibaba.com> | 2020-10-08 11:52:25 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-08 08:01:38 -0600 |
commit | 5b7048b89745c3c5fb4b3080fb7bced61dba2a2b (patch) | |
tree | 42f5930231ace93e1cb02357fecbe6f67fa17593 /kernel/uid16.h | |
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>
Diffstat (limited to 'kernel/uid16.h')
0 files changed, 0 insertions, 0 deletions