numam-spdk/include
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
..
linux rte_virtio: use linux headers where possible 2017-10-06 17:15:19 -04:00
spdk util/crc16: add crc16 library support and unit tests 2017-12-20 15:12:26 -05:00
spdk_internal bdev: unregister all bdevs in spdk_bdev_finish() 2017-12-21 13:29:29 -05:00
Makefile build: add 'make install' rule 2017-11-27 17:58:02 -05:00