linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Dickson <steved@redhat.com>
To: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: [PATCH] NFSv4: Don't retry server trunking discovery on timeouts
Date: Fri,  7 Mar 2014 10:02:43 -0500	[thread overview]
Message-ID: <1394204563-1166-2-git-send-email-steved@redhat.com> (raw)
In-Reply-To: <1394204563-1166-1-git-send-email-steved@redhat.com>

To allow background mounts to process into background,
server trunking discovery needs to return the -ETIMEDOUT
error to the mount command instead of endless retrying in
the kernel.

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 fs/nfs/nfs4state.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index e1a4721..be4b33f 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -2085,6 +2085,7 @@ again:
 		break;
 	case -NFS4ERR_DELAY:
 	case -ETIMEDOUT:
+		break;
 	case -EAGAIN:
 		ssleep(1);
 	case -NFS4ERR_STALE_CLIENTID:
-- 
1.7.1


  reply	other threads:[~2014-03-07 15:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-07 15:02 [PATCH] Stop Background mounts hang from hanging Steve Dickson
2014-03-07 15:02 ` Steve Dickson [this message]
2014-03-07 15:26   ` [PATCH] NFSv4: Don't retry server trunking discovery on timeouts Trond Myklebust
2014-03-07 15:36 ` [PATCH] Stop Background mounts hang from hanging Trond Myklebust
2014-03-07 15:47   ` Steve Dickson
2014-03-07 16:10     ` Trond Myklebust
2014-03-07 19:24       ` Steve Dickson
2014-03-07 19:45         ` Trond Myklebust
2014-03-07 20:20           ` Steve Dickson

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=1394204563-1166-2-git-send-email-steved@redhat.com \
    --to=steved@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trond.myklebust@primarydata.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;
as well as URLs for NNTP newsgroup(s).