c777cfa700
if ctrlr->listener was NULL, nvmf_ctrlr_get_ana_state() returned inaccessible even if ana_reporting was disabled. Then the corresponding initiator received unexpected ANA error and could not process it appropriately. Change nvmf_ctrlr_get_ana_state() to return optimized always if ana_reporting is disabled. Additionally, check if ctrlr->listener is not NULL before calling SPDK_DTRACE_PROBE3(). Fixes #2335 Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Ib2376694cf89d85ec5687fba7e87439f494f30b0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11402 Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
ctrlr_bdev.c | ||
ctrlr_discovery.c | ||
ctrlr.c | ||
fc_ls.c | ||
fc.c | ||
Makefile | ||
nvmf_fc.h | ||
nvmf_internal.h | ||
nvmf_rpc.c | ||
nvmf.c | ||
rdma.c | ||
spdk_nvmf.map | ||
subsystem.c | ||
tcp.c | ||
transport.c | ||
transport.h | ||
vfio_user.c |