numam-spdk/lib/bdev/pmem
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_pmem_rpc.c bdev_pmem: pmem pool file managment via RPC 2017-10-13 10:48:39 -04:00
bdev_pmem.c event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
bdev_pmem.h bdev_pmem: initial implementation of persistent memory bdev 2017-09-29 14:04:32 -04:00
Makefile bdev_pmem: initial implementation of persistent memory bdev 2017-09-29 14:04:32 -04:00