Linux NFS development
 help / color / mirror / Atom feed
From: Benjamin Coddington <ben.coddington@hammerspace.com>
To: Trond Myklebust <trondmy@kernel.org>, Anna Schumaker <anna@kernel.org>
Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/1] Client optimize away CB_RECALL for write delegation
Date: Thu, 28 May 2026 15:22:41 -0400	[thread overview]
Message-ID: <cover.1779995818.git.bcodding@hammerspace.com> (raw)

A client holding a write delegation that performs a SETATTR that would
remove the client's write access can expect the server to recall that
delegation.  The following patch addresses the simplest case to dectect this
and then preemptively return the delegation rather than have server recall
it.

Benjamin Coddington (1):
  nfs: return a write delegation when a SETATTR drops our write access

 fs/nfs/nfs4proc.c | 66 ++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 62 insertions(+), 4 deletions(-)


base-commit: e7ae89a0c97ce2b68b0983cd01eda67cf373517d
-- 
2.53.0


             reply	other threads:[~2026-05-28 19:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-28 19:22 Benjamin Coddington [this message]
2026-05-28 19:22 ` [PATCH 1/1] nfs: return a write delegation when a SETATTR drops our write access Benjamin Coddington
2026-05-29 14:00   ` Trond Myklebust
2026-05-29 15:27     ` Rick Macklem
2026-05-29 15:46       ` Rick Macklem
2026-05-29 19:46       ` Benjamin Coddington
2026-05-29 16:22     ` Benjamin Coddington
2026-05-29 23:20       ` Rick Macklem

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=cover.1779995818.git.bcodding@hammerspace.com \
    --to=ben.coddington@hammerspace.com \
    --cc=anna@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trondmy@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