numam-spdk/lib/bdev
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
..
aio bdev: remove spdk_bdev_poller_start() lcore option 2017-10-18 20:28:29 -04:00
error bdev: add callback to free part_base 2017-10-01 21:57:00 -04:00
gpt bdev/gpt: check against get_io_channel failure 2017-10-19 00:33:06 -04:00
lvol event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
malloc bdev/malloc: allow user to specify bdev name 2017-10-11 23:55:45 -04:00
null bdev/null: add Write Zeroes support 2017-09-25 16:31:49 -04:00
nvme bdev: add callback to spdk bdev unregister and bdev destruct 2017-10-26 17:23:58 -04:00
pmem event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
rbd bdev: remove spdk_bdev_poller_start() lcore option 2017-10-18 20:28:29 -04:00
rpc bdev: add callback to spdk bdev unregister and bdev destruct 2017-10-26 17:23:58 -04:00
split bdev: add callback to free part_base 2017-10-01 21:57:00 -04:00
virtio bdev_virtio: remove internal README.md 2017-10-27 11:02:48 -04:00
bdev.c event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
Makefile bdev_virtio: added --without-virtio configure flag 2017-10-19 19:06:12 -04:00
scsi_nvme.c nvme_spec: remove SGL Sub Type Invalid status code 2017-09-22 17:11:53 -04:00
vtune.c bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00