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.

Change-Id: I8195a1c1e987b7eff2d8541509f79381be32ed4b
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478638
Reviewed-by: Seth Howell <seth.howell@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-by: yidong0635 <dongx.yi@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
  • Loading branch information
Ben Walker authored and tomzawadzki committed Dec 23, 2019
1 parent 0edc874 commit 3d06a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nvme/nvme_rdma.c
Original file line number Diff line number Diff line change
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

/*
* In the special case of a stale connection we don't expose a mechanism
Expand Down

0 comments on commit 3d06a83

Please sign in to comment.