From: Jeff Layton <jeff.layton@primarydata.com>
To: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH 0/5] Parallelise OPEN/OPEN_DOWNGRADE/CLOSE in NFSv4.x (x>0)
Date: Sat, 24 Jan 2015 06:58:00 -0500 [thread overview]
Message-ID: <20150124065800.4e1900a1@tlielax.poochiereds.net> (raw)
In-Reply-To: <1422077968-116473-1-git-send-email-trond.myklebust@primarydata.com>
On Sat, 24 Jan 2015 00:39:23 -0500
Trond Myklebust <trond.myklebust@primarydata.com> wrote:
> Hi all,
>
> The following patchset improves the tracking of stateids in the CLOSE code
> to ensure that we can rely on it in situations where we remove the NFSv4.0
> serialisation of state that shares the same open owners.
> It then proceeds to add a series of changes to the NFSv4.0 seqid code to
> ensure that it can be removed in the case of NFSv4.0 opens.
> Only lightly tested so far, but it seems to be working...
>
> In principle there is nothing stopping us from doing the same with byte
> range locks; we only need to add better atomicity of stateid updates,
> so that we can track the seqid number in the stateid and ensure that it
> never regresses. The exercise has been left for the reader...
>
> Cheers
> Trond
>
> Trond Myklebust (5):
> NFSv4: Fix an atomicity problem in CLOSE
> NFSv4: More CLOSE/OPEN races
> NFSv4: Convert nfs_alloc_seqid() to return an ERR_PTR() if allocation
> fails
> NFSv4: Check for NULL argument in nfs_*_seqid() functions
> NFSv4.1: Allow parallel OPEN/OPEN_DOWNGRADE/CLOSE
>
> fs/nfs/nfs4_fs.h | 3 +++
> fs/nfs/nfs4proc.c | 50 ++++++++++++++++++++++++++++++++++++++++---------
> fs/nfs/nfs4state.c | 31 ++++++++++++++++++------------
> fs/nfs/nfs4xdr.c | 9 ++++++---
> include/linux/nfs_xdr.h | 2 +-
> 5 files changed, 70 insertions(+), 25 deletions(-)
>
Nice work! I gave it a once-over and it looks pretty sound. I'll plan
to give it a good thrashing soon.
--
Jeff Layton <jeff.layton@primarydata.com>
next prev parent reply other threads:[~2015-01-24 11:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-24 5:39 [PATCH 0/5] Parallelise OPEN/OPEN_DOWNGRADE/CLOSE in NFSv4.x (x>0) Trond Myklebust
2015-01-24 5:39 ` [PATCH 1/5] NFSv4: Fix an atomicity problem in CLOSE Trond Myklebust
2015-01-24 5:39 ` [PATCH 2/5] NFSv4: More CLOSE/OPEN races Trond Myklebust
2015-01-24 5:39 ` [PATCH 3/5] NFSv4: Convert nfs_alloc_seqid() to return an ERR_PTR() if allocation fails Trond Myklebust
2015-01-24 5:39 ` [PATCH 4/5] NFSv4: Check for NULL argument in nfs_*_seqid() functions Trond Myklebust
2015-01-24 5:39 ` [PATCH 5/5] NFSv4.1: Allow parallel OPEN/OPEN_DOWNGRADE/CLOSE Trond Myklebust
2015-01-24 11:46 ` [PATCH 1/5] NFSv4: Fix an atomicity problem in CLOSE Jeff Layton
2015-01-24 11:53 ` Jeff Layton
2015-01-24 11:58 ` Jeff Layton [this message]
2015-01-25 13:19 ` [PATCH 0/5] Parallelise OPEN/OPEN_DOWNGRADE/CLOSE in NFSv4.x (x>0) Jeff Layton
2015-01-25 15:14 ` Jeff Layton
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=20150124065800.4e1900a1@tlielax.poochiereds.net \
--to=jeff.layton@primarydata.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