numam-spdk/lib/event
Tomasz Zawadzki 6c54c13cd4 event/subsystem/bdev: asynchronous SPDK finish
First this change moves spdk_subsystem_fini() to trigger on
spdk_app_stop(). This ensures that spdk_subsystem_fini() is called
before reactors are stopped in spdk_reactors_stop().

Finish paths for subsystems, bdevs and copy engine is now
asynchronous.
Each of those three mentioned have to make sure they are
asynchronous as well.

Only bdev that currently has requirement for asynchronous finish
are logical volume.
Thus the change in vbdev_lvol.c making it move to next bdev module
only after all lvol stores were unloaded.

Fio_plugin finish of bdev and copy_engine was removed for now.
Next patch in series adds it back with async support.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I80ee2d084f3d82c50bf1329e08996604ae61b1b3
Reviewed-on: https://review.gerrithub.io/381536
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-10-27 13:03:55 -04:00
..
rpc reactor: add context_switch_monitor RPC 2017-09-01 12:46:18 -04:00
subsystems event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
app.c event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
Makefile bdev: Create a separate bdev subsystem library 2017-06-16 13:10:26 -04:00
reactor.c event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
subsystem.c event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00