Loading
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>