Spdk/module/bdev/nvme
Jim Harris da5e62782f bdev/nvme: detect failed async probe
Track whether we attached a controller while
polling the probe ctx.  If we didn't when the probe
ctx is done, then it means the controller failed to
attach and we need to free the ctx.

Fixes issue #1723.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: Ia7f040a073e4c824c29c0ed493f8391b69f94174
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5818
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: <dongx.yi@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2021-01-13 10:07:11 +00:00
..
bdev_nvme_cuse_rpc.c lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
bdev_nvme_rpc.c rpc: add keep alive parameter in bdev nvme 2020-12-07 14:57:03 +00:00
bdev_nvme.c bdev/nvme: detect failed async probe 2021-01-13 10:07:11 +00:00
bdev_nvme.h rpc: add keep alive parameter in bdev nvme 2020-12-07 14:57:03 +00:00
bdev_ocssd_rpc.c lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
bdev_ocssd.c bdev/ocssd: Get nvme_ns from nvme_bdev via helper function for configuration 2021-01-13 10:06:48 +00:00
bdev_ocssd.h bdev/nvme: Use nvme_ns for nvme_bdev_ns and ns for spdk_nvme_ns 2020-12-02 10:19:32 +00:00
common.c bdev/nvme: Inline detach_bdev_from_ns() and attach_bdev_to_ns() 2021-01-05 09:43:09 +00:00
common.h bdev/nvme: detect failed async probe 2021-01-13 10:07:11 +00:00
Makefile mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
nvme_rpc.c module/nvme: Fix warning about scanbuild. 2020-10-27 08:42:32 +00:00
vbdev_opal_rpc.c lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
vbdev_opal.c bdev_nvme/opal: Use spdk_bdev_part_base_construct_ext() to pass bdev_name 2020-10-16 08:14:34 +00:00
vbdev_opal.h module/bdev_nvme: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00