Block: blk-throttle: set low_valid immediately once one cgroup has io.low configured
authorLiu Bo <bo.liu@linux.alibaba.com>
Fri, 29 Jun 2018 01:56:56 +0000 (09:56 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:52 +0000 (09:07 -0600)
commit43ada78781246cb36036f26158a645c17550ac54
treead75c7e5855b6f756c8ff84b0ac71d6fbd4f6438
parente1a413245a564683697a3d02ec197b72cf009b89
Block: blk-throttle: set low_valid immediately once one cgroup has io.low configured

Once one cgroup has io.low configured, @low_valid becomes true and other
cgroups won't switch it back whatsoever.

Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c