summaryrefslogtreecommitdiffstats
path: root/block/partition-generic.c
diff options
context:
space:
mode:
authorShaohua Li <shli@fb.com>2017-05-17 13:07:27 -0700
committerJens Axboe <axboe@fb.com>2017-05-22 14:47:12 -0600
commitb4f428ef2844e9fa8154f2faaca249aa74e222a7 (patch)
treee9e7bc1bc5ca0ec95caac8e6d4bd909afe5f3b1c /block/partition-generic.c
parent9bb67aeb96784527dbc784c7a1b234461299363c (diff)
downloadlinux-0-day-b4f428ef2844e9fa8154f2faaca249aa74e222a7.tar.gz
linux-0-day-b4f428ef2844e9fa8154f2faaca249aa74e222a7.tar.xz
blk-throttle: force user to configure all settings for io.low
Default value of io.low limit is 0. If user doesn't configure the limit, last patch makes cgroup be throttled to very tiny bps/iops, which could stall the system. A cgroup with default settings of io.low limit really means nothing, so we force user to configure all settings, otherwise io.low limit doesn't take effect. With this stragety, default setting of latency/idle isn't important, so just set them to very conservative and safe value. 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 'block/partition-generic.c')
0 files changed, 0 insertions, 0 deletions