Spdk/lib/bdev
Dariusz Stojaczyk e237ce317e bdev: don't continue on module init error
spdk_bdev_init_complete could have been called twice.

While here, also simplify bdev_initialize error path.
On allocation failure, bdev subsystem will now finish
with bdev_mgr->module_init_complete set to false.

Fixes: 7fefd60fab ("bdev: make module init synchronous again")

Change-Id: Ia4b5d571d26beb34f0e6c0f4c7b3176215eec69f
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/375572
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-09-01 12:36:59 -04:00
..
aio bdev/aio: Add support for blockdev_aio_get_spdk_running_config(). 2017-08-30 14:11:52 -04:00
error bdev/error: release bdev and close desc on shutdown 2017-08-09 13:24:40 -04:00
gpt log: rename SPDK_TRACELOG to SPDK_DEBUGLOG 2017-08-29 13:25:58 -04:00
malloc log: remove uses of SPDK_TRACE_DEBUG 2017-08-29 15:07:13 -04:00
null log: remove uses of SPDK_TRACE_DEBUG 2017-08-29 15:07:13 -04:00
nvme log: rename SPDK_TRACELOG to SPDK_DEBUGLOG 2017-08-29 13:25:58 -04:00
rbd log: remove uses of SPDK_TRACE_DEBUG 2017-08-29 15:07:13 -04:00
rpc bdev: update the get_bdevs RPC method with optional parameter 2017-08-28 15:19:34 -04:00
split log: rename SPDK_TRACELOG to SPDK_DEBUGLOG 2017-08-29 13:25:58 -04:00
virtio bdev_virtio: added async I/O 2017-08-29 13:50:13 -04:00
bdev.c bdev: don't continue on module init error 2017-09-01 12:36:59 -04:00
Makefile virtio: add initial rev of virtio-scsi initiator bdev module 2017-08-22 11:54:15 -04:00
scsi_nvme.c bdev: add API to translate to SCSI status 2017-05-04 09:11:42 -07:00
vtune.c bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00