Spdk/test
Ziye Yang bfe2897da3 nvmf,target: solve shutdown coredump issue
It is caused by this commit:
4163626c5c

nvmf_tgt_delete_subsystem registers the poller
with function subsystem_delete_event.
subsystem_delete_event is called asynchronously,
the deletion should happen in this function.
Otherwise, with the current code,

g_subsystems_shutdown = true
TAILQ_EMPTY(&g_subsystems) = true
when subsystem_delete_event is firstly called.

If there are multiple subsystems, the logic is wrong.
Thus other subsystem will never be delete. since
we already execute shutdown_complete().

Also add related test scripts.

Change-Id: I3823563fc9e8611c11a6d798685ff64e2939842e
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
2017-03-02 09:39:48 -07:00
..
cpp_headers test/cpp_headers: autogenerate header test files 2016-10-03 10:24:18 -07:00
iscsi_tgt test/iscsi_tgt/fio: pass pid to running_config 2017-02-17 11:00:12 -07:00
lib iscsi: finish the task if the lun is NULL immediately in iscsi layer. 2017-03-02 00:54:34 -07:00
nvmf nvmf,target: solve shutdown coredump issue 2017-03-02 09:39:48 -07:00
Makefile test: validate that all headers compile as C++ 2016-09-21 15:27:08 -07:00
spdk_cunit.h spdk_cunit: only evaluate assert condition once 2016-10-19 08:09:45 -07:00