linux/drivers/nvme/host
Keith Busch a785dbccd9 nvme/multipath: Fix multipath disabled naming collisions
When CONFIG_NVME_MULTIPATH is set, but we're not using nvme to multipath,
namespaces with multiple paths were not creating unique names due to
reusing the same instance number from the namespace's head.

This patch fixes this by falling back to the non-multipath naming method
when the parameter disabled using multipath.

Reported-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-05-03 09:37:50 -06:00
..
core.c nvme/multipath: Fix multipath disabled naming collisions 2018-05-03 09:37:50 -06:00
fabrics.c nvme: fix potential memory leak in option parsing 2018-05-03 09:37:50 -06:00
fabrics.h nvme: expand nvmf_check_if_ready checks 2018-04-12 09:58:27 -06:00
fault_inject.c nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
fc.c nvme: expand nvmf_check_if_ready checks 2018-04-12 09:58:27 -06:00
Kconfig nvme: implement multipath access to nvme subsystems 2017-11-10 19:53:25 -07:00
lightnvm.c lightnvm: remove function name in strings 2018-03-29 17:29:09 -06:00
Makefile nvme: Add fault injection feature 2018-03-26 08:53:43 -06:00
multipath.c nvme/multipath: Fix multipath disabled naming collisions 2018-05-03 09:37:50 -06:00
nvme.h nvme/multipath: Fix multipath disabled naming collisions 2018-05-03 09:37:50 -06:00
pci.c nvme-pci: Separate IO and admin queue IRQ vectors 2018-04-12 09:58:27 -06:00
rdma.c nvme: expand nvmf_check_if_ready checks 2018-04-12 09:58:27 -06:00
trace.c nvme: add tracepoint for nvme_setup_cmd 2018-01-26 12:34:40 +01:00
trace.h nvme: add tracepoint for nvme_complete_rq 2018-01-26 12:34:40 +01:00