Skip to content

NVMe: Introduce CMB allocation scheme

Keith Busch linux-nvme 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] NVMe: Introduce CMB allocation scheme
Quoted 7 lines · Jon Derrick

Applies to Jens' for-4.5/nvme

This patchset changes the CMB allocation scheme. Instead of reserving the entire range for SQes and automatically placing the SQes in the CMB, this set creates sysfs knobs to manage it. This allows partial usage of the CMB for SQes, so that the remainder can be mmapped or used for other NVMe-defined CMB usages.

Thanks, Jon.

In general, I like the control and visibility this provides. With this, I think we're on the verge of warranting a new drivers/nvme/host/sysfs.c file to keep all the nvme sysfs management in one place.

I don't think anyone is in a rush to see this in the 4.5 merge window, so I'll load this on a CMB capable machine and provide a more thorough review in the next week or so.

Quoted 13 lines

Jon Derrick (3):
NVMe: Introduce sysfs entries for submission queues in CMB
NVMe: Generate resource tree for CMB
NVMe: Create CMB resource sysfs file

 drivers/nvme/host/core.c | 161 ++++++++++++++++++++++++++++++++++-
 drivers/nvme/host/nvme.h |  21 +++++
 drivers/nvme/host/pci.c  | 212 ++++++++++++++++++++++++++++++-----------------
 3 files changed, 313 insertions(+), 81 deletions(-)
Signature · 1 line
2.1.4