+5
−1
Loading
At least one version of a known NVMe target erroneously reports CAP_CSS_NOIO and not CAP_CSS_NVM for discovery controller. This results in SPDK responding with CC_CSS_NOIO, which that target then rejects. So adjust SPDK to follow similar behavior to the kernel, and respond with CC_CSS_IOCS when CAP_CSS_IOCS is set, and CC_CSS_NVM in all other cases. Fixes issue #3445. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: I1bb0e30672b2e1c5db1cc6c82989eb014dd64022 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24222 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Boris Glimcher <Boris.Glimcher@emc.com> Community-CI: Mellanox Build Bot Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Mehakjot Sidhu <mehakjot.sidhu@nutanix.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>