NFS/RDMA client stall patches
Subsystems (3)
Peter Leckie
Reviewed-by Greg BanksThis trivial patch prevents the client from waiting for 5 seconds on xprt reconnect if the xprt was disconnected by the client with out being in an error state.
---
net/sunrpc/xprtrdma/verbs.c +1 -1
@@ -848,8 +848,8 @@ rpcrdma_ep_disconnect(struct rpcrdma_ep (ep->rep_connected == 1) ? "still " : "dis"); }else {dprintk ("RPC: %s: rdma_disconnect %i\n" , __func__, rc); - ep->rep_connected = rc; } + ep->rep_connected = rc;return rc;
}