Spdk/examples/nvme/hotplug
Shuhei Matsumoto 9a99ff90f9 example/nvme_hotplug: Use spdk_nvme_detach_async()
We can add one or more ctrlrs to the existing detach context even
after polling started as long as spdk_nvme_detach_poll_async()
returns -EBUSY.

By relying on this update, add a global variable g_detach_ctx and
use it to aggregate multiple detachments.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I28dcfa41daf1fe2bbe76fac80e1bc2abc24751f7
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8471
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2021-06-30 22:54:19 +00:00
..
.gitignore Add missing .gitignore files for binaries 2016-12-06 09:51:00 -07:00
hotplug.c example/nvme_hotplug: Use spdk_nvme_detach_async() 2021-06-30 22:54:19 +00:00
Makefile build: fix duplicate spdk.common.mk includes 2019-05-22 14:51:01 +00:00