Spdk/lib/nvmf
Ben Walker fd94895432 nvmf: Require qpair disconnect to be performed from owning thread
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>
2018-09-05 18:08:02 +00:00
..
ctrlr_bdev.c nvmf/bdev: use spdk_bdev_queue_io_wait() 2018-08-21 17:00:13 +00:00
ctrlr_discovery.c nvmf: Move target opts to transport opts (part 1) 2018-08-27 20:43:53 +00:00
ctrlr.c nvmf: Move target opts to transport opts (part 1) 2018-08-27 20:43:53 +00:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvmf_fc.h nvmf: fix coding style for astyle 2.05 in nvmf_fc.h 2018-07-17 07:53:18 +00:00
nvmf_internal.h nvmf/bdev: use spdk_bdev_queue_io_wait() 2018-08-21 17:00:13 +00:00
nvmf.c nvmf: Require qpair disconnect to be performed from owning thread 2018-09-05 18:08:02 +00:00
rdma.c nvmf/rdma: Pass a message to the owning thread on qpair disconnect 2018-09-05 18:08:02 +00:00
request.c nvmf: add free_req function pointer. 2018-07-27 20:50:36 +00:00
subsystem.c lib/nvmf: handle the failed case when activating the subsystem 2018-08-21 22:19:54 +00:00
transport.c nvmf: Move target opts to transport opts (part 1) 2018-08-27 20:43:53 +00:00
transport.h nvmf: Move target opts to transport opts (part 1) 2018-08-27 20:43:53 +00:00