Re: [PATCH 0/3] nfsd: fix final setattr on delegated timestamps

From: cel
Date: Fri Oct 18 2024 - 16:34:42 EST


From: Chuck Lever <chuck.lever@xxxxxxxxxx>

On Fri, 18 Oct 2024 14:44:58 -0400, Jeff Layton wrote:
> Olga reported seeing a NFS4ERR_INVAL return on the final SETATTR before
> a DELEGRETURN to set the timestamps. The first patch fixes that by
> simply ensuring they are declared writeable. The second patch fixes a
> related bug in the stateid handling in that same SETATTR. The last patch
> adds a new tracepoint that I found useful for tracking this down.
>
> It might be best to squash the first two patches into this one:
>
> [...]

Applied to nfsd-next for v6.13, thanks!

[1/3] nfsd: add TIME_DELEG_ACCESS and TIME_DELEG_MODIFY to writeable attrs
(no commit info)
[2/3] nfsd: allow SETATTR to provide a READ deleg for updating time_access
(no commit info)
[3/3] nfsd: new tracepoint for after op_func in compound processing
commit: ba6b3220066fdbd38063230cfc7951b728f15464

--
Chuck Lever