885bc99596
The example would endlessly loop in unregister_dev()->spdk_nvme_ ctrlr_free_io_qpair(), if the device has been removed after leave hotplug monitoring. Add the timeout callback to handle this corner case. The case will not be friendly to newcomers, if we use the event framework to update it, because the hotplug has been hidden in frame work. Change-Id: I33a81efd356fdf1e7921f5721e9d95936470e8b0 Signed-off-by: JinYu <jin.yu@intel.com> Reviewed-on: https://review.gerrithub.io/c/439822 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
hotplug.c | ||
Makefile |