commit | 8b37bc277fb459fa100808880a9d4e0641fff444 | [log] [tgz] |
---|---|---|
author | Jiufei Xue <jiufei.xue@linux.alibaba.com> | Wed Nov 13 15:21:31 2019 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Nov 14 13:56:54 2019 -0700 |
tree | a337c969b8cb7c4229696f00000e32235316dde7 | |
parent | 478de3380c1c7dbb0f65f545ee0185848413f3fe [diff] |
iocost: check active_list of all the ancestors in iocg_activate() There is a bug that checking the same active_list over and over again in iocg_activate(). The intention of the code was checking whether all the ancestors and self have already been activated. So fix it. Fixes: 7caa47151ab2 ("blkcg: implement blk-iocost") Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jiufei Xue <jiufei.xue@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>