Skip to content

NVMe: Introduce CMB allocation scheme

Jon Derrick linux-nvme 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v10 of 3 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3blk-mq: helper to reduce queue depth on all hardware contextsblock/blk-mq.c include/linux/blk-mq.h+21 -00 replies
2/3NVMe: Introduce sysfs entries for submission queues in CMBdrivers/nvme/host/core.c drivers/nvme/host/nvme.h drivers/nvme/host/pci.c+292 -670 replies
3/3NVMe: Generate resource tree for CMBdrivers/nvme/host/core.c drivers/nvme/host/nvme.h drivers/nvme/host/pci.c+48 -330 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [Patchv2 0/3] NVMe: Introduce CMB allocation scheme

This set is a continuation of v1 introduced in December [1]. v1 was missing the controls to reduce the queue depth, and so would allow tags to be issued above the depth of the CMB allocated queues.

v2 drops patch 3 of v1 which created a cmb_resources file with a layout similar to the pci_dev resource file.

This set was tested with QEMU with NVMe device emulation [2]

Applies to Jen's for-4.6/drivers [3]

[1] http://lists.infradead.org/pipermail/linux-nvme/2015-December/003510.html
[2] git://git.infradead.org/users/kbusch/qemu-nvme.git
[3] https://git.kernel.org/cgit/linux/kernel/git/axboe/linux-block.git/log/?h=for-4.6/drivers

Jon Derrick (3):
blk-mq: helper to reduce queue depth on all hardware contexts
NVMe: Introduce sysfs entries for submission queues in CMB
NVMe: Generate resource tree for CMB

 block/blk-mq.c           |  20 ++++
 drivers/nvme/host/core.c | 136 ++++++++++++++++++++++++++-
 drivers/nvme/host/nvme.h |  22 +++++
 drivers/nvme/host/pci.c  | 238 ++++++++++++++++++++++++++++++++---------------
 include/linux/blk-mq.h   |   1 +
 5 files changed, 339 insertions(+), 78 deletions(-)
Signature · 1 line
2.1.4