Thread (3 messages) 3 messages, 3 authors, 2023-08-18

Re: [PATCH] blk-cgroup: hold queue_lock when removing blkg->q_node

From: Tejun Heo <tj@kernel.org>
Date: 2023-08-17 16:42:54

On Thu, Aug 17, 2023 at 10:17:51PM +0800, Ming Lei wrote:
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 <redacted>
Cc: xiaoli feng <redacted>
Cc: Chunyu Hu <redacted>
Cc: Mike Snitzer <snitzer@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Ming Lei <redacted>
Acked-by: Tejun Heo <tj@kernel.org>

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help