Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.43 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795022645; b=Ha64llI2YT1hgDNFvq0U8M1t8hV693zs+DxejfLDjVu0Ge+pRJuKGAvEJ1In0A06R55v +MdDGPxB5OcfayFlkYBh08Cd1fzMEQoB/FqVmGvSv+WksjkxqHJwhNrIepQWEdt6URpgK h1/Oo+39wqMlppv8WNt7w7vjNAIKLVwmSUf04rGQq4T+G/P8QeSFV0V9IP34zdicvyuXZ GOTY1272otszmCVMPhBzmXSr1C+xvpgY2eypd7p6Dos6AA6kjilndZ0nhAZAENlrFeTbm y8bJfVHMtss+ybbVkAKCotKAO2smXj4GNZJwxpRcgn+MVL1yMmi5BFBuHrF7ky3Tx0A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795022645; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To:X-Mailer: References:In-Reply-To; bh=8VmZcMVpc16J1nBk01fE3vMPgjnZWh0+ezLB75Qyp4E=; b=UUTFhvXC4tC48TcORi8SC9yPUzsKhL+tnC/r4SClnN2fDZq4uhQ7hdn9vVyDFeiLfvTe TIg+Tti5SNcZH885R8jwFaiwqGz0kG1fx205KYce2C5QsdAs8p6n+JhKg6QOS2rfyv7et 8Wqza9Gd6XMA6PZ3nehvf+ZK3rGDqfycIQTvcfvBAQLvS2xFeaq325e1i9q77nR+ylwVe EEYYc44G5GRQYXLDbKcDMzV2gtecyCdPTtg7WnxIxt/QQwVrIyAXvGwevzTEsgWnSrSFK QsiUCjOMJR3pTd/6xsBQqrO/pXJ1msTT3rVjj/TGM1Ol6OEucPAvjur9sEErfJzmDTQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=fnxcf720; arc=none smtp.remote-ip=209.85.221.43 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41186606A330 for ; Wed, 18 Nov 2026 17:24:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 41186606A330 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=fnxcf720 Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-48e20ed3b9dso1120892f8f.2 for ; Wed, 18 Nov 2026 09:24:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795022644; x=1795627444; darn=lists.linux.dev; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:mime-version:from:to:cc:subject:date:message-id :reply-to:content-type; bh=8VmZcMVpc16J1nBk01fE3vMPgjnZWh0+ezLB75Qyp4E=; b=fnxcf720BTaR10KWWGTalwVpG0w2iAbUDd6ixGLFqU+eUiW6P304A+giihGYmdIqy+ U4LIKJHiZ6WmAEf6zFkd0oMiq7d4g0rAAfs3q6X0SGBXRlLfwKghWGez7KM1+w6+P1uM xbbESKhuX0uZj/6pmeC1uQudqMyf5kOl0UJhP//4d7+xLTHhue5rKAoIlIt7WYm03kQN arWArpJgW+OPXKup+GfdKOj+a6I9jLsjZx0hk3LcHqLuTaN52rL8Ejc8SgO2y+tDTbeI +E5lZdsBenI1d2M7jW1xCyhSdj+YYakkQpOjCsPb/2LETp/nz3s1eUZ8fKypFJGZJB1j j7Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795022644; x=1795627444; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=8VmZcMVpc16J1nBk01fE3vMPgjnZWh0+ezLB75Qyp4E=; b=PIuYJRK2jFcAEWeYZqrrIjldNfLKBrB2nn3zcQIfK93k7HLmAEnaBdCCjgI7MM9c9L BQ5eeGRrWRG+7Ia2NauqpM+nprNrkSbLqHyqUU2ZyFN4QU9Ykja+/q5XOWrXDkxfGJyo gWPvniugctvwPE/pQjSqkmFh/SPcXK5O6PiN6+x9s1CZYuVaXOI52RYf5LvGEpo5Z2As wF1NbgEi4ED1hWa43DcdkUZrV1Bjq59oZHCDLFkhZnXmN26PiqGn9hjQOo2NmRVX3sCM pJuVAa5QDDS3rPR5F7sQvOu3xJBrjPuKwoDd5/2LSjfEhV1545cEJ9QEVZrdltWgBeSz 0Gmw== X-Forwarded-Encrypted: i=1; AL+hErEaWWx89QD+G2WmRs8gYUMTf5PEK9EtfPIFrDBoZNwMOhxDFSoN5GGQRv7+L6V+7OHHEayxcw==@lists.linux.dev X-Gm-Message-State: APuU4Z8RmAvEApos9KjiGMp61hBN4r6JHo4nUuVbJ5hHP1TWekz3Ntzy DCbuPBY0DDDaQ3I/1tG7s+45EhsEB/nxspX7WuvfxHabqKtbFLLdhvnz X-Gm-Gg: AZFdTZc3OF8f18v5E1giyN2eVhjO+R/MIQWiXuxq4Jjku+418+pNmwer/XIf1PEM1xa VfZSb4AU74rkpfs93Is83injUBO5oRd14/MK46eFt0/MH7SoU9KPTFj+TC2M0qKx0I7a1aL43uk nOuTGlKz4yi7SswF5cOxDIl6UnKmuwWXOpwvOe7xDMjUU15gbZLbpq78CKBkXGj5xgb22a+fxol SZAnVnzXZlnGzNqXe4fSdfTksFOZe43cHtLTpN7FwSQZmEc6sj1nvowVt6dvXiEA57hl3K+hXUR uzp9Or4RzX/OFfEQqB/Lghev7qhrY3++KQGyVCKG8ZnnGg/DjupKI9pM7rzCousxhvXn5B9668Y xIuAAhE8vvnmUfna2UcF31SQLe9/YtcWn81C/jvg5ciyBq7SdyOQn/qP404vScMbT0UNHc5Lrw+ lSdWrqqYbZJ2IJLEanYJhoc4KRUruVahvKZKPHH7DClVNok34MvdbD7EZdlB4q4cu0yTHjF3GoI G7mO0JpTI8k3fSrpCpXZbys69sfJe9kqWL+wYGzxA0VyKJKXt7HC5DxMMCMIlosuk0XyDD/zP0F B2Lb40lwUzgCKF0Dich9gBL6VmkS X-Received: by 2002:a5d:5888:0:b0:48f:f26d:c5c with SMTP id ffacd0b85a97d-4a638058303mr6313854f8f.9.1795022643534; Wed, 18 Nov 2026 09:24:03 -0800 (PST) Received: from localhost ([2001:b07:5d26:7a6a:de3b:51f3:e461:c0df]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4a65560b2a1sm5678801f8f.32.2026.11.18.09.24.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Nov 2026 09:24:02 -0800 (PST) X-Mailing-List: exfat@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Type: multipart/signed; boundary=bbdccfc2c1d2aebcf158821f40e232b6fbc6627f296287ed966c4171fde4; micalg=pgp-sha512; protocol="application/pgp-signature" Date: Wed, 18 Nov 2026 18:23:48 +0100 Message-Id: Cc: "koraynilay" , "David Sterba" , "Namjae Jeon" , "Sungjong Seo" , "Alexander Viro" , "Christian Brauner" , "Trond Myklebust" , "Anna Schumaker" , "Jeff Layton" , "Konstantin Komarov" , "Paulo Alcantara" , "Chris Mason" , "Yuezhang Mo" , "Jan Kara" , "NeilBrown" , "Olga Kornievskaia" , "Dai Ngo" , "Tom Talpey" , "Ronnie Sahlberg" , "Shyam Prasad N" , "Bharath SM" , "Sergey Senozhatsky" , "ChenXiaoSong" , "Darrick J. Wong" , "Sean Smith" , "Andrey Albershteyn" , "Pedro Falcato" , =?utf-8?q?Pali_Roh=C3=A1r?= , , , , , , , , Subject: Re: [RFC PATCH v4 07/10] nfsd: add provenance time (ptime) via FATTR4_TIME_CREATE From: "koraynilay" To: "Chuck Lever" , "Amir Goldstein" X-Mailer: aerc 0.22.0-0-gc2f86b7abde3 References: <20261115180343.576773-1-koray.fra@gmail.com> <20261115180343.576773-8-koray.fra@gmail.com> <9c4a509c-b6af-4da1-8a64-9d5c26c74bff@app.fastmail.com> In-Reply-To: <9c4a509c-b6af-4da1-8a64-9d5c26c74bff@app.fastmail.com> --bbdccfc2c1d2aebcf158821f40e232b6fbc6627f296287ed966c4171fde4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Wed Nov 18, 2026 at 6:14 PM CET, Chuck Lever wrote: > > > 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. Not really though, newly created files will have btime =3D=3D ptime, and fo= r older files ptime won't be set until someone sets it. If the underlying filesystem changes it, then it's the same situation as if someone on the server manually changed a/c/mtime on the underlying filesystem without informing the NFS server. Although, I'm not sure if my current code in this patch updates iversion on ptime change, if that's the case I'll fix it for v5 since it'd be a bug. Thanks, koraynilay --bbdccfc2c1d2aebcf158821f40e232b6fbc6627f296287ed966c4171fde4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRJ2XvJtXGwULYEerQ0bnTtJTDoOAUCav3fJAAKCRA0bnTtJTDo OGpSAP9c3bOzD+a1N5jl1ZhnFHHQAamxFgzhMndzKRwdMl1YGAEA6Y2M7vsijmj3 bnNJpnj8gPwfPO+5AFboA6admpWVWwY= =xhrE -----END PGP SIGNATURE----- --bbdccfc2c1d2aebcf158821f40e232b6fbc6627f296287ed966c4171fde4--