numam-spdk/examples
JinYu 885bc99596 nvme/hotplug: add ctrlr a timeout callback in hotplug example
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>
2019-02-25 23:12:29 +00:00
..
bdev thread: Allow for an extra region of memory allocated on each thread 2019-02-14 14:58:56 +00:00
blob examples/blob: Replace atoll by spdk_strtoll 2019-01-29 17:39:18 +00:00
ioat ioat/perf: allow queue depths > 256 2019-02-20 16:41:46 +00:00
nvme nvme/hotplug: add ctrlr a timeout callback in hotplug example 2019-02-25 23:12:29 +00:00
sock examples/sock: Improve error check of input parsing by spdk_strtol 2019-01-29 17:39:18 +00:00
Makefile examples/sock/hello_sock: introduce sample application for libsock 2018-08-14 14:52:19 +00:00