Skip to content

Commit 6820bf7

Browse files
BtbNchucklever
authored andcommitted
svcrdma: disable timeouts on rdma backchannel
This brings it in line with the regular tcp backchannel, which also has all those timeouts disabled. Prevents the backchannel from timing out, getting some async operations like server side copying getting stuck indefinitely on the client side. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org> Fixes: 5d252f9 ("svcrdma: Add class for RDMA backwards direction transport") Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
1 parent d30881f commit 6820bf7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

net/sunrpc/xprtrdma/svc_rdma_backchannel.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ xprt_setup_rdma_bc(struct xprt_create *args)
252252
xprt->timeout = &xprt_rdma_bc_timeout;
253253
xprt_set_bound(xprt);
254254
xprt_set_connected(xprt);
255-
xprt->bind_timeout = RPCRDMA_BIND_TO;
256-
xprt->reestablish_timeout = RPCRDMA_INIT_REEST_TO;
257-
xprt->idle_timeout = RPCRDMA_IDLE_DISC_TO;
255+
xprt->bind_timeout = 0;
256+
xprt->reestablish_timeout = 0;
257+
xprt->idle_timeout = 0;
258258

259259
xprt->prot = XPRT_TRANSPORT_BC_RDMA;
260260
xprt->ops = &xprt_rdma_bc_procs;

0 commit comments

Comments
 (0)