diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 01d0620a4e4a5e829c9de5c2dec0ac5e0b2b3ab3..717c33481f7dbdac9d65514d88006f4c20527953 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -535,7 +535,9 @@ static void throtl_pd_init(struct blkg_policy_data *pd) * regardless of the position of the group in the hierarchy. */ sq->parent_sq = &td->service_queue; - if (cgroup_subsys_on_dfl(io_cgrp_subsys) && blkg->parent) + + /* Enable hierarchical throttling even on traditional hierarchy */ + if (blkg->parent) sq->parent_sq = &blkg_to_tg(blkg->parent)->service_queue; tg->td = td; }