+11
−7
Loading
I observed that spdk_nvmf_qpair_disconnect is only ever called from the thread that owns the qpair - i.e. the one associated with the poll group - with only one exception where the qpair wasn't fully initialized. Add a check that enforces this condition, as it will allow some major simplifications. Change-Id: Ied434c9ea63fd4f2a6f9eacdf8f3f26a7b6bcf3f Signed-off-by:Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/424591 Reviewed-by:
Seth Howell <seth.howell5141@gmail.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>