Spdk/lib/bdev
Changpeng Liu de3eb36a61 bdev/nvme: exit controller removal callback if the destruction was started
For real PCIe drives, if we removed one drive, existing hotplug
monitor will trigger the remove callback twice, there is one
workaround for vfio-attached device hot remove detection which
will also trigger the hot removal callback.  For now we add
the check in the bdev_nvme layer so that coredump will not happen.

Fix issue #606.

Change-Id: I0605fbdf391fed20c4aa9a2d54b4f059f29dc483
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/c/445642
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-02-22 18:32:17 +00:00
..
aio bdev/aio: Reap completions from userspace if supported 2019-02-13 18:14:53 +00:00
crypto bdev/crypto: compile with DPDK 19.02 2019-02-22 18:31:52 +00:00
error bdev: make spdk_bdev_register_module_xxx function names predictable 2019-02-11 23:56:53 +00:00
ftl bdev/ftl: unlock g_ftl_bdev_lock before unregister ftl_bdev 2019-02-15 21:42:58 +00:00
gpt bdev: make spdk_bdev_register_module_xxx function names predictable 2019-02-11 23:56:53 +00:00
iscsi bdev/iscsi: remove unused master_ch 2019-02-20 17:02:02 +00:00
lvol bdev: make spdk_bdev_register_module_xxx function names predictable 2019-02-11 23:56:53 +00:00
malloc bdev: make spdk_bdev_register_module_xxx function names predictable 2019-02-11 23:56:53 +00:00
null bdev: make spdk_bdev_register_module_xxx function names predictable 2019-02-11 23:56:53 +00:00
nvme bdev/nvme: exit controller removal callback if the destruction was started 2019-02-22 18:32:17 +00:00
ocf bdev/ocf: Add missing error handling in bottom adapter 2019-02-21 07:39:59 +00:00
passthru bdev/passthru: Use typedef in bdev_module.h for spdk_bdev_unregsister 2019-02-12 15:42:06 +00:00
pmem bdev: make spdk_bdev_register_module_xxx function names predictable 2019-02-11 23:56:53 +00:00
raid bdev: make spdk_bdev_register_module_xxx function names predictable 2019-02-11 23:56:53 +00:00
rbd bdev: make spdk_bdev_register_module_xxx function names predictable 2019-02-11 23:56:53 +00:00
rpc lib/bdev: Expose enabled DIF check types of bdev. 2019-02-08 23:37:13 +00:00
split bdev: make spdk_bdev_register_module_xxx function names predictable 2019-02-11 23:56:53 +00:00
virtio bdev: make spdk_bdev_register_module_xxx function names predictable 2019-02-11 23:56:53 +00:00
bdev.c bdev: Add spdk_bdev_io_get_io_channel API 2019-02-12 17:57:25 +00:00
Makefile OCF: add OCF module 2019-01-28 09:41:52 +00:00
part.c bdev: Improve spdk_bdev_open() to print string describing error number 2019-01-24 10:50:34 +00:00
scsi_nvme.c bdev: move error union to internal spdk_bdev_io struct 2018-06-26 20:04:07 +00:00
vtune.c mk: don't use '-include spdk/config.h' 2018-10-02 23:13:32 +00:00