Skip to content

NVMe 1.4 Identify Namespace Support

Bart Van Assche linux-nvme 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 0 repliesNew
  2. v43 patches 0 repliesSuperseded
  3. v3 posting 2/20 of 3 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 posting 1/23 patches0 repliesSuperseded
v23 patches0 repliesSuperseded
v12 patches0 repliesSuperseded

Changes in v5 from the cover letter

- Left out the empty file I/O backend function nvmet_file_set_limits().
- Left out the reference to NVMe 1.4 in a nvmet_bdev_set_limits() comment.
- Moved the nvmet_file_set_limits() function into the nvmet.h header file.
- In the initiator code, only use the NAWUPF / AWUPF value if NABO == 0.
- Fixed an endianness issue in the initiator code.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nvme: Introduce NVMe 1.4 Identify Namespace fields in struct nvme_id_nsinclude/linux/nvme.h+9 -31 reply
2/3nvmet: Export NVMe namespace attributesdrivers/nvme/target/admin-cmd.c drivers/nvme/target/io-cmd-bdev.c drivers/nvme/target/nvmet.h+50 -02 replies
3/3nvme: Set physical block size and optimal I/O size according to NVMe 1.4drivers/nvme/host/core.c drivers/nvme/host/nvme.h+33 -21 reply

Reviews trailers per patch

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

Read the v5 thread

Cover letter [PATCH v5 0/3] NVMe 1.4 Identify Namespace Support

Hi Christoph,

This patch series adds support for several of the new parameters introduced in the NVMe 1.4 Identify Namespace command. Please consider these patches for kernel version 5.3.

Thanks,

Bart.

Changes compared to v4:
- Left out the empty file I/O backend function nvmet_file_set_limits().
- Left out the reference to NVMe 1.4 in a nvmet_bdev_set_limits() comment.
- Moved the nvmet_file_set_limits() function into the nvmet.h header file.
- In the initiator code, only use the NAWUPF / AWUPF value if NABO == 0.
- Fixed an endianness issue in the initiator code.

Changes compared to v3:
- In the file backend code, do not set any of the namespace atomic properties.

Changes compared to v2:
- In the initiator, use AWUPF instead NAWUPF if NAWUPF == 0.

Changes compared to v1:
- Added a patch for the NVMe target code that exports these parameters.
- Limited the physical block size to the value of AWUPF/NAWUPF as appropriate.

Bart Van Assche (3):
nvme: Introduce NVMe 1.4 Identify Namespace fields in struct
nvme_id_ns
nvmet: Export NVMe namespace attributes
nvme: Set physical block size and optimal I/O size according to NVMe

    1.4

Bart Van Assche (3):
nvme: Introduce NVMe 1.4 Identify Namespace fields in struct
nvme_id_ns
nvmet: Export NVMe namespace attributes
nvme: Set physical block size and optimal I/O size according to NVMe

    1.4
 drivers/nvme/host/core.c          | 34 +++++++++++++++++++++++++--
 drivers/nvme/host/nvme.h          |  1 +
 drivers/nvme/target/admin-cmd.c   |  3 +++
 drivers/nvme/target/io-cmd-bdev.c | 39 +++++++++++++++++++++++++++++++
 drivers/nvme/target/nvmet.h       |  8 +++++++
 include/linux/nvme.h              | 12 +++++++---
 6 files changed, 92 insertions(+), 5 deletions(-)
Signature · 1 line
2.22.0.410.gd8fdbe21b5-goog