diff options
| author | Ming Lei <[email protected]> | 2023-08-17 14:17:51 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-08-18 21:00:39 +0000 |
| commit | c164c7bc9775be7bcc68754bb3431fce5823822e (patch) | |
| tree | cc6fd414ca4c5b6b912b9b645b3c208508e7f545 /tools/perf/scripts/python | |
| parent | drivers/rnbd: restore sysfs interface to rnbd-client (diff) | |
| download | kernel-c164c7bc9775be7bcc68754bb3431fce5823822e.tar.gz kernel-c164c7bc9775be7bcc68754bb3431fce5823822e.zip | |
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 <[email protected]>
Cc: xiaoli feng <[email protected]>
Cc: Chunyu Hu <[email protected]>
Cc: Mike Snitzer <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
