From: Sagi Grimberg Date: Tue, 21 Mar 2017 14:32:38 +0000 (+0200) Subject: nvme-rdma: Give some more grace for rdma connection establishment X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=782d820ca47fa9335cbf14ef058060625fc33a00;p=linux.git 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 Signed-off-by: Jens Axboe --- diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c index 25d4eeaeca607..d809e5ab8106f 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 */