linux/drivers/nvme/host
Roland Dreier 0475821e22 nvme-fabrics: Ignore nr_io_queues option for discovery controllers
This removes a dependency on the order options are passed when creating
a fabrics controller.  With the old code, if "nr_io_queues" appears before
an "nqn" option specifying the discovery controller, then nr_io_queues
is overridden with zero.  If "nr_io_queues" appears after specifying the
discovery controller, then the nr_io_queues option is used to set the
number of queues, and the driver attempts to establish IO connections
to the discovery controller (which doesn't work).

It seems better to ignore (and warn about) the "nr_io_queues" option
if userspace has already asked to connect to the discovery controller.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
2018-03-08 09:19:17 -07:00
..
core.c Revert "nvme: create 'slaves' and 'holders' entries for hidden controllers" 2018-03-07 03:22:28 -07:00
fabrics.c nvme-fabrics: Ignore nr_io_queues option for discovery controllers 2018-03-08 09:19:17 -07:00
fabrics.h nvme: rename NVME_CTRL_RECONNECTING state to NVME_CTRL_CONNECTING 2018-02-08 18:35:53 +02:00
fc.c nvme_fc: cleanup io completion 2018-02-11 10:45:43 +02:00
Kconfig nvme: implement multipath access to nvme subsystems 2017-11-10 19:53:25 -07:00
lightnvm.c lightnvm: make geometry structures 2.0 ready 2018-01-05 08:50:12 -07:00
Makefile nvme: add tracepoint for nvme_setup_cmd 2018-01-26 12:34:40 +01:00
multipath.c Revert "nvme: create 'slaves' and 'holders' entries for hidden controllers" 2018-03-07 03:22:28 -07:00
nvme.h Revert "nvme: create 'slaves' and 'holders' entries for hidden controllers" 2018-03-07 03:22:28 -07:00
pci.c nvme: pci: pass max vectors as num_possible_cpus() to pci_alloc_irq_vectors 2018-03-01 09:40:51 -07:00
rdma.c Merge branch 'for-jens' of git://git.infradead.org/nvme into for-linus 2018-02-28 12:18:58 -07: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