summaryrefslogtreecommitdiff
path: root/block/blk-mq-sysfs.c
diff options
context:
space:
mode:
authorWang ShaoBo <bobo.shaobowang@huawei.com>2022-11-24 09:58:17 +0800
committerJens Axboe <axboe@kernel.dk>2022-11-24 06:42:22 -0700
commit8692814b77ca4228a99da8a005de0acf40af6132 (patch)
tree89f8393ae60c1d2e084d38af3735e9179f0a9a4d /block/blk-mq-sysfs.c
parent6e7b854e4c1b02dba00760dfa79d8dbf6cce561e (diff)
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: 113fef9e20e0 ("drbd: prepare to queue write requests on a submit worker") Signed-off-by: Wang ShaoBo <bobo.shaobowang@huawei.com> Link: https://lore.kernel.org/r/20221124015817.2729789-3-bobo.shaobowang@huawei.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sysfs.c')
0 files changed, 0 insertions, 0 deletions