Skip to content
Commit a2fa8a19 authored by Maciej S. Szmigiero's avatar Maciej S. Szmigiero Committed by Jens Axboe
Browse files

cfq: clear queue pointers from cfqg after unpinning them in cfq_pd_offline



BFQ is already doing a similar thing in its .pd_offline_fn() method
implementation.

While it seems that after commit 4c699480
("blk-throttle: fix race between blkcg_bio_issue_check() and cgroup_rmdir()")
was reverted leaving these pointers intact no longer causes crashes
clearing them is still a sensible thing to do to make the code more robust.

Signed-off-by: default avatarMaciej S. Szmigiero <mail@maciej.szmigiero.name>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4822e902
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment