+12
−0
Loading
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>