Spdk/lib/nvme
Lance Hartmann 0891f506fc nvme: Silently ignore ns key in transport id string
spdk_nvme_transport_id_parse() does not recognize the
namespace id, "ns", key as part of the transport id string
and thus logs an error message, but does not fail the call.
However, some SPDK applications, e.g. nvme/perf, in addition
to using spdk_nvme_transport_id_parse() also check for the
existence of a "ns" key in the transport id string to limit
the target to a specific namespace.  This commit adds a
special case to spdk_nvme_transport_id_parse() to silently
ignore the presence of a "ns" key without logging it as an
error.

Change-Id: I49732b4d1b0227a38bb308eab1f6324dd241a2de
Signed-off-by: Lance Hartmann <lance.hartmann@oracle.com>
Reviewed-on: https://review.gerrithub.io/435192
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-12-03 19:50:07 +00:00
..
Makefile nvme: Add the NVMe over fabrics TCP/IP transport support 2018-11-19 20:36:05 +00:00
nvme_ctrlr_cmd.c NVMe: Add support for security send/receive command 2018-09-29 03:13:55 +00:00
nvme_ctrlr_ocssd_cmd.c nvme: unlock mutex on failure 2018-11-26 07:06:42 +00:00
nvme_ctrlr.c nvme: fix pci device leak when detaching a controller in primary process 2018-11-30 16:25:16 +00:00
nvme_fabric.c nvme/rdma: factor out Connect command 2018-06-27 22:59:18 +00:00
nvme_internal.h nvme: Add the NVMe over fabrics TCP/IP transport support 2018-11-19 20:36:05 +00:00
nvme_ns_cmd.c nvme: printf info after error 2018-09-18 22:40:34 +00:00
nvme_ns_ocssd_cmd.c ocssd: add chunk notification log struct 2018-09-27 01:30:45 +00:00
nvme_ns.c nvme: make identify NS id descriptors can be executed asynchronously 2018-10-15 17:57:56 +00:00
nvme_pcie.c nvme/pcie: don't allow constructing a controller from secondary process 2018-11-30 16:25:16 +00:00
nvme_qpair.c nvme: printf info after error 2018-09-18 22:40:34 +00:00
nvme_quirks.c nvme: add quirk for Intel SSDs without vendor-specific log pages 2018-08-27 14:58:48 +00:00
nvme_rdma.c nvme_rdma/nvmf: add cb_fns to check mr contiguity 2018-11-29 15:16:13 +00:00
nvme_tcp.c nvme/tcp: disable the digest by default. 2018-11-29 05:02:32 +00:00
nvme_transport.c nvme: Add the NVMe over fabrics TCP/IP transport support 2018-11-19 20:36:05 +00:00
nvme_uevent.c util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c nvme: Silently ignore ns key in transport id string 2018-12-03 19:50:07 +00:00