Spdk/lib/bdev/nvme
Maciej Szwed 83d1bfae41 nvme: Unregister NVMe controller when bdevs creation fails
This patch fixes github issue #385.
We need to unregister previously created NVMe controller
when creation of NVMe bdevs fails otherwise we won't be
able to use NVMe device as it will stay in wrong state.

Signed-off-by: Maciej Szwed <maciej.szwed@intel.com>
Change-Id: I28a165aba1a556a2ed2d4cd5ff6fd510e80657d3

Reviewed-on: https://review.gerrithub.io/421006
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-08-01 18:43:53 +00:00
..
bdev_nvme_rpc.c bdev/nvme: add RPC to enable and disable hotplug 2018-07-26 22:12:29 +00:00
bdev_nvme.c nvme: Unregister NVMe controller when bdevs creation fails 2018-08-01 18:43:53 +00:00
bdev_nvme.h bdev/nvme: add RPC to enable and disable hotplug 2018-07-26 22:12:29 +00:00
Makefile Make: remove unused CFLAGS 2018-02-21 13:10:29 -05:00