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

Hannes Reinecke hare at suse.de
Tue Jun 23 02:23:51 EDT 2020


On 6/22/20 6:25 PM, Keith Busch wrote:
> From: Keith Busch <keith.busch at wdc.com>
> 
> 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 at oracle.com>
> Signed-off-by: Hans Holmberg <hans.holmberg at wdc.com>
> Signed-off-by: Dmitry Fomichev <dmitry.fomichev at wdc.com>
> Signed-off-by: Ajay Joshi <ajay.joshi at wdc.com>
> Signed-off-by: Aravind Ramesh <aravind.ramesh at wdc.com>
> Signed-off-by: Niklas Cassel <niklas.cassel at wdc.com>
> Signed-off-by: Matias Bjørling <matias.bjorling at wdc.com>
> Signed-off-by: Damien Le Moal <damien.lemoal at wdc.com>
> Signed-off-by: Keith Busch <keith.busch at wdc.com>
> ---
>   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 at suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke            Teamlead Storage & Networking
hare at 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



More information about the Linux-nvme mailing list