Re: [PATCH v4 0/8] nfsd/vfs: fix handling of delegated timestamp updates

From: Chuck Lever
Date: Wed Jul 30 2025 - 09:55:19 EST


From: Chuck Lever <chuck.lever@xxxxxxxxxx>

On Wed, 30 Jul 2025 09:24:29 -0400, Jeff Layton wrote:
> This patchset fixes the handling of delegated timestamps in nfsd. This
> one also adopts Neil's suggestopn to use FMODE_NOCMTIME to freeze
> timestamp updates while there is a WRITE_ATTRS delegation outstanding.
>
> Most of these patches are identical to the last set. I dropped the patch
> that removes inode_set_ctime_deleg(), and reworked the logic in
> setattr_copy() and friends to accomodate.
>
> [...]

Applied v4 to nfsd-testing, thanks!

[1/8] nfsd: fix assignment of ia_ctime.tv_nsec on delegated mtime update
commit: 237f236e44701cffc5cd9e302d4fec172a954d2f
[2/8] nfsd: ignore ATTR_DELEG when checking ia_valid before notify_change()
commit: 30a594d856dc2fc89d3751b5d630cd55fceffd9a
[3/8] vfs: add ATTR_CTIME_SET flag
commit: 3076cf4693efc8596a1d1eee17a9bc9b5c4b197d
[4/8] nfsd: use ATTR_CTIME_SET for delegated ctime updates
commit: 12b1b09ddb932c2be8148758ebb5d93265293d18
[5/8] nfsd: track original timestamps in nfs4_delegation
commit: 2082ff203cad83a7d50478112b2089743f8fea43
[6/8] nfsd: fix SETATTR updates for delegated timestamps
commit: 90a615f4a2836bbaf91ac18c3157944655949368
[7/8] nfsd: fix timestamp updates in CB_GETATTR
commit: ba17826b25e921ebca04fc54a59336dad68302ac
[8/8] nfsd: freeze c/mtime updates with outstanding WRITE_ATTRS delegation
commit: 278138d4f85df580edde73ad4d89b8aae75d0e77

--
Chuck Lever