summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-05-17 13:07:26 -0700
committerJens Axboe <axboe@fb.com>2017-05-22 14:47:12 -0600
commit9bb67aeb96784527dbc784c7a1b234461299363c (patch)
treee2146e228a7a161b463429ff1f4723c985db19ce /lib
parent4cff729f62d1bd433178f1ffe09db5718835e925 (diff)
blk-throttle: respect 0 bps/iops settings for io.low
If a cgroup with low limit 0 for both bps/iops, the cgroup's low limit is ignored and we throttle the cgroup with its max limit. In this way, other cgroups with a low limit will not get protected. To fix this, we don't do the exception any more. cgroup will be throttled to a limit 0 if it uese default setting. To avoid completed stall, we give such cgroup tiny IO resources. Signed-off-by: Shaohua Li <shli@fb.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions