[PATCH 13/17] nvme: track subsystems

Hannes Reinecke hare at suse.de
Tue Oct 24 00:33:26 PDT 2017


On 10/23/2017 04:51 PM, Christoph Hellwig wrote:
> This adds a new nvme_subsystem structure so that we can track multiple
> controllers that belong to a single subsystem.  For now we only use it
> to store the NQN, and to check that we don't have duplicate NQNs unless
> the involved subsystems support multiple controllers.
> 
> Includes code originally from Hannes Reinecke to expose the subsystems
> in sysfs.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
>  drivers/nvme/host/core.c    | 200 +++++++++++++++++++++++++++++++++++++-------
>  drivers/nvme/host/fabrics.c |   4 +-
>  drivers/nvme/host/nvme.h    |  26 ++++--
>  3 files changed, 194 insertions(+), 36 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare at suse.com>

Cheers,

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



More information about the Linux-nvme mailing list