Spdk/module/bdev/nvme
Jim Harris acf116c6d5 bdev/nvme: run poller more frequently while probe in progress
When we do detect new devices, we would like to get them
attached as quickly as possible. Controller initialization
requires a non-trivial number of admin commands, and when
using async probe, it means that after we have detected
a new device, it will take many iterations of calling
spdk_nvme_probe_poll_async() before the controller is
fully attached.

So when we are actively probing a probe_ctx, create
a new poller that is solely responsible for probing
that context at a much higher frequency.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I72fbe3faef2d72608edb163bd87907902d7c3adc

Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5646
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: <dongx.yi@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2021-01-07 13:38:18 +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: run poller more frequently while probe in progress 2021-01-07 13:38:18 +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/nvme: Inline detach_bdev_from_ns() and attach_bdev_to_ns() 2021-01-05 09:43:09 +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: Inline detach_bdev_from_ns() and attach_bdev_to_ns() 2021-01-05 09:43:09 +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