Skip to content
Commit 8b37bc27 authored by Jiufei Xue's avatar Jiufei Xue Committed by Jens Axboe
Browse files

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: 7caa4715

 ("blkcg: implement blk-iocost")
Acked-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarJiufei Xue <jiufei.xue@linux.alibaba.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 478de338
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment