Spdk/include/spdk_internal
Jim Harris 4bcfef0021 rpc: remove rpc subsystem
RPC is core functionality for SPDK applications and should always
be initialized last (after all subsystems have been initialized).
So make RPC a first class citizen and integrate it with the
app framework directly instead of making it an "optional" subsystem.
Then we initializing it after all subsystems have completed
initialization, and tear it down before tearing down subsystems.

We can also do some other cleanup while here - for example, reactors
are already started when spdk_rpc_initialize() is called, so remove
the extra event that was added during initialization since this is no
longer needed.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I4cc63586a6d55be68786629a2176c61a88979267

Reviewed-on: https://review.gerrithub.io/385914
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-11-10 17:00:58 -05:00
..
assert.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
bdev.h event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
copy_engine.h event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
event.h rpc: remove rpc subsystem 2017-11-10 17:00:58 -05:00
log.h log: add new parm to spdk_trace_dump() 2017-09-06 17:33:03 -04:00
lvolstore.h lvol: give EEXIST error code on lvs name conflict 2017-10-27 13:07:09 -04:00
mock.h test/mock: add pthread_self 2017-09-19 17:15:15 -04:00