Re: [PATCH v2] nfsd: don't set the ctime on delegated atime updates

From: Chuck Lever
Date: Wed Jul 16 2025 - 09:53:28 EST


From: Chuck Lever <chuck.lever@xxxxxxxxxx>

On Wed, 16 Jul 2025 09:34:29 -0400, Jeff Layton wrote:
> Clients will typically precede a DELEGRETURN for a delegation with
> delegated timestamp with a SETATTR to set the timestamps on the server
> to match what the client has.
>
> knfsd implements this by using the nfsd_setattr() infrastructure, which
> will set ATTR_CTIME on any update that goes to notify_change(). This is
> problematic as it means that the client will get a spurious ctime
> updates when updating the atime.
>
> [...]

Applied v2 to nfsd-testing, thanks!

[1/1] nfsd: don't set the ctime on delegated atime updates
commit: c82fd6eaa88b8b0922ee2c77ec1b644418e0768a

--
Chuck Lever