From: Trond Myklebust <trond.myklebust@primarydata.com>
To: Benjamin Coddington <bcodding@redhat.com>,
Anna Schumaker <anna.schumaker@netapp.com>
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH v5 00/10] Fix OPEN/CLOSE races
Date: Fri, 3 Nov 2017 07:35:29 -0400 [thread overview]
Message-ID: <20171103113539.5551-1-trond.myklebust@primarydata.com> (raw)
v2:
- Fix a sleep-while-atomic issue
- Clean up.
- Add a tracepoint to help document wait incidents.
v3:
- Fix a state update issue
v4:
- Fix a race due to setting the state->flags before waiting on another
compound (can cause issues if the other compound has an OPEN_DOWNGRADE).
- Fix stateid seqid wraparound.
v5:
- Fix race with wakeup after clearing NFS_STATE_CHANGE_WAIT
- Fix CLOSE, DELEGRETURN and LAYOUTRETURN issues with
NFS4ERR_OLD_STATEID, which were causing stateid leakage
- cleanups
- Fix a typo in nfs_rename...
Trond Myklebust (10):
NFSv4: Fix OPEN / CLOSE race
NFSv4: Add a tracepoint to document open stateid updates
NFSv4: Fix open create exclusive when the server reboots
NFS: Fix a typo in nfs_rename()
NFSv4: Retry CLOSE and DELEGRETURN on NFS4ERR_OLD_STATEID.
NFSv4: Don't try to CLOSE if the stateid 'other' field has changed
pNFS: Retry NFS4ERR_OLD_STATEID errors in layoutreturn-on-close
NFSv4: Retry NFS4ERR_OLD_STATEID errors in layoutreturn
NFSv4: cleanup nfs4_close_done
NFSv4: Clean up nfs4_delegreturn_done
fs/nfs/delegation.c | 27 +++++
fs/nfs/delegation.h | 1 +
fs/nfs/dir.c | 2 +-
fs/nfs/nfs4_fs.h | 7 ++
fs/nfs/nfs4proc.c | 287 +++++++++++++++++++++++++++++++++++++---------------
fs/nfs/nfs4state.c | 26 ++++-
fs/nfs/nfs4trace.h | 2 +
fs/nfs/pnfs.c | 18 ++++
fs/nfs/pnfs.h | 1 +
9 files changed, 287 insertions(+), 84 deletions(-)
--
2.13.6
next reply other threads:[~2017-11-03 11:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-03 11:35 Trond Myklebust [this message]
2017-11-03 11:35 ` [PATCH v5 01/10] NFSv4: Fix OPEN / CLOSE race Trond Myklebust
2017-11-03 11:35 ` [PATCH v5 02/10] NFSv4: Add a tracepoint to document open stateid updates Trond Myklebust
2017-11-03 11:35 ` [PATCH v5 03/10] NFSv4: Fix open create exclusive when the server reboots Trond Myklebust
2017-11-03 11:35 ` [PATCH v5 04/10] NFS: Fix a typo in nfs_rename() Trond Myklebust
2017-11-03 11:35 ` [PATCH v5 05/10] NFSv4: Retry CLOSE and DELEGRETURN on NFS4ERR_OLD_STATEID Trond Myklebust
2017-11-03 11:35 ` [PATCH v5 06/10] NFSv4: Don't try to CLOSE if the stateid 'other' field has changed Trond Myklebust
2017-11-03 11:35 ` [PATCH v5 07/10] pNFS: Retry NFS4ERR_OLD_STATEID errors in layoutreturn-on-close Trond Myklebust
2017-11-03 11:35 ` [PATCH v5 08/10] NFSv4: Retry NFS4ERR_OLD_STATEID errors in layoutreturn Trond Myklebust
2017-11-03 11:35 ` [PATCH v5 09/10] NFSv4: cleanup nfs4_close_done Trond Myklebust
2017-11-03 11:35 ` [PATCH v5 10/10] NFSv4: Clean up nfs4_delegreturn_done Trond Myklebust
2017-11-03 16:46 ` [PATCH v5 07/10] pNFS: Retry NFS4ERR_OLD_STATEID errors in layoutreturn-on-close Anna Schumaker
2017-11-03 16:54 ` Trond Myklebust
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=20171103113539.5551-1-trond.myklebust@primarydata.com \
--to=trond.myklebust@primarydata.com \
--cc=anna.schumaker@netapp.com \
--cc=bcodding@redhat.com \
--cc=linux-nfs@vger.kernel.org \
/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).