[nfsv4] Re: Fwd: New Version Notification for draft-haynes-nfsv4-uncacheable-03.txt
"Mkrtchyan, Tigran" <tigran.mkrtchyan@desy.de> Mon, 24 March 2025 20:32 UTC
Return-Path: <tigran.mkrtchyan@desy.de>
X-Original-To: nfsv4@mail2.ietf.org
Delivered-To: nfsv4@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 0B0A211C4394 for <nfsv4@mail2.ietf.org>; Mon, 24 Mar 2025 13:32:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -3.399
X-Spam-Level:
X-Spam-Status: No, score=-3.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.999, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=desy.de
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ennozY9K1juj for <nfsv4@mail2.ietf.org>; Mon, 24 Mar 2025 13:32:43 -0700 (PDT)
Received: from smtp-o-1.desy.de (smtp-o-1.desy.de [IPv6:2001:638:700:1038::1:9a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id DDB9E11C4372 for <nfsv4@ietf.org>; Mon, 24 Mar 2025 13:32:42 -0700 (PDT)
Received: from smtp-buf-1.desy.de (smtp-buf-1.desy.de [131.169.56.164]) by smtp-o-1.desy.de (Postfix) with ESMTP id 059A011F746 for <nfsv4@ietf.org>; Mon, 24 Mar 2025 21:32:40 +0100 (CET)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp-o-1.desy.de 059A011F746
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=desy.de; s=default; t=1742848361; bh=FaVl3d9i9mlgVDVLdlCrRd9Y5rsHIyGYOxfbGVWc7Pw=; h=From:Subject:Date:References:Cc:In-Reply-To:To:From; b=x/OjZhWdK30xHwH6NyvXkoabHhRPfTX9gFg6Azr2WmMxQyfrvk3qVuoka/RinqesX w48FWR0BTXe31UYwkTw4QEM9ssBbyh3aXfOwVS3FYjIgnxCAMD2ioY8CuIEyLYNXIx yzC5xTyD18gMizBWvY32Z3l4cyY2gKl4sajyQCXE=
Received: from smtp-m-2.desy.de (smtp-m-2.desy.de [131.169.56.130]) by smtp-buf-1.desy.de (Postfix) with ESMTP id E121520040; Mon, 24 Mar 2025 21:32:40 +0100 (CET)
Received: from b1722.mx.srv.dfn.de (b1722.mx.srv.dfn.de [IPv6:2001:638:d:c302:acdc:1979:2:e7]) by smtp-m-2.desy.de (Postfix) with ESMTP id D772C16003F; Mon, 24 Mar 2025 21:32:40 +0100 (CET)
Received: from smtp-intra-1.desy.de (smtp-intra-1.desy.de [IPv6:2001:638:700:1038::1:52]) by b1722.mx.srv.dfn.de (Postfix) with ESMTP id 08AF2160058; Mon, 24 Mar 2025 21:32:40 +0100 (CET)
Received: from z-mbx-2.desy.de (z-mbx-2.desy.de [131.169.55.140]) by smtp-intra-1.desy.de (Postfix) with ESMTP id E8C9080046; Mon, 24 Mar 2025 21:32:39 +0100 (CET)
Content-Type: multipart/alternative; boundary="Apple-Mail-1E584BC6-35C4-4F7E-B801-64922BC0D6FC"
Content-Transfer-Encoding: 7bit
From: "Mkrtchyan, Tigran" <tigran.mkrtchyan@desy.de>
Mime-Version: 1.0
Date: Mon, 24 Mar 2025 21:32:39 +0100
Message-Id: <1667116422.19377021.1742848359425.JavaMail.zimbra@z-mbx-2>
References: <7F4678EF-E6B9-4285-86CB-78636BA66612@gmail.com>
In-Reply-To: <7F4678EF-E6B9-4285-86CB-78636BA66612@gmail.com>
To: Thomas Haynes <loghyr@gmail.com>
X-ZxMobile-Command: SmartReply
X-ZxMobile-Version: 3.19.0
X-Mailer: Zimbra 9.0.0_GA_4718
Thread-Topic: New Version Notification for draft-haynes-nfsv4-uncacheable-03.txt
Thread-Index: gOxaE6MSU6UZ3taNYxkdpYkqNtclCA==
Message-ID-Hash: AUNTCJHXROWXH2TRFOFIQEMZUQ25GVEF
X-Message-ID-Hash: AUNTCJHXROWXH2TRFOFIQEMZUQ25GVEF
X-MailFrom: tigran.mkrtchyan@desy.de
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-nfsv4.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: NFSv4 <nfsv4@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [nfsv4] Re: Fwd: New Version Notification for draft-haynes-nfsv4-uncacheable-03.txt
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/9XCG9h9qAkUzgn6lAsVfco4jD8M>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Owner: <mailto:nfsv4-owner@ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Subscribe: <mailto:nfsv4-join@ietf.org>
List-Unsubscribe: <mailto:nfsv4-leave@ietf.org>
Hi Tom, I have mixed feeling about this proposal. From one side, it make sense. For example, we have virtual directories and their content is dynamically changes. Thus, any getattr will tell that directory is modified. This is of course bad, as those virtual directories are not modified that often. On the other hand, server NFS should not take over client cache control. Maybe such a behavior is covered by directory delegations? At least, the document should discuss why it not appropriate (too many recall, etc…) So, I think, the attribute should be a hint, telling client that directory/file changes more often than might be expected. It‘s up to client to respect the hint or not. For files, the story is even more interesting. The HPC applications typically have their own way to communicate that data is modified, for example with MPI-IO. However, the applications have no way to enforce read operations to by-pass filesystem cache. Nonetheless, if file is not modified, the cache reads are perfectly valid. So, I think, the draft have identified the problem, but I am not convicted (yet) that it proposes the right solution. Best regards, — Tigran > On 22. Mar 2025, at 01:06, Thomas Haynes <loghyr@gmail.com> wrote: > > Hi, > > I’d like to push for the NFSv4 WG to adopt this draft as a WG item. > > Thanks, > Tom > >> Begin forwarded message: >> >> From: internet-drafts@ietf.org >> Subject: New Version Notification for draft-haynes-nfsv4-uncacheable-03.txt >> Date: March 22, 2025 at 9:04:24 AM GMT+9 >> To: "Thomas Haynes" <loghyr@gmail.com> >> >> A new version of Internet-Draft draft-haynes-nfsv4-uncacheable-03.txt has been >> successfully submitted by Thomas Haynes and posted to the >> IETF repository. >> >> Name: draft-haynes-nfsv4-uncacheable >> Revision: 03 >> Title: Adding an Uncacheable Attribute to NFSv4.2 >> Date: 2025-03-21 >> Group: Individual Submission >> Pages: 9 >> URL: https://www.ietf.org/archive/id/draft-haynes-nfsv4-uncacheable-03.txt >> Status: https://datatracker.ietf.org/doc/draft-haynes-nfsv4-uncacheable/ >> HTML: https://www.ietf.org/archive/id/draft-haynes-nfsv4-uncacheable-03.html >> HTMLized: https://datatracker.ietf.org/doc/html/draft-haynes-nfsv4-uncacheable >> Diff: https://author-tools.ietf.org/iddiff?url2=draft-haynes-nfsv4-uncacheable-03 >> >> Abstract: >> >> The Network File System version 4.2 (NFSv4.2) allows a client to >> cache both metadata and data for file objects, as well as metadata >> for directory objects. While caching directory entries (dirents) can >> improve performance, it can also prevent the server from enforcing >> access control on individual dirents. Similarly, caching file data >> can lead to performance issues if the cache hit rate is low. This >> document introduces a new uncacheable attribute for NFSv4. Files and >> dirents marked as uncacheable MUST NOT be stored in client-side >> caches. This ensures data consistency and integrity by requiring >> clients to always retrieve the most recent data directly from the >> server. This document extends NFSv4.2 (see RFC7862). >> >> >> >> The IETF Secretariat >> >> >
- [nfsv4] Fwd: New Version Notification for draft-h… Thomas Haynes
- [nfsv4] Re: Fwd: New Version Notification for dra… Mkrtchyan, Tigran
- [nfsv4] Re: Fwd: New Version Notification for dra… David Noveck
- [nfsv4] Re: New Version Notification for draft-ha… Thomas Haynes
- [nfsv4] Re: Fwd: New Version Notification for dra… Christoph Hellwig