Spdk/lib/nvmf
Ziye Yang 30ef8cac7d nvmf: Solve the coredump issue when client conduct nvme disconnect
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>
2018-02-15 13:19:08 -05:00
..
ctrlr_bdev.c nvmf: Hot plug notifications now use the subsystem pause functionality 2018-01-17 17:28:13 -05:00
ctrlr_discovery.c nvmf: add support of hotplug for nvmf. 2017-12-15 16:14:02 -05:00
ctrlr.c nvmf: Solve the coredump issue when client conduct nvme disconnect 2018-02-15 13:19:08 -05:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvmf_internal.h nvmf: Solve the coredump issue when client conduct nvme disconnect 2018-02-15 13:19:08 -05:00
nvmf.c nvmf: Solve the coredump issue when client conduct nvme disconnect 2018-02-15 13:19:08 -05:00
rdma.c nvmf_tgt: add IPv6 listen address support 2018-01-29 12:41:57 -05:00
request.c nvmf: remove spdk_nvmf_qpair::type field 2018-02-07 12:21:54 -05:00
subsystem.c nvmf: allow removal of listen addresses at runtime 2018-02-07 12:47:27 -05:00
transport.c nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00
transport.h nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00