From: andros@netapp.com
To: trond.myklebust@netapp.com
Cc: linux-nfs@vger.kernel.org, Andy Adamson <andros@netapp.com>
Subject: [PATCH 0/3] NFS recover from delegation stateid error
Date: Tue, 6 Mar 2012 09:46:42 -0500 [thread overview]
Message-ID: <1331045205-3031-1-git-send-email-andros@netapp.com> (raw)
From: Andy Adamson <andros@netapp.com>
These patches fix recovery from NFS4ERR_BAD_STATEID, NFS4ERR_ADMIN_REVOKED, and
NFS4ERR_DELEG_REVOKED errors by removing the delegation record, testing the
delegation stateid, and recovering via an OPEN with CLAIM_NULL.
Tested with a pynfs test that removes the pynfs server delegation stateid
and return NFS4ERR_BAD_STATEID upon a READ.
Andy Adamson (1):
NFSv4.1 do not clear NFS_DELEAGED_STATE until stateid is tested
Trond Myklebust (2):
NFSv4.1: Fix the checking of the stateid when returning a delegation
NFS: Properly handle the case where the delegation is revoked
fs/nfs/callback_proc.c | 6 +++---
fs/nfs/delegation.c | 13 ++++++++++++-
fs/nfs/delegation.h | 1 +
fs/nfs/nfs4_fs.h | 2 ++
fs/nfs/nfs4proc.c | 16 ++++++++++++++--
fs/nfs/nfs4state.c | 31 ++++++++++++++++++++++++++++++-
6 files changed, 62 insertions(+), 7 deletions(-)
--
1.7.6.4
next reply other threads:[~2012-03-06 14:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-06 14:46 andros [this message]
2012-03-06 14:46 ` [PATCH 1/3] NFSv4.1: Fix the checking of the stateid when returning a delegation andros
2012-03-06 14:57 ` Myklebust, Trond
2012-03-06 15:13 ` Adamson, Andy
2012-03-06 18:20 ` J. Bruce Fields
2012-03-06 14:46 ` [PATCH 2/3] NFS: Properly handle the case where the delegation is revoked andros
2012-03-06 14:46 ` [PATCH 3/3] NFSv4.1 do not clear NFS_DELEAGED_STATE until stateid is tested andros
2012-03-06 14:53 ` Myklebust, Trond
2012-03-06 14:55 ` Andy Adamson
2012-03-06 15:12 ` Andy Adamson
2012-03-06 15:17 ` Myklebust, Trond
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=1331045205-3031-1-git-send-email-andros@netapp.com \
--to=andros@netapp.com \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@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;
as well as URLs for NNTP newsgroup(s).