Skip to content

Commit

Permalink
nvme/rdma: Increase timeout when waiting for CM_EVENTS
Browse files Browse the repository at this point in the history
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 3d06a83)
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>
  • Loading branch information
Ben Walker authored and tomzawadzki committed Jan 2, 2020
1 parent 16282e8 commit f8a0750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nvme/nvme_rdma.c
Expand Up @@ -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;
Expand Down

0 comments on commit f8a0750

Please sign in to comment.