Re: [PATCH v3 00/12] nfsd: various delegated timestamp fixes

From: Chuck Lever

Date: Tue Nov 24 2026 - 15:13:59 EST


On Tue, 24 Nov 2026 14:48:39 -0500, Jeff Layton wrote:
> v3 fixes two problems in the v2 freeze protection and SETATTR ctime
> patches, and adds a patch for the same ctime bug in CB_GETATTR.
>
> While I was reworking NFSD's delegated timestamp support, LLM review
> found several bugs in the existing code. This series fixes them.
>
> The timestamp rework is still a work in progress. These fixes can go in
> ahead of it.
>
> [...]

Applied to nfsd-testing, thanks!

[01/12] nfsd: don't hold inode_lock while waiting for a delegation in nfsd_setattr()
commit: 6f51f933294bbcff53fb6c7231f356ae8f1a6467
[02/12] nfsd: take freeze protection before updating delegation timestamps
commit: e65caea9feff1cce8a270b518e2f4475d6167423
[03/12] nfsd: count a delegation in cl_delegs_in_recall only once
commit: 266f9a2a591f084149e58e1143374a4d1638a230
[04/12] nfsd: don't grant write delegations to NFSv4.0 clients on CLAIM_PREVIOUS
commit: d4445ca4e442dc09f4eab20afdafb9d8337860ef
[05/12] nfsd: set ctime when a SETATTR with delegated times changes other attributes
commit: 1baa7cda2fba4238c193a5262a97f1dfdbf8d099
[06/12] nfsd: pin the client while a GETATTR holds a conflicting delegation
commit: aa8a7d572d5b9788784038e6a3b7d0bc805e0acf
[07/12] nfsd: recall when a CB_GETATTR reply omits the size
commit: 2b67daa277211096e5c3dbab460b09df89f74f32
[08/12] nfsd: apply delegated times in a separate times-only setattr
commit: 74ca288461569f71b86028e72120f8f2fbabff41
[09/12] nfsd: grant a plain read delegation when timestamps are wanted on a read open
commit: 92a3bf098f0738080cb7869427510364ab6a4d0f
[10/12] nfsd: check fi_had_conflict under deleg_lock before hashing a delegation
commit: 971425a24fe5961611060799392fff93e8c10804
[11/12] nfsd: take the write delegation grant stat before hashing
commit: 68c7e0626beace91513d74c0407264a51a127740
[12/12] nfsd: move ctime when CB_GETATTR applies a delegated mtime
commit: 6f174a0eca19e69a14c34b0ed56b60d484f22fd6

--
Chuck Lever