On Sat 16-04-22 17:37:50, Yu Kuai wrote:Hi,
Weight-raised queue is not inserted to weights_tree, which makes it
impossible to track how many queues have pending requests through
weights_tree insertion and removel. This patch add fake weight_counter
for weight-raised queue to do that.
Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx>
This is a bit hacky. I was looking into a better place where to hook to
count entities in a bfq_group with requests and I think bfq_add_bfqq_busy()
and bfq_del_bfqq_busy() are ideal for this. It also makes better sense
conceptually than hooking into weights tree handling.
Other than this the rest of the series looks fine to me.