Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 113fef9 ("drbd: prepare to queue write requests on a submit worker") Signed-off-by: Wang ShaoBo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information