summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2017-03-21 15:32:38 +0100
committerJens Axboe <axboe@fb.com>2017-04-04 17:48:23 +0200
commit782d820ca47fa9335cbf14ef058060625fc33a00 (patch)
treedf7716962f704e906862909dbf5cc66f96aef9b0 /drivers
parentnvmet-rdma: occasionally flush ongoing controller teardown (diff)
downloadlinux-782d820ca47fa9335cbf14ef058060625fc33a00.tar.xz
linux-782d820ca47fa9335cbf14ef058060625fc33a00.zip
nvme-rdma: Give some more grace for rdma connection establishment
The target might be occupied with multiple hosts so lets give it some more grace before failing the connection establishment. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/nvme/host/rdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
index 25d4eeaeca60..d809e5ab8106 100644
--- a/drivers/nvme/host/rdma.c
+++ b/drivers/nvme/host/rdma.c
@@ -34,7 +34,7 @@
#include "fabrics.h"
-#define NVME_RDMA_CONNECT_TIMEOUT_MS 1000 /* 1 second */
+#define NVME_RDMA_CONNECT_TIMEOUT_MS 3000 /* 3 second */
#define NVME_RDMA_MAX_SEGMENT_SIZE 0xffffff /* 24-bit SGL field */