Spdk/lib/event
Ziye Yang d07cc7d35d event/subsystem: solve the subsystem init and destroy conflict
We have conflict to handle the NVMf subsystem shut
down. The situation is that:

If there is shutdown request (e.g., ctrlr+c),
we may have subsystem finalization and subsystem
initialization conflict (e.g., have NVMf subsystem fini and
intialization together), we will have coredump
issue like #682.

If we interrupt the initialization of the subsystem,
following works should do:

1  Do not initilize the next subsystem.
2  Recycle the resources in each subsystem via the
spdk_subsystem_fini related function. And this patch will
do the general thing, but will not consider the detailed
interrupt policy in each subsystem.

Change-Id: I2438b4a2462acb05d8c8e06dfff3da3d388d4b70
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-on: https://review.gerrithub.io/c/446189 (master)
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/447459
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-03-08 19:04:41 +00:00
..
rpc event/rpc: Use spdk_strtol to clarify if signal is specified by name 2019-01-29 17:39:18 +00:00
subsystems nvmf: remove deprecated construct_nvmf_subsystem RPC 2019-01-30 00:48:23 +00:00
app.c lib/trace: add trace_record tool 2019-01-30 06:36:25 +00:00
json_config.c json_config: dont dereference when no next config entry 2019-01-22 19:21:46 +00:00
json_config.h app: add option to read json configuration files during startup 2019-01-14 04:48:18 +00:00
Makefile app: add option to read json configuration files during startup 2019-01-14 04:48:18 +00:00
reactor.c thread: Rename spdk_free_thread to spdk_thread_exit 2019-01-17 11:24:38 +00:00
rpc.c thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
subsystem.c event/subsystem: solve the subsystem init and destroy conflict 2019-03-08 19:04:41 +00:00