+7
−0
Loading
If spdk_nvme_ctrlr_disconnect() is called and ctrlr is polled until it is disconnected, ctrlr keeps disconnected. If we call spdk_nvme_detach_async(), CC register read fails and an error log is collected. We should avoid this error log by checking if ctrlr->adminq->transport_failure_reason is not NONE. Reported-by:Richael Zhuang <richael.zhuang@arm.com> Signed-off-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: Idb1b508f9904eee4fe2999b087016a243430e5d3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18283 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Richael <richael.zhuang@arm.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>