[nfsv4] AD review : draft-ietf-nfsv4-layoutwcc-02

Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com> Wed, 14 August 2024 15:55 UTC

Return-Path: <zahed.sarker.ietf@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 B9B04C15153F for <nfsv4@ietfa.amsl.com>; Wed, 14 Aug 2024 08:55:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 OnrJY1n9OY_4 for <nfsv4@ietfa.amsl.com>; Wed, 14 Aug 2024 08:55:48 -0700 (PDT)
Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (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 26C19C151539 for <nfsv4@ietf.org>; Wed, 14 Aug 2024 08:55:48 -0700 (PDT)
Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-2d3bdab22b1so219344a91.0 for <nfsv4@ietf.org>; Wed, 14 Aug 2024 08:55:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723650947; x=1724255747; darn=ietf.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Sbmf3045XhuQ2QaqsMfga7AQNFUEm7XRG2SCYqhpKlA=; b=YxYte7Ht1z/xNMlaz+L8mgFYyr/jtdkYCYVkO0kGxkUunxyZx7AgSrtQzzxtaFdc7h o5fKLeUWBQcaisCaSgfUQGlW6Q9LEmXQk2Wo8cx2bXBYk3cjG6qPCSim76Kd9BERbutT iX1pIM8Yb42JpfW1kldPLCjMxPitAZgUNgcgUSIu7CW9TAledPOyDrtTRFtzgVzaIxuZ qOpt7Ydek9nls7dq5CBlAiuQuSIMj7OcIEYMyr2KHluFwHk4hZ7rmbiclw2Q/xGn0+Gp 73uCEnqf3W1sFOrU1SCgHxmVvX+Jtp/JGpkt9UTtKkzijhsISaGq3t2PtWEO4JGYdWY8 Fvsw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723650947; x=1724255747; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Sbmf3045XhuQ2QaqsMfga7AQNFUEm7XRG2SCYqhpKlA=; b=wXoRMKuqI7a87ueH3kqi9qIrbogrXuQ7PHB2I/sDGhsr7EtwJEuBh6X6Y+CIEObOZ7 B/KkIo6KxlDt80oXF0VNWH0oGEVXgM/XLhWCkkYUYLqR2pY02/74Y6mbsJKtUoCUPBjl hUJ3/uKi5XjBVal/R/TRIEIlgvWPNIBWBvjwebCYyduHVa+9hCUX0XzXrAB4RF/L5pNY dEF+UdaUyZJmHwPY4JnouO6N3/CfbiUmzlc1j+IUd2kJZ/JkAocoQea8lXhm1aWMO1GR aY/exxzC/veuGOhMqRk3vbST9dIjoH4BILJ3L6W4SzwUiScFncd0z0OnOEjgT1vWlN73 kbOA==
X-Gm-Message-State: AOJu0Yylb3seL6j32JHHJDsArRL5IMdpLpZe8jGu4RM+9yU4wnNLB98e yVeJTaSQPhIXskbypVxq3WugZhooF7npX78TnKDjLV8XzeL4MaJN/NrLzqCRXiYalgq1SK89xIU NF35JxognMckZNMzWdFrIbi8I/0S4PxHj
X-Google-Smtp-Source: AGHT+IEw2nGu+5Dau8+dvLKYZugIyevBbJ/GH4A9Ce9noOwCyFnuzMBj4eiqyZazirjoLSLt38R/9uDoU6uVSfvo+Go=
X-Received: by 2002:a17:90a:f98d:b0:2c9:84f9:a321 with SMTP id 98e67ed59e1d1-2d3aaac24abmr3773713a91.23.1723650947444; Wed, 14 Aug 2024 08:55:47 -0700 (PDT)
MIME-Version: 1.0
From: Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com>
Date: Wed, 14 Aug 2024 17:55:36 +0200
Message-ID: <CAEh=tcfyKt4SwdKWJfk8u2f+b3prEMhiHLD8DvEojzn=5S9Tgw@mail.gmail.com>
To: NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000707d90061fa6c24f"
Message-ID-Hash: GTWBK7QFP6SFNS4DXC2G3QRRSNZ3DR5A
X-Message-ID-Hash: GTWBK7QFP6SFNS4DXC2G3QRRSNZ3DR5A
X-MailFrom: zahed.sarker.ietf@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
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [nfsv4] AD review : draft-ietf-nfsv4-layoutwcc-02
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/LEqp2koX8uTu89-U-AVvvtLpeHw>
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,



I have now reviewed the draft-ietf-nfsv4-layoutwcc and I think this
document need to improve the writing. Hence please respond to the comments
and resolve them.



I have done this review as If I don't really understand NFSv4 and NFSv3
(which might be anyway true) and tried to reflect on things that was
unclear in the description.



I hope this review helps and feel free to take the opportunity to educate
me.



//Zahed







My section by section comments are below -

====================================



# Abstract

    s/This document presents a refinement to RFC8435 to allow the client to
update the metadata server to changes on the data server/ This document
updates RFC8435 to allow the client to update the metadata server to
changes on the data server.



    This makes it clear that the current specification will update RFC 8435.



    However, to me it is still not super clear if we are updating RFC 8435
or extending RFC 7862. What is the rationale here for the update tag?



# Section 1



    My initial assumption was that we have a useful feature with WCC for
NFv3 that we would like to allow for NFv4 with LAYOUT-WCC. However, the
more I read Section 1 and Section 2, I am getting more confused as the
description of NFSv4 and NFv3 is very intertwined. Either my assumption is
wrong or the text should be improved, either case I think the following
would help.

        - let’s assume the reader will read this as a starting document (I
think this will be true for the most of the reviewers in the process)
hence, let's describe the scenario better for them and not assume they
understand and know the difference between NFv4 and NFSv3 by heart. Hence,
providing right reference is the right tools here. Also make sure we write

            - the version of NFS the metadata server is running or does it
even matter

            - short description of the WCC and reference the RFC for the
details

        - Lets keep all the NFv3 related details in the Introduction
section. This means describe some of the basic concepts those are described
in different sub-sections of section 2 in Section 1, and focus on NFSv4
specifics in section 2 and 3. This means already in introduction we write
the relation of NFSv3 GETATTR to NFv4 GETATRR and who sends them , etc. as
a base to understand the extension are doing in the rest of the sections.

        - Make sure we are specific about the extension we are doing in
this specification - are we writing this specification only for NFSv4
client or the client's NFV version does not matter? If the client learns
gid and uid from via NFSv3 how that is done and why that is important here.
This pops up if I read the following sentence -



                       "In this document, we introduce a new operation
called LAYOUT_WCC which allows the client to periodically report the
attributes of the data files to the metadata server."





# Section 2.1



    Please provide the reference to the data types of the structs



# Section 2.3



    It not clear if the extension is for NFSv4 only or it can also replace
WCC for NFSv3.



    Why are first 3 paragraph relevant at all? what is the relation of this
description to the extension?



    Overall, sometimes it is not clear in the text on who does what. I
think we can do a better job of stating what is client's responsibility and
what is metadata server's. This might be get cleared automatically when we
have a better split between the section 1 and section 2



# Section 2.4.1



    - Please provide reference to mtime, atime and all the attribute
mentioned (size, space_used, change, time_access, time_metadata, and
time_modify.).

    - it says -



            Whenever it sends an NFS4ERR_ACCESS error via LAYOUTRETURN or
LAYOUTERROR - it could have already gotten the NFSv3 uid and gid values
back in the WCC of the WRITE, READ, or COMMIT operation which got the error.



        I am a bit confused here, just reading the text here, are you
saying the client had got some attributes via NFSv3 but when error occurs
it uses NFv4 LAYOUT-WCC to report?



# Section 2.5



    We should be very clear that we are not defining any new ERROR for
LAYOUT_WCC if that is the case and reference to where the errors are
defined. Otherwise, we need to explain each and every errors here in this
document, that would be cumbersome or repeating.



# Section 5 IANA considerations :



    Please provide more details on which IANA registry to be
updated/amended for the new entries.