Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1652946

Re: [PATCH 5/7] nvmet: implement namespace identify descriptor list

From Hannes Reinecke <hare@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH 5/7] nvmet: implement namespace identify descriptor list
Date 2017-05-30 10:30 +0200
Message-ID <tMKHo-4SA-17@gated-at.bofh.it> (permalink)
References <tMKo1-4Kd-3@gated-at.bofh.it> <tMKxJ-4OJ-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 05/30/2017 10:08 AM, Johannes Thumshirn wrote:
> A NVMe Identify NS command with a CNS value of '3' is expecting a list
> of Namespace Identification Descriptor structures to be returned to
> the host for the namespace requested in the namespace identify
> command.
> 
> This Namespace Identification Descriptor structure consists of the
> type of the namespace identifier, the length of the identifier and the
> actual identifier.
> 
> Valid types are EUI-64, NGUID and UUID which we have saved in our
> nvme_ns structure if they have been configured via configfs. If no
> value has been assigened to one of these we return an "invalid opcode"
> back to the host to maintain backward compatibiliy with older
> implementations without Namespace Identify Descriptor list support.
> 
> Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
> ---
>  drivers/nvme/target/admin-cmd.c | 75 +++++++++++++++++++++++++++++++++++++++++
>  include/linux/nvme.h            | 14 ++++++++
>  2 files changed, 89 insertions(+)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/7] Implement NVMe Namespace Descriptor Identification Johannes Thumshirn <jthumshirn@suse.de> - 2017-05-30 10:10 +0200
  [PATCH 4/7] nvme: also report include the EUI-64 in identify NS report Johannes Thumshirn <jthumshirn@suse.de> - 2017-05-30 10:10 +0200
    Re: [PATCH 4/7] nvme: also report include the EUI-64 in identify NS  report Hannes Reinecke <hare@suse.de> - 2017-05-30 10:30 +0200
    Re: [PATCH 4/7] nvme: also report include the EUI-64 in identify         NS report Christoph Hellwig <hch@lst.de> - 2017-05-30 11:30 +0200
  [PATCH 7/7] nvme: provide UUID value to userspace Johannes Thumshirn <jthumshirn@suse.de> - 2017-05-30 10:20 +0200
    Re: [PATCH 7/7] nvme: provide UUID value to userspace Christoph Hellwig <hch@lst.de> - 2017-05-30 11:40 +0200
      Re: [PATCH 7/7] nvme: provide UUID value to userspace Johannes Thumshirn <jthumshirn@suse.de> - 2017-05-30 12:30 +0200
  [PATCH 6/7] nvme: get list of namespace descriptors Johannes Thumshirn <jthumshirn@suse.de> - 2017-05-30 10:20 +0200
    Re: [PATCH 6/7] nvme: get list of namespace descriptors Hannes Reinecke <hare@suse.de> - 2017-05-30 10:40 +0200
  [PATCH 5/7] nvmet: implement namespace identify descriptor list Johannes Thumshirn <jthumshirn@suse.de> - 2017-05-30 10:20 +0200
    Re: [PATCH 5/7] nvmet: implement namespace identify descriptor list Hannes Reinecke <hare@suse.de> - 2017-05-30 10:30 +0200
  Re: [PATCH 0/7] Implement NVMe Namespace Descriptor Identification Christoph Hellwig <hch@lst.de> - 2017-05-31 11:50 +0200
    Re: [PATCH 0/7] Implement NVMe Namespace Descriptor Identification Johannes Thumshirn <jthumshirn@suse.de> - 2017-05-31 13:30 +0200

csiph-web