OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
777dc82
)
nvme-rdma: Give some more grace for rdma connection establishment
author
Sagi Grimberg
<sagi@grimberg.me>
Tue, 21 Mar 2017 14:32:38 +0000
(16:32 +0200)
committer
Jens 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
patch
|
blob
|
history
diff --git
a/drivers/nvme/host/rdma.c
b/drivers/nvme/host/rdma.c
index
25d4eea
..
d809e5a
100644
(file)
--- 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 */