nvme/rdma: Increase timeout when waiting for CM_EVENTS

In some real data center deployments, 100ms is not enough. Increase
the timeout to 1 second.

Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478638 (master)

(cherry picked from commit 3d06a83fa4)
Change-Id: I8195a1c1e987b7eff2d8541509f79381be32ed4b
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478724
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Ben Walker 2019-12-20 10:05:06 -07:00 committed by Tomasz Zawadzki
parent 16282e8fc3
commit f8a0750385

View File

@ -70,7 +70,7 @@
#define NVME_RDMA_NUM_CM_EVENTS 256
/* CM event processing timeout */
#define NVME_RDMA_QPAIR_CM_EVENT_TIMEOUT_US 100000
#define NVME_RDMA_QPAIR_CM_EVENT_TIMEOUT_US 1000000
struct spdk_nvmf_cmd {
struct spdk_nvme_cmd cmd;