Spdk/lib/event
Tomasz Zawadzki b85881ec7c lib/event: remove app.c dependency from subsystem initialization
This change adds return code to spdk_subsystem_init().
Making it's caller responsible for handling application
state - such as calling spdk_app_stop().

This change implies that start_subsystem_init RPC does not
stop the application on failure, only reports back the error.

Renamed g_app_start/stop variables to now more relevant
g_subsystem_start/stop.

Change-Id: I66a7da6ecfb234a569c65279cc4b210ddac53d2a
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/464412
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-08-28 15:26:12 +00:00
..
app.c lib/event: remove app.c dependency from subsystem initialization 2019-08-28 15:26:12 +00:00
json_config.c lib/event: remove app.c dependency from subsystem initialization 2019-08-28 15:26:12 +00:00
Makefile lib/event: move rpc and subsystems dirs to module 2019-08-22 16:29:49 +00:00
reactor.c event: Move spdk_reactors_fini higher up in file 2019-08-23 17:51:26 +00:00
rpc.c thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
subsystem.c lib/event: remove app.c dependency from subsystem initialization 2019-08-28 15:26:12 +00:00