Spdk/lib/bdev/nvme
Cunyin Chang 0bd8e75199 bdev/nvme: remove the nvme_bdev from list safely.
There remove callback function will remove the nvme_bdev from the global
list, we do not need to remove the device in the function bdev_nvme_destruct().
just make sure to remove it from list when the app exit.

Change-Id: I1859bfd696ed9c0ca3ac1cd8ffadfd9488df0fcd
Signed-off-by: Cunyin Chang <cunyin.chang@intel.com>
Reviewed-on: https://review.gerrithub.io/375941
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-09-08 17:11:28 -04:00
..
bdev_nvme_rpc.c bdev: rename blockdev instances to bdev 2017-07-14 13:31:30 -04:00
bdev_nvme.c bdev/nvme: remove the nvme_bdev from list safely. 2017-09-08 17:11:28 -04:00
bdev_nvme.h bdev: rename blockdev instances to bdev 2017-07-14 13:31:30 -04:00
Makefile bdev: rename blockdev instances to bdev 2017-07-14 13:31:30 -04:00