Linux NFS development
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@kernel.org>
To: NeilBrown <neilb@ownmail.net>, Chuck Lever <chuck.lever@oracle.com>
Cc: Olga Kornievskaia <okorniev@redhat.com>,
	Dai Ngo <Dai.Ngo@oracle.com>,  Tom Talpey <tom@talpey.com>,
	linux-nfs@vger.kernel.org
Subject: Re: [PATCH 0/2] cleanups in nfs4reovery.c
Date: Mon, 08 Sep 2025 15:40:45 -0400	[thread overview]
Message-ID: <4af61e35dc3a3af9bd25e10c1c02d9d4f43f5db7.camel@kernel.org> (raw)
In-Reply-To: <20250908014348.329348-1-neilb@ownmail.net>

On Mon, 2025-09-08 at 11:38 +1000, NeilBrown wrote:
> This first of these patchs is part of my work to change how directory
> locking is managed.  That will involve moving the lock as close as possible
> to the operation being locked, and using some standard interfaces 
> which combine the lock and the lookup.  Then changing the mechanics of
> taking a lock.
> 
> nfsd4_list_rec_dir() currenty locks a direct and performs a lookup
> in a different function to where the lock and lookup results are needed,
> and does it even when those are not needed at all.  So the first
> patch moves the lock and lookup to where it is needed.
> 
> The second patch (arguably) improves the calling protocol for
> nfs4_client_to_reclaim().  If people don't like this second patch I'm
> happy for it to be dropped.  It is the first patch which is particularly
> important to me.
> 
> Thanks,
> NeilBrown
> 
> 
>  [PATCH 1/2] nfsd: move name lookup out of nfsd4_list_rec_dir()
>  [PATCH 2/2] nfsd: change nfs4_client_to_reclaim() to allocate data

I'm fine with both of these, so:

Reviewed-by: Jeff Layton <jlayton@kernel.org>

...this does remind me though:

Is it time to switch the default for CONFIG_NFSD_LEGACY_CLIENT_TRACKING
to N? It has been a little over a year since we added the Kconfig
option (and had it default to Y).

  parent reply	other threads:[~2025-09-08 19:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-08  1:38 [PATCH 0/2] cleanups in nfs4reovery.c NeilBrown
2025-09-08  1:38 ` [PATCH 1/2] nfsd: move name lookup out of nfsd4_list_rec_dir() NeilBrown
2025-09-08  1:38 ` [PATCH 2/2] nfsd: change nfs4_client_to_reclaim() to allocate data NeilBrown
2025-09-08 14:36 ` [PATCH 0/2] cleanups in nfs4reovery.c Chuck Lever
2025-09-08 19:40 ` Jeff Layton [this message]
2025-09-08 20:02   ` Chuck Lever

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=4af61e35dc3a3af9bd25e10c1c02d9d4f43f5db7.camel@kernel.org \
    --to=jlayton@kernel.org \
    --cc=Dai.Ngo@oracle.com \
    --cc=chuck.lever@oracle.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=neilb@ownmail.net \
    --cc=okorniev@redhat.com \
    --cc=tom@talpey.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