Skip to content

block: blk-mq: support blk_cleanup_queue on mq

Ming Lei lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4block: blk-mq: support draining mq queueblock/blk-core.c block/blk-mq.c block/blk-mq.h+31 -75 replies
2/4block: blk-mq: make blk_sync_queue support mqblock/blk-core.c block/blk-mq.c+10 -22 replies
3/4block: null_blk: fix queue leak inside removing devicedrivers/block/null_blk.c+2 -81 reply
4/4block: blk-mq: don't export blk_mq_free_queue()block/blk-mq.c block/blk-mq.h block/blk-sysfs.c +1 more+2 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] block: blk-mq: support blk_cleanup_queue on mq

Hi,

The first 2 patches support drain/sync mq queue in blk_cleanup_queue.

The 3rd patch calls blk_cleanup_queue() in removing device path to fix queue leak problem.

The 4th patch doesn't export blk_mq_free_queue() because the function is called in release handler of queue kobject, and drivers needn't to call it.

Thanks,
--
Ming Lei