Skip to content

nvme support for zoned namespace command set

Keith Busch linux-block linux-nvme 3 versions – Applied

Status from this message: applied to nvme-5.9.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 7 repliesApplied
  2. v35 patches 32 repliesSuperseded
  3. v25 patches 11 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5block: add capacity field to zone descriptorsblock/blk-zoned.c drivers/block/null_blk_zoned.c drivers/scsi/sd_zbc.c +1 more+17 -21 reply
2/5null_blk: introduce zone capacity for zoned devicedrivers/block/null_blk.h drivers/block/null_blk_main.c drivers/block/null_blk_zoned.c+24 -31 reply
3/5nvme: implement I/O Command Sets Command Set supportdrivers/nvme/host/core.c drivers/nvme/host/nvme.h include/linux/nvme.h+61 -122 replies
4/5nvme: support for multi-command set effectsdrivers/nvme/host/core.c drivers/nvme/host/hwmon.c drivers/nvme/host/lightnvm.c +3 more+76 -251 reply
5/5nvme: support for zoned namespacesblock/Kconfig drivers/nvme/host/Makefile drivers/nvme/host/core.c +3 more+491 -151 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJens AxboeChaitanya KulkarniJavier GonzálezDaniel WagnerJohannes ThumshirnMartin K. PetersenHannes ReineckeMatias BjørlingSagi GrimbergHimanshu Madhani
1/5R-b R-b R-b R-b R-b R-b R-b R-b
2/5R-b R-b R-b R-b R-b R-b R-b
3/5R-b R-b R-b R-b R-b R-b
4/5R-b R-b R-b R-b R-b R-b R-b
5/5R-b R-b R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 10 reviewers.

Read the v4 thread

Cover letter [PATCHv4 0/5] nvme support for zoned namespace command set

Changes since v3:

Replaced older ID controller definition with the updated one from the ratified spec (zamds -> zasl).

Verify power of 2 zone size (internal test)

Check for valid capacity for report zones; a namespace deletion event sets the capacity to 0. If zone revalidation happens around the same time, we'd not fill in any zones and hit a BUG() later in the blk_zone_revalidate_disk_zones(). (internal testing)

Fixup for identify namespace descriptors to hide retryable errors (Sagi, Nikals; requires a currently unincorporated patch from Sagi)

Removed unnecessary __GFP_ZERO (Johannes)

Endian conversion typo (Johannes)

Added warnings when a zoned namespace can't be added (Klaus, Matias)

Added received reviews

Background:

The NVM Express workgroup has ratified technical proposals enabling new command sets. The specifications may be viewed from the following link:

https://nvmexpress.org/wp-content/uploads/NVM-Express-1.4-Ratified-TPs.zip

This series implements support for the Zoned Namespace (ZNS) Command Set defined in TP4053, and the Namespace Types base support it depends on from TP4056. As this series depends on the block layer's append support infrastructure, append-capable ZNS devices are required for this patch sets enabling.

The block layer is updated to include the new zone writeable capacity feature from ZNS, and existing zone block device drivers are updated to incorporate this feature.

Aravind Ramesh (1):
null_blk: introduce zone capacity for zoned device

Keith Busch (2):
nvme: support for multi-command set effects
nvme: support for zoned namespaces

Matias Bjørling (1):
block: add capacity field to zone descriptors

Niklas Cassel (1):
nvme: implement I/O Command Sets Command Set support

 block/Kconfig                  |   5 +-
 block/blk-zoned.c              |   1 +
 drivers/block/null_blk.h       |   1 +
 drivers/block/null_blk_main.c  |  10 +-
 drivers/block/null_blk_zoned.c |  16 ++-
 drivers/nvme/host/Makefile     |   1 +
 drivers/nvme/host/core.c       | 227 +++++++++++++++++++++++------
 drivers/nvme/host/hwmon.c      |   2 +-
 drivers/nvme/host/lightnvm.c   |   4 +-
 drivers/nvme/host/multipath.c  |   2 +-
 drivers/nvme/host/nvme.h       |  50 ++++++-
 drivers/nvme/host/zns.c        | 253 +++++++++++++++++++++++++++++++++
 drivers/scsi/sd_zbc.c          |   1 +
 include/linux/nvme.h           | 134 ++++++++++++++++-
 include/uapi/linux/blkzoned.h  |  15 +-
 15 files changed, 667 insertions(+), 55 deletions(-)
 create mode 100644 drivers/nvme/host/zns.c
Signature · 7 lines
2.24.1


_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme