numam-spdk/lib/nvmf
Ziye Yang 32ad027b0c nvmf: Adjust the resource free order for transport
Reason: In spdk_nvmf_subsystem_destroy, we call
spdk_nvmf_ctrlr_destruct(ctrlr), and this function
will still use the transport, so definitely, it is
a defect(reproduced in my platform).
So we need to defer freeing the transport resource.

Change-Id: I3eee2a29c223e2759a623604485af6f081746581
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/399368
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-12 18:21:55 -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: remove spdk_nvmf_qpair::type field 2018-02-07 12:21:54 -05:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvmf_internal.h nvmf: remove spdk_nvmf_qpair::type field 2018-02-07 12:21:54 -05:00
nvmf.c nvmf: Adjust the resource free order for transport 2018-02-12 18:21:55 -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