Changes in V3: - grab q_usage_counter in blkg_conf_prep() instead of introducing a new mutex. Changes in V2: - rename the patch title - instead of checking policy in blkg_create(), using a new solution. Yu Kuai (2): blk-cgroup: don't call blk_mq_freeze_queue() in blkcg_deactivate_policy() blk-cgroup: synchoronize blkg creation against policy deactivation block/blk-cgroup.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) -- 2.31.1