diff options
author | Roland Dreier <[email protected]> | 2018-03-05 11:59:53 -0800 |
---|---|---|
committer | Keith Busch <[email protected]> | 2018-03-08 09:19:17 -0700 |
commit | 0475821e229cfd9954b7501113d1acbc57b68689 (patch) | |
tree | fdf813d8b60669383cff0a9e92752ea91e763552 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8a30ecc6e0ecbb9ae95daf499b2680b885ed0349 (diff) |
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 <[email protected]>
Reviewed-by: James Smart <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions