diff options
author | Baolin Wang <baolin.wang@linux.alibaba.com> | 2020-10-08 06:52:25 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-08 17:01:38 +0300 |
commit | 5b7048b89745c3c5fb4b3080fb7bced61dba2a2b (patch) | |
tree | 42f5930231ace93e1cb02357fecbe6f67fa17593 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b185efa78bf9f13e32f115169e4ab35e68993461 (diff) | |
download | linux-5b7048b89745c3c5fb4b3080fb7bced61dba2a2b.tar.xz |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions