numam-spdk/lib/event/subsystems
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
..
bdev event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
copy event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
iscsi event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
net event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
rpc event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
scsi event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
vhost event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
Makefile vhost: Add a separate subsystem library 2017-06-16 13:10:26 -04:00