+1
−2
+1
−0
test/nvmf/shutdown/shutdown.sh
0 → 100755
+43
−0
Loading
It is caused by this commit: 4163626c 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>