Thread (38 messages) 38 messages, 8 authors, 2020-06-29

Re: [PATCHv3 5/5] nvme: support for zoned namespaces

From: Hannes Reinecke <hare@suse.de>
Date: 2020-06-23 06:23:57

On 6/22/20 6:25 PM, Keith Busch wrote:
From: Keith Busch <redacted>

Add support for NVM Express Zoned Namespaces (ZNS) Command Set defined
in NVM Express TP4053. Zoned namespaces are discovered based on their
Command Set Identifier reported in the namespaces Namespace
Identification Descriptor list. A successfully discovered Zoned
Namespace will be registered with the block layer as a host managed
zoned block device with Zone Append command support. A namespace that
does not support append is not supported by the driver.

Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Hans Holmberg <redacted>
Signed-off-by: Dmitry Fomichev <redacted>
Signed-off-by: Ajay Joshi <redacted>
Signed-off-by: Aravind Ramesh <redacted>
Signed-off-by: Niklas Cassel <redacted>
Signed-off-by: Matias Bjørling <redacted>
Signed-off-by: Damien Le Moal <redacted>
Signed-off-by: Keith Busch <redacted>
---
  block/Kconfig              |   5 +-
  drivers/nvme/host/Makefile |   1 +
  drivers/nvme/host/core.c   |  91 ++++++++++++--
  drivers/nvme/host/nvme.h   |  39 ++++++
  drivers/nvme/host/zns.c    | 245 +++++++++++++++++++++++++++++++++++++
  include/linux/nvme.h       | 114 ++++++++++++++++-
  6 files changed, 480 insertions(+), 15 deletions(-)
  create mode 100644 drivers/nvme/host/zns.c
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke            Teamlead Storage & Networking
hare@suse.de                               +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help