If perf is connecting to a subsystem with listeners of different transport types (e.g. TCP and RDMA) and the user request a specific trtype via CLI (e.g. TCP), discovery process will call probe_cb for every transport type. As result, probe_cb in perf will return `true` and undesired controllers will be created and used in IO path. This patch adds a check for trtype and trstring to ignore controllers that are not of a requested type. Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Change-Id: Id87afd03c7b38edfbbfecb5ad2239fe3e9ac9f83 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8465 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
interrupt_tgt | ||
ioat | ||
nvme | ||
nvmf | ||
sock | ||
util | ||
vmd | ||
Makefile |