From: Olga Kornievskaia <okorniev@redhat.com>
To: chuck.lever@oracle.com, jlayton@kernel.org
Cc: linux-nfs@vger.kernel.org, neilb@brown.name, Dai.Ngo@oracle.com,
tom@talpey.com
Subject: [PATCH v2 0/3] nfsd update mtime/ctime on CLONE/COPY with delegated attritutes
Date: Wed, 8 Apr 2026 15:00:05 -0400 [thread overview]
Message-ID: <20260408190008.85082-1-okorniev@redhat.com> (raw)
generic/407 is failing in presence of delegated attributes and this patch series
explores the solution where the CLONE compound returns updated mtime/ctime
in the GETATTR op in the compound.
It's broken into several pieces as I consider asynchronous copy update the trickest
because the copy thread currently have no dentry to call notify_change() on. And
if we are going to keep a copy of it while the copy is running we probably need to
take a reference on it (which I attempt to do).
-- Changes
v2:
patch1: added ATTR_DELEG and doing update if status is successful
patch2: doing update if we copied positive number of bytes copied
patch3: dput on error is done based on non-null d_dst, update is done before
callback call and if positive number of bytes copied
Olga Kornievskaia (3):
nfsd: update mtime/ctime on CLONE in presense of delegated attributes
nfsd: update mtime/ctime on synchronous COPY with delegated attributes
nfsd: update mtime/ctime on asynchronous COPY with delegated
attributes
fs/nfsd/nfs4proc.c | 41 +++++++++++++++++++++++++++++++++++++++--
fs/nfsd/xdr4.h | 1 +
2 files changed, 40 insertions(+), 2 deletions(-)
--
2.52.0
next reply other threads:[~2026-04-08 19:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-08 19:00 Olga Kornievskaia [this message]
2026-04-08 19:00 ` [PATCH v2 1/3] nfsd: update mtime/ctime on CLONE in presense of delegated attributes Olga Kornievskaia
2026-04-08 23:07 ` Chuck Lever
2026-04-09 14:12 ` Olga Kornievskaia
2026-04-08 19:00 ` [PATCH v2 2/3] nfsd: update mtime/ctime on synchronous COPY with " Olga Kornievskaia
2026-04-08 19:00 ` [PATCH v2 3/3] nfsd: update mtime/ctime on asynchronous " Olga Kornievskaia
2026-04-08 23:11 ` 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=20260408190008.85082-1-okorniev@redhat.com \
--to=okorniev@redhat.com \
--cc=Dai.Ngo@oracle.com \
--cc=chuck.lever@oracle.com \
--cc=jlayton@kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=neilb@brown.name \
--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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).