linux_dsm_epyc7002/drivers/nvme/host
James Smart c26aa57202 nvme: Treat discovery subsystems as unique subsystems
Current code matches subnqn and collapses all controllers to the
same subnqn to a single subsystem structure. This is good for
recognizing multiple controllers for the same subsystem. But with
the well-known discovery subnqn, the subsystems aren't truly the
same subsystem. As such, subsystem specific rules, such as no
overlap of controller id, do not apply. With today's behavior, the
check for overlap of controller id can fail, preventing the new
discovery controller from being created.

When searching for like subsystem nqn, exclude the discovery nqn
from matching. This will result in each discovery controller being
attached to a unique subsystem structure.

Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
2019-09-12 08:50:45 -07:00
..
core.c nvme: Treat discovery subsystems as unique subsystems 2019-09-12 08:50:45 -07:00
fabrics.c nvme: make fabrics command run on a separate request queue 2019-08-29 12:55:03 -07:00
fabrics.h nvme-fabrics: Add type of service (TOS) configuration 2019-08-29 12:55:01 -07:00
fault_inject.c nvme: enable to inject errors into admin commands 2019-06-21 11:15:50 +02:00
fc.c nvme-fc: Fail transport errors with NVME_SC_HOST_PATH 2019-09-12 08:50:45 -07:00
Kconfig nvme: tcp: selects CRYPTO_CRC32C for nvme-tcp 2019-08-29 12:55:01 -07:00
lightnvm.c lightnvm: move metadata mapping to lower level driver 2019-08-06 08:20:10 -06:00
Makefile nvme-tcp: add NVMe over TCP host driver 2018-12-13 09:58:58 +01:00
multipath.c nvme-multipath: fix ana log nsid lookup when nsid is not found 2019-08-29 12:55:02 -07:00
nvme.h nvme: make fabrics command run on a separate request queue 2019-08-29 12:55:03 -07:00
pci.c nvme-pci: Tidy up nvme_unmap_data 2019-08-29 12:55:03 -07:00
rdma.c nvme-rdma: Use rq_dma_dir macro 2019-08-29 12:55:03 -07:00
tcp.c nvme-tcp: fail command with NVME_SC_HOST_PATH_ERROR send failed 2019-09-12 08:50:45 -07:00
trace.c nvme: trace: parse Get LBA Status command in detail 2019-08-29 12:55:01 -07:00
trace.h nvme-trace: print result and status in hex format 2019-06-21 11:12:37 +02:00