From: Steve Dickson <SteveD@redhat.com>
To: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH 2/2] NFSv4: Ensure we respect soft mount timeouts during trunking discovery
Date: Wed, 19 Mar 2014 08:10:24 -0400 [thread overview]
Message-ID: <53298930.3090806@RedHat.com> (raw)
In-Reply-To: <1395173006-14871-2-git-send-email-trond.myklebust@primarydata.com>
On 03/18/2014 04:03 PM, Trond Myklebust wrote:
> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Tested-by: Steve Dickson <steved@redhat.com>
steved.
> ---
> fs/nfs/nfs4state.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
> index f544a1560c83..2349518eef2c 100644
> --- a/fs/nfs/nfs4state.c
> +++ b/fs/nfs/nfs4state.c
> @@ -2075,8 +2075,10 @@ again:
> switch (status) {
> case 0:
> break;
> - case -NFS4ERR_DELAY:
> case -ETIMEDOUT:
> + if (clnt->cl_softrtry)
> + break;
> + case -NFS4ERR_DELAY:
> case -EAGAIN:
> ssleep(1);
> case -NFS4ERR_STALE_CLIENTID:
>
next prev parent reply other threads:[~2014-03-19 12:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-18 20:03 [PATCH 1/2] NFSv4: Schedule recovery if nfs40_walk_client_list() is interrupted Trond Myklebust
2014-03-18 20:03 ` [PATCH 2/2] NFSv4: Ensure we respect soft mount timeouts during trunking discovery Trond Myklebust
2014-03-19 12:10 ` Steve Dickson [this message]
2014-03-19 12:09 ` [PATCH 1/2] NFSv4: Schedule recovery if nfs40_walk_client_list() is interrupted 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=53298930.3090806@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.