nvme-rdma: Give some more grace for rdma connection establishment
authorSagi Grimberg <sagi@grimberg.me>
Tue, 21 Mar 2017 14:32:38 +0000 (16:32 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 4 Apr 2017 15:48:23 +0000 (09:48 -0600)
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>
drivers/nvme/host/rdma.c

index 25d4eeaeca6071a2984c21c4f2f05cfa0da0911b..d809e5ab8106f29ec1b97dc60822de472a91685d 100644 (file)
@@ -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 */