Spdk/examples
Shuhei Matsumoto 4fe4040a14 nvme: Add spdk_nvme_detach_poll() to simplify a common use case
Add a new function spdk_nvme_detach_poll() to simplify a common
use case to continue polling until all detachments complete.
Then use the function for the common use case throughout.

Besides, usage by simple_copy application was not correct, and
fix it in this patch.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ic14711cd8478bf221c0fe375301e77b395b37f26
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8509
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2021-06-30 22:54:19 +00:00
..
accel accel_perf: add -a option for allocate depth 2021-06-28 16:18:54 +00:00
bdev bdev/fio_plugin: spdk_fio_get_zoned_model() is too permissive 2021-06-15 08:34:36 +00:00
blob event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
interrupt_tgt event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
ioat build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
nvme nvme: Add spdk_nvme_detach_poll() to simplify a common use case 2021-06-30 22:54:19 +00:00
nvmf init: Declare a formal public API 2021-05-26 09:13:34 +00:00
sock event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
util Util: check the error case of NULL pointer 2021-06-08 08:26:12 +00:00
vmd env_dpdk: save hotplug timeout timestamps separate from rte_devargs 2021-04-23 08:16:24 +00:00
Makefile examples: add zipf example app 2021-05-19 07:50:28 +00:00