Spdk/python/spdk/rpc
Konrad Sztyber e5f9e82291 bdev/nvme: add timeout option to start_discovery
It's now possible to specify a time to wait until a connection to the
discovery controller and the NVM controllers it exposes is made.

Whenever that time is exceeded, a callback is immediately executed.
However, depending on the stage of the discovery process, we might need
to wait a while before actually stopping it (e.g. because a controller
attach is in progress).  That means that a discovery service might be
visible for a while after it timed out.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I2d01837b581e0fa24c8e777730d88d990c94b1d8
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12684
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2022-05-18 07:24:06 +00:00
..
__init__.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
app.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
bdev.py bdev/nvme: add timeout option to start_discovery 2022-05-18 07:24:06 +00:00
blobfs.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
client.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
cmd_parser.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
env_dpdk.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
helpers.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
idxd.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
ioat.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
iscsi.py iscsi, scsi: remove support for deprecated RPC names 2022-05-09 23:03:02 +00:00
log.py log: remove support for deprecated RPC names 2022-05-12 07:26:35 +00:00
lvol.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
nbd.py nbd: remove support for deprecated RPC names 2022-05-09 23:13:39 +00:00
notify.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
nvme.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
nvmf.py nvmf: remove support for deprecated RPC names 2022-05-12 07:27:45 +00:00
pmem.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
sock.py sock: fix typo 2022-05-04 08:03:48 +00:00
subsystem.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
trace.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
vhost.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
vmd.py scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00