Spdk/include/spdk_internal
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
..
assert.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
copy_engine.h scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
event.h lib/event: remove app.c dependency from subsystem initialization 2019-08-28 15:26:12 +00:00
log.h iscsi: Dump PDU contents to know what PDU was sent in illegal state 2019-06-07 05:11:00 +00:00
lvolstore.h lvol: add option to change default data erase method 2019-01-23 22:25:37 +00:00
memory.h env: move VALUE_2MB defines into a new internal header 2019-01-13 00:47:26 +00:00
mock.h mock: remove trailing semicolon from MOCK_ definitions 2019-03-22 05:03:42 +00:00
nvme_tcp.h nvmf/tcp: add nvme_tcp_pdu_cal_psh function. 2019-08-07 01:46:54 +00:00
sock.h sock: Add the socket priority setting function. 2019-07-18 04:09:37 +00:00
thread.h thread: Export spdk_set_thread() 2019-07-15 01:34:41 +00:00
utf.h utf.h: remove #include "spdk/json.h" 2018-01-31 14:37:16 -05:00
vhost_user.h virtio: export spec-defined structures into a separate header 2019-03-13 14:26:20 +00:00
virtio.h virtio: allow config read/write to fail 2018-07-05 20:47:38 +00:00