Linux NFS development
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Andrew W Elble <aweits@rit.edu>
Cc: linux-nfs@vger.kernel.org, jlayton@poochiereds.net
Subject: Re: [PATCH RFCv2] nfsd: fix race with open / open upgrade stateids
Date: Thu, 5 Nov 2015 17:03:46 -0500	[thread overview]
Message-ID: <20151105220346.GK9210@fieldses.org> (raw)
In-Reply-To: <m2a8qsru1m.fsf@discipline.rit.edu>

On Thu, Nov 05, 2015 at 04:54:45PM -0500, Andrew W Elble wrote:
> 
> > Is there some lock imbalance?:
> 
> Hmmmm, I'll have to poke at that a bit.
> 
> > When you send a v2 patch, would you mind also describing what's changed?
> > If you stick the description here (between the --- and the diff), it'll
> > be discarded when git applies the patch (which is what we want).
> 
> Ah. In this case, v1 missed unlocking the rwsem if nfs4_upgrade_open()
> returned status.

OK.  Just to make sure, I checked again, and I was indeed testing with
your v2 (on top of some patches of my own which I'm fairly certain
weren't the cause, but I'll double check that as well).

--b.

  reply	other threads:[~2015-11-05 22:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-04 17:13 [PATCH RFCv2] nfsd: fix race with open / open upgrade stateids Andrew Elble
2015-11-05 21:21 ` J. Bruce Fields
2015-11-05 21:54   ` Andrew W Elble
2015-11-05 22:03     ` J. Bruce Fields [this message]
2015-11-06  1:14       ` Andrew W Elble

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=20151105220346.GK9210@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=aweits@rit.edu \
    --cc=jlayton@poochiereds.net \
    --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