Skip to content
Commit 8692814b authored by Wang ShaoBo's avatar Wang ShaoBo Committed by Jens Axboe
Browse files

drbd: destroy workqueue when drbd device was freed



A submitter workqueue is dynamically allocated by init_submitter()
called by drbd_create_device(), we should destroy it when this
device is not needed or destroyed.

Fixes: 113fef9e ("drbd: prepare to queue write requests on a submit worker")
Signed-off-by: default avatarWang ShaoBo <bobo.shaobowang@huawei.com>
Link: https://lore.kernel.org/r/20221124015817.2729789-3-bobo.shaobowang@huawei.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 6e7b854e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment