[nfsv4] Re: Gunter Van de Velde's Discuss on draft-ietf-nfsv4-layoutwcc-05: (with DISCUSS and COMMENT)

Thomas Haynes <loghyr@gmail.com> Thu, 09 January 2025 15:53 UTC

Return-Path: <loghyr@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 359E8C23A83A; Thu, 9 Jan 2025 07:53:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.103
X-Spam-Level:
X-Spam-Status: No, score=-2.103 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DlJ_80mr0fJY; Thu, 9 Jan 2025 07:53:23 -0800 (PST)
Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 23F1BC1DA2F8; Thu, 9 Jan 2025 07:53:23 -0800 (PST)
Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-2164b662090so16965935ad.1; Thu, 09 Jan 2025 07:53:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736438002; x=1737042802; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=7ccDboEoiScpyZFvkG2MFBlNpbW92873PUbUOCPbOqA=; b=LqrAL25epjzRIsDWmf84kwT7jmM5Ji13khEZgaof5870J0EFhrQzS8KctJZfj4JLo/ W4hnYdsoytvojZKwsKxjV7aw/5K5EiDP/U43amf5nTKSARM02W8vP1GOzpchKNpE2+lC SHb5NuLeI7Bp/mw0X6Zc6Arupxe+JQqYNe+obm468hJNjgx5UoWW8XYwH40k4TzwH6y3 K+WYSYBx7Pbi87Eknay7WGznfWDYCeGRKNJeI7sdlBF76EVwfEnzoeOPqVm1Lmtc5glA 1nvybFdDjdR1Sqg+nn0MAv2wrRivc3drjCiAnNxFR3ju0h7gp47bYK+NDvcAWZAcEKke RWVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736438002; x=1737042802; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7ccDboEoiScpyZFvkG2MFBlNpbW92873PUbUOCPbOqA=; b=TLJ60JxvCwkMmjdUMGmbTX3z05TX+N3yogt7YgPwx9i6Ypbb+HFungRlYNqhlDsYWJ p1ZlGC5Vz8x1KZr+1e4Cy5t0YfnOOnZCyzP1jxtZiGKGSnRQ3f5qyhjf8XRUIIKR5vjJ rkljGHFhj+v6ANClTRWCu65bvn5okJSMzgufrzbtFRi/FRb/ZI50TH57G8SLqbbGvyf1 s7HWGVW78oB0tA/cB3fAa5v3izFztFQ7ZzEbunLbCAU7Y4fFyH/er1PzxW9+uzl97ALQ CNCm+XKXeRJmTBSuxo5a16whtLzItZom7VwquniuugysMPyXSHvgz2OKbjVqsi7xwWBS w80A==
X-Forwarded-Encrypted: i=1; AJvYcCVoDxBXYAIG5i3cKH5sRJn56ir32KYUFSBNWt/3f5zHVM2wufW/gf96foIjBSAn8k3om7okn+PA2aflQ3ml@ietf.org, AJvYcCWVcXEbqJEJ0LWzGSxjZ0i1MKa/H3xamdznlA43toGKkN5TUCm9mLVFMsWHrlB4huYsP//FMXo=@ietf.org, AJvYcCWp4vHCVQ8Z7rumdNKGcVghCwp6gDt937V/pOc/KJktXbfLjy+Ao4srTxqEe/USBgfmnwO9Vi+QsZgVqGkOVxkWtIkbuOos3//O7A==@ietf.org, AJvYcCWveW8eFWNiXBPAUPx5oJBBwQxxjpDrlnlvO+Fb5yx3/RDC92MxCS9QXtUKHox8GqRLdM6qZw==@ietf.org
X-Gm-Message-State: AOJu0YxJtjPMNaktj8yjhPNSuXH+DtuAlV/p8Hyahb5Kpsn0Vi7Ps1pw yPk5pIlfNVeboxPPTRSbDbYIXni2KQl0zPmgV9uke3y6Knk83frC
X-Gm-Gg: ASbGncuimiA9TuGFsPZcrYSyHHKWvsPcmaIIQQfBC48MkVu7xktr1drVDEG67wUDKcq 1hj/OKIQ3Nyo6i2rGE68WtsPFNC/V4uyYFXIN6x3LK3HVD8qt+of9zaxoa3hkKeuKwgNST+DSmX FH/knxt1piz5YvcVZ3e9qJhNPhzgu3TG3Ut2gdP2mKbZmTaqY7S0EHvHHpjgXFhk4IITUvfJT7E /2DjFlelVOfd9KGf/gFzZCnEtqOYLthnsrG2A7OwaiECZmAtMGzf07fdlVAVsCZXCj3BJeE/mRk 6Q==
X-Google-Smtp-Source: AGHT+IFZkGfoge+8bkUydwdYfKISjWqDK3Le602ORkV3d5TG8J9X8X4je2iOzPveuLnGcND8K4pPsg==
X-Received: by 2002:a17:902:c407:b0:212:63c0:d9e7 with SMTP id d9443c01a7336-21a83db1501mr104434345ad.0.1736438002226; Thu, 09 Jan 2025 07:53:22 -0800 (PST)
Received: from smtpclient.apple ([2601:647:5b00:bf9:2967:46ae:1a61:5866]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21a917442e2sm14384925ad.95.2025.01.09.07.53.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jan 2025 07:53:21 -0800 (PST)
From: Thomas Haynes <loghyr@gmail.com>
Message-Id: <03F28BAA-EE4B-4B1A-B434-B93D7C569DCD@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_34AF3FDF-084A-48D9-A531-EB16691E47D5"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.200.121\))
Date: Thu, 09 Jan 2025 07:53:09 -0800
In-Reply-To: <DU0PR07MB85937F1F2117243BC7066407E0132@DU0PR07MB8593.eurprd07.prod.outlook.com>
To: "Gunter van de Velde (Nokia)" <gunter.van_de_velde@nokia.com>
References: <173616823022.1843766.10743657654524313983@dt-datatracker-65f549669d-2xld9> <CAL0qLwZNygJM2k5hEGCpEZRhjeaNbuyjyzsKvSfUF6Gri+BrpA@mail.gmail.com> <DU0PR07MB85937F1F2117243BC7066407E0132@DU0PR07MB8593.eurprd07.prod.outlook.com>
X-Mailer: Apple Mail (2.3826.200.121)
Message-ID-Hash: APYZ4UGJ4HEQBOIKHIWKZYDNB24OVCA4
X-Message-ID-Hash: APYZ4UGJ4HEQBOIKHIWKZYDNB24OVCA4
X-MailFrom: loghyr@gmail.com
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: "Murray S. Kucherawy" <superuser@gmail.com>, The IESG <iesg@ietf.org>, "draft-ietf-nfsv4-layoutwcc@ietf.org" <draft-ietf-nfsv4-layoutwcc@ietf.org>, nfsv4-chairs <nfsv4-chairs@ietf.org>, "nfsv4@ietf.org" <nfsv4@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [nfsv4] Re: Gunter Van de Velde's Discuss on draft-ietf-nfsv4-layoutwcc-05: (with DISCUSS and COMMENT)
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/tK72ZZdxpZa03U8iZbmOYfhqmpg>
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 Gunter,

I was planning on addressing this once I could reply to all the points you raised, but since this is an active discussion, I’ll chime in now.

The lowa_type is a layouttype4, which is defined in Section 3.3.13 of RFC8881 and described in Section 22.5.

As such, the values assigned to a layouttype4 are maintained by IANA.

The current text is:

   The current filehandle and the lowa_stateid identifies the particular
   layout for the LAYOUT_WCC operation.  The lowa_type indicates how to
   unpack the layout type specific payload inside the lowa_body field.
   The lowa_type is defined to be a value from the IANA registry for
   'pNFS Layout Types Registry'.

The lowa_type and the lowa_body are basically an enumerated union.

The second sentence tells us that the lowa_type is to be an existing entry and the third tells us it is from the registry.

I already believe that the two combined accurately provide the context needed.

Thanks,
Tom

> On Jan 9, 2025, at 12:50 AM, Gunter van de Velde (Nokia) <gunter.van_de_velde@nokia.com> wrote:
> 
> Hi Murray,
>  
> That sounds what I assumed too, but what is not fully accurately documented in the text.
>  
> Maybe something in the style of below is more accurate?
> “
> The lowa_type value must correspond to an existing entry in the IANA 'pNFS Layout Types Registry' and does not require a new registration.
> ”
>  
> G/
>  
> From: Murray S. Kucherawy <superuser@gmail.com <mailto:superuser@gmail.com>>
> Sent: Thursday, January 9, 2025 7:46 AM
> To: Gunter van de Velde (Nokia) <gunter.van_de_velde@nokia.com <mailto:gunter.van_de_velde@nokia.com>>
> Cc: The IESG <iesg@ietf.org <mailto:iesg@ietf.org>>; draft-ietf-nfsv4-layoutwcc@ietf.org <mailto:draft-ietf-nfsv4-layoutwcc@ietf.org>; nfsv4-chairs@ietf.org <mailto:nfsv4-chairs@ietf.org>; nfsv4@ietf.org <mailto:nfsv4@ietf.org>; inacio@cert.org <mailto:inacio@cert.org>
> Subject: Re: Gunter Van de Velde's Discuss on draft-ietf-nfsv4-layoutwcc-05: (with DISCUSS and COMMENT)
>  
>  
> CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext <http://nok.it/ext> for additional information.
>  
> 
> On Mon, Jan 6, 2025 at 4:57 AM Gunter Van de Velde via Datatracker <noreply@ietf.org <mailto:noreply@ietf.org>> wrote:
> #DISCUSS
> #=======
> 
> # In the IANA section is written that there is no action required, but line 244
> and 245 seem to indicate that there is a code point allocated for lowa_type.
> Maybe i got confused and misunderstood the text, or maybe the needs to describe
> the intent more accurate for NFS unware people as myself?
> 
> 244        The lowa_type is defined to be a value from the IANA registry for
> 245        'pNFS Layout Types Registry'.
>  
> I think what they mean is: The "lowa_type" value is expected to be a value that was previously added to this registry, not that it's making a new registration.
>  
> -MSK