public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] nfsd update mtime/ctime on CLONE/COPY with delegated attritutes
@ 2026-04-09 16:43 Olga Kornievskaia
  2026-04-09 16:43 ` [PATCH v3 1/2] nfsd: update mtime/ctime on CLONE in presense of delegated attributes Olga Kornievskaia
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Olga Kornievskaia @ 2026-04-09 16:43 UTC (permalink / raw)
  To: chuck.lever, jlayton; +Cc: linux-nfs, neilb, Dai.Ngo, tom

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.

Both CLONE and COPY need to update destination file mtime/ctime
(in presence of delegated timestamp) when file was modified.

v3 changes:
--- Consolidated synchronous and asynchronous COPY patches into single
patch.
patch1: pulled out notify_change() code from nfsd4_finalize_deleg_timestamps as
it's shared with nfsd_update_cmtime_attr and both paths log an error if
notify_change() fails
patch2: dentry can be pulled from copy->nf_dst->nf_file.fh_path.dentry and
no longer requires additional tracking.

Olga Kornievskaia (2):
  nfsd: update mtime/ctime on CLONE in presense of delegated attributes
  nfsd: update mtime/ctime on COPY in presence of delegated attributes

 fs/nfsd/nfs4proc.c  | 30 +++++++++++++++++++++++++++++-
 fs/nfsd/nfs4state.c | 14 +-------------
 fs/nfsd/state.h     | 16 ++++++++++++++++
 3 files changed, 46 insertions(+), 14 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-04-09 19:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-09 16:43 [PATCH v3 0/2] nfsd update mtime/ctime on CLONE/COPY with delegated attritutes Olga Kornievskaia
2026-04-09 16:43 ` [PATCH v3 1/2] nfsd: update mtime/ctime on CLONE in presense of delegated attributes Olga Kornievskaia
2026-04-09 19:21   ` Chuck Lever
2026-04-09 16:43 ` [PATCH v3 2/2] nfsd: update mtime/ctime on COPY in presence " Olga Kornievskaia
2026-04-09 18:37   ` Chuck Lever
2026-04-09 18:50     ` Olga Kornievskaia
2026-04-09 16:56 ` [PATCH v3 0/2] nfsd update mtime/ctime on CLONE/COPY with delegated attritutes Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox