diff options
author | Ming Lei <ming.lei@redhat.com> | 2023-08-17 22:17:51 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-08-18 15:00:39 -0600 |
commit | c164c7bc9775be7bcc68754bb3431fce5823822e (patch) | |
tree | cc6fd414ca4c5b6b912b9b645b3c208508e7f545 /scripts/rustdoc_test_builder.rs | |
parent | 6548fce05803262ab43241b61dee3e2982486e4b (diff) |
blk-cgroup: hold queue_lock when removing blkg->q_node
When blkg is removed from q->blkg_list from blkg_free_workfn(), queue_lock
has to be held, otherwise, all kinds of bugs(list corruption, hard lockup,
..) can be triggered from blkg_destroy_all().
Fixes: f1c006f1c685 ("blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn() and blkcg_deactivate_policy()")
Cc: Yu Kuai <yukuai3@huawei.com>
Cc: xiaoli feng <xifeng@redhat.com>
Cc: Chunyu Hu <chuhu@redhat.com>
Cc: Mike Snitzer <snitzer@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20230817141751.1128970-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions