This patch is used to solve https://github.com/spdk/spdk/issues/235 With multiple core bining for NVMe-oF target, the qpairs which belonging to the same ctrlr may be scheduled to different cores. Thus there is resource contention to access the struct spdk_nvmf_ctrlr. And we put the thread info in polling group. Morever, we introduce an admin_qpair in ctrlr. Since admin_qpair will always be created at first and freed at last, to reference this pointer is safe. Change-Id: I12ac26f9e65b4ed8e48687750046455af0e3be1d Signed-off-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-on: https://review.gerrithub.io/398904 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
ctrlr_bdev.c | ||
ctrlr_discovery.c | ||
ctrlr.c | ||
Makefile | ||
nvmf_internal.h | ||
nvmf.c | ||
rdma.c | ||
request.c | ||
subsystem.c | ||
transport.c | ||
transport.h |