linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Trond Myklebust <trondmy@hammerspace.com>
To: "bcodding@redhat.com" <bcodding@redhat.com>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>,
	"anna.schumaker@netapp.com" <anna.schumaker@netapp.com>
Subject: Re: client skips revalidation if holding a delegation
Date: Mon, 10 Jun 2019 16:43:53 +0000	[thread overview]
Message-ID: <2cc7cbfda42601d2e52ee63bed2dbb4140401adc.camel@hammerspace.com> (raw)
In-Reply-To: <243407AC-A416-4FF2-A09B-B1362C6206D9@redhat.com>

On Mon, 2019-06-10 at 10:14 -0400, Benjamin Coddington wrote:
> On 4 Jun 2019, at 15:00, Benjamin Coddington wrote:
> 
> > At least now I can spend some time on it and not feel aimless,
> > thanks for
> > the closer look.
> 
> I am not finding a reliable way to fix this and retain the
> optimization.  I
> will send a patch to remove it.


How about just moving the optimisation into the if
(nfs_check_verifier()) { } case? There should be no need to do the
nfs_lookup_verify_inode() dance if we hold a delegation. should there?

-- 
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@hammerspace.com



  reply	other threads:[~2019-06-10 16:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-04 12:41 client skips revalidation if holding a delegation Benjamin Coddington
2019-06-04 12:56 ` Trond Myklebust
2019-06-04 14:10   ` Benjamin Coddington
2019-06-04 14:53     ` Trond Myklebust
2019-06-04 19:00       ` Benjamin Coddington
2019-06-10 14:14         ` Benjamin Coddington
2019-06-10 16:43           ` Trond Myklebust [this message]
2019-06-11 17:01             ` Benjamin Coddington
2019-06-10 17:08   ` Olga Kornievskaia

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=2cc7cbfda42601d2e52ee63bed2dbb4140401adc.camel@hammerspace.com \
    --to=trondmy@hammerspace.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).