Re: [RFC PATCH v4 07/10] nfsd: add provenance time (ptime) via FATTR4_TIME_CREATE

From: Chuck Lever

Date: Wed Nov 18 2026 - 12:14:37 EST




On Wed, Nov 18, 2026, at 11:36 AM, Amir Goldstein wrote:
> Can't an NFS client be connected to another NFS server
> implementation which does allow this?
>
> I can't wrap my head around the problem.

You already named the problem in a previous email: What happens
when the NFS server's kernel is upgraded from an NFSD that exposes
only btime to one that picks either ptime or btime?

Clients will see a file's btime before the server restart, and
afterwards, they will see a changed TIME_CREATE but the file's
NFSv4 change attribute will be unchanged.


--
Chuck Lever (Come to NFS bake-a-thon! https://nfsv4bat.org)