diff --git a/block/blk-throttle.c b/block/blk-throttle.c index caee658609d7385937bf7d08d4258aec70346692..506a59f1000f9f49db0ad8cba5da8e7e265efed2 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; }