Linux NFS development
 help / color / mirror / Atom feed
* Re: [PATCH 04/04]  NFS/RDMA client stall patches
@ 2008-05-19  3:51 Peter Leckie
  0 siblings, 0 replies; only message in thread
From: Peter Leckie @ 2008-05-19  3:51 UTC (permalink / raw)
  To: talpey; +Cc: linux-nfs

This 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.

Signed-off-by: Peter Leckie <pleckie-cP1dWloDopni96+mSzHFpQC/G2K4zDHf@public.gmane.org>
Reviewed-by: Greg Banks <gnb-cP1dWloDopni96+mSzHFpQC/G2K4zDHf@public.gmane.org>
---

Index: linux-2.6.25.3/net/sunrpc/xprtrdma/verbs.c
===================================================================
--- linux-2.6.25.3.orig/net/sunrpc/xprtrdma/verbs.c
+++ linux-2.6.25.3/net/sunrpc/xprtrdma/verbs.c
@@ -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;
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-19  3:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-19  3:51 [PATCH 04/04] NFS/RDMA client stall patches Peter Leckie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox