numam-spdk/lib/bdev/nvme
Daniel Verkamp 453f5ae9f6 bdev: unregister all bdevs in spdk_bdev_finish()
Instead of requiring each bdev module to track its own bdevs and clean
them up during its fini callback, we can walk the list of registered bdevs
during spdk_bdev_finish() and call spdk_bdev_unregister() on each one of
them before cleaning up the bdev modules.

Change-Id: I01816707c9100f66f542bfd73b90bcb0e0fb0c0c
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/389878
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-12-21 13:29:29 -05:00
..
bdev_nvme_rpc.c RPC: Add rpc support to update firmware. 2017-10-31 12:49:31 -04:00
bdev_nvme.c bdev: unregister all bdevs in spdk_bdev_finish() 2017-12-21 13:29:29 -05:00
bdev_nvme.h bdev/nvme: simplify spdk_bdev_nvme_get_ctrlr() 2017-12-01 13:24:45 -05:00
Makefile bdev: rename blockdev instances to bdev 2017-07-14 13:31:30 -04:00