453f5ae9f6
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> |
||
---|---|---|
.. | ||
bdev_nvme_rpc.c | ||
bdev_nvme.c | ||
bdev_nvme.h | ||
Makefile |