Spdk/lib/bdev
Jim Harris 7717cfcacc bdev/iscsi: fix double spdk_bdev_module_finish_done() call
bdev_iscsi_lun_cleanup() was not accounting for LUNs
getting cleaned up before the module_finish function
was called.  This resulted in the bdev/iscsi module
calling spdk_bdev_module_finish_done twice which
resulted in io_device_unregister not found errors and
possible seg faults.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I42c3e0af250e0abcea1cd88ffd3c041ebdaeea49
Reviewed-on: https://review.gerrithub.io/415372
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-06-15 20:57:08 +00:00
..
aio thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
error bdev: Rename spdk_internal/bdev.h to spdk/bdev_module.h 2018-05-25 16:02:22 +00:00
gpt thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
iscsi bdev/iscsi: fix double spdk_bdev_module_finish_done() call 2018-06-15 20:57:08 +00:00
lvol bdev: Rename spdk_internal/bdev.h to spdk/bdev_module.h 2018-05-25 16:02:22 +00:00
malloc thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
null thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
nvme bdev/nvme: remove redundant check for active NS 2018-06-12 19:37:04 +00:00
passthru thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
pmem bdev: Rename spdk_internal/bdev.h to spdk/bdev_module.h 2018-05-25 16:02:22 +00:00
rbd bdev/rbd: destroy ioctx in bdev_rbd_init 2018-06-14 21:31:06 +00:00
rpc bdev/rpc: make get_bdevs_iostat name param optional 2018-05-25 23:26:59 +00:00
split thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
virtio thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
bdev.c Avoid scheduling removal of the same bdev descriptor multiple times. 2018-06-15 17:47:05 +00:00
Makefile bdev/pmem: change all NVML strings to PMDK 2018-04-07 00:07:57 -04:00
part.c bdev: Rename spdk_internal/bdev.h to spdk/bdev_module.h 2018-05-25 16:02:22 +00:00
scsi_nvme.c bdev: Rename spdk_internal/bdev.h to spdk/bdev_module.h 2018-05-25 16:02:22 +00:00
vtune.c bdev: disable new GCC 7 warning in VTune code 2018-03-19 15:58:15 -04:00