Linux NFS development
 help / color / mirror / Atom feed
From: Peter Leckie <pleckie@sgi.com>
To: talpey@netapp.com
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH 04/04]  NFS/RDMA client stall patches
Date: Mon, 19 May 2008 13:51:50 +1000	[thread overview]
Message-ID: <4830F956.10602@sgi.com> (raw)

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;
 }


                 reply	other threads:[~2008-05-19  3:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4830F956.10602@sgi.com \
    --to=pleckie@sgi.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=talpey@netapp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox