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@xxxxxx> > --- > 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@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +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)