Skip to content

RFC blk-mq/nvme: use blk_mq_alloc_request() for NVMe's connect request

Ming Lei linux-block linux-nvme 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3block: reuse one scheduler/flush field for private request's datainclude/linux/blkdev.h+5 -10 replies
2/3nvme: don't use blk_mq_alloc_request_hctx() for allocating connect requestdrivers/nvme/host/core.c drivers/nvme/host/fc.c drivers/nvme/host/rdma.c +2 more+127 -150 replies
3/3blk-mq: kill blk_mq_alloc_request_hctx()block/blk-mq.c include/linux/blk-mq.h+0 -490 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RFC 0/3] blk-mq/nvme: use blk_mq_alloc_request() for NVMe's connect request

Hi,

Use blk_mq_alloc_request() for allocating NVMe loop, fc, rdma and tcp's connect request, and selecting transport queue runtime for connect request.

Then kill blk_mq_alloc_request_hctx().

Ming Lei (3):
block: reuse one scheduler/flush field for private request's data
nvme: don't use blk_mq_alloc_request_hctx() for allocating connect
request
blk-mq: kill blk_mq_alloc_request_hctx()

 block/blk-mq.c             | 46 --------------------------------------
 drivers/nvme/host/core.c   |  9 +++-----
 drivers/nvme/host/fc.c     | 10 +++++++++
 drivers/nvme/host/rdma.c   | 40 ++++++++++++++++++++++++++++++---
 drivers/nvme/host/tcp.c    | 41 ++++++++++++++++++++++++++++++---
 drivers/nvme/target/loop.c | 42 +++++++++++++++++++++++++++++++---
 include/linux/blk-mq.h     |  3 ---
 include/linux/blkdev.h     |  6 ++++-
 8 files changed, 132 insertions(+), 65 deletions(-)
Cc James Smart <[email protected]>
Cc Sagi Grimberg <[email protected]>
Signature · 1 line
2.20.1