[nfsv4] Re: AD review : draft-ietf-nfsv4-layoutwcc-02
Thomas Haynes <loghyr@gmail.com> Tue, 24 September 2024 08:01 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 D5398C1840E1 for <nfsv4@ietfa.amsl.com>; Tue, 24 Sep 2024 01:01:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 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, 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 aQjxvaFBRKKx for <nfsv4@ietfa.amsl.com>; Tue, 24 Sep 2024 01:01:23 -0700 (PDT)
Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (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 07FB5C1840D2 for <nfsv4@ietf.org>; Tue, 24 Sep 2024 01:01:23 -0700 (PDT)
Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-5367ae52a01so6241233e87.3 for <nfsv4@ietf.org>; Tue, 24 Sep 2024 01:01:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727164881; x=1727769681; 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=I4p6n7jJOXYLJ6SxsVgkg25XGrAxsVcR2i4Uq+dYNgc=; b=RNRetK0TwiiazGg/sn9IjjvNhgAA6niXRhh6LMfC0twbvkpddrPzOOvAcXDoK8/prP u75B8M5OEl3YwAwe6rI2xZ5v2rk7+GOj7BmB4djt/bekKqppCzvr8HguUcrN8Pq6bJG7 MxIzXYSAltT9sog0l0cEAcWMOq0cPrvxqnqemgiIMjRrCo3dZGrYiiKVKk4vuzp16tck Z6HKexvdk++01b2/f852Av1PiTRn/cGeOHRwV4zWLyHFrSHcYIQ3DdkK4VfUjZAlyuhf HLCGIdP5VLx/RRUgcFlf/6vFiggpvRBJEAbOllfg9Jlpbaz4wy+gLscXwRG7WIQQZTr9 lBXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727164881; x=1727769681; 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=I4p6n7jJOXYLJ6SxsVgkg25XGrAxsVcR2i4Uq+dYNgc=; b=ijAp7q+iThvPpnPFvjjiSDcDsbFx5v3jXBO9nadlXrMgNWTHF9VYGfO5ULb4ZIUivP ImAkuoJ2dUAN0nz+apXVNAq47xFtxfPGiXfeQlAmrwnbN2FkL1vFdJyPrFVxpfWdMiQ4 bg638fpzQcvQ/acwBVZteZGnL+7bZyDt/oCbtedafpHwdHwaGWWwUu7DzsBN2MCdNTfy Ki5InmPAFIZv68zXn6YtHbS3a7FxnspAx/tzHcEk7cveVvgBTeHPWYvjciRj4j417DLv swQD5eSxliKwgBJDo2KD6uJvh0N+hjzUX3p5MD9b+BEU85Au+3+gjC9IL+8Lx7OMmH2q 6wRw==
X-Gm-Message-State: AOJu0YzRyAL8UAirdaX5qrswdyXPVriptPUFiMIcJ/zNbOQa7pPWLpkB +k1RdArl1fSOao8YqeGVIuKa4XSxfJg6FEipACSs0vObP7FovGYgYo3P4/N0OiA=
X-Google-Smtp-Source: AGHT+IGnAZsTkSjMfReK0AK6pfhF6UaWd+hchKPb+Ik/jdX/JxIC1NsCGrRuNvmFw3FAwX4aBC/dDw==
X-Received: by 2002:a05:6512:68b:b0:536:a4c2:21a2 with SMTP id 2adb3069b0e04-536ac2f3a17mr7122817e87.35.1727164880258; Tue, 24 Sep 2024 01:01:20 -0700 (PDT)
Received: from smtpclient.apple ([62.218.223.210]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93930f0b23sm53086166b.144.2024.09.24.01.01.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Sep 2024 01:01:19 -0700 (PDT)
From: Thomas Haynes <loghyr@gmail.com>
Message-Id: <1D9C1A8E-101C-45FD-AD9A-3AF7C41F61A4@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_8AB2904B-4C32-48F7-B859-532E01242400"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3818.100.11.1.3\))
Date: Tue, 24 Sep 2024 10:01:08 +0200
In-Reply-To: <CAEh=tcfyKt4SwdKWJfk8u2f+b3prEMhiHLD8DvEojzn=5S9Tgw@mail.gmail.com>
To: Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com>
References: <CAEh=tcfyKt4SwdKWJfk8u2f+b3prEMhiHLD8DvEojzn=5S9Tgw@mail.gmail.com>
X-Mailer: Apple Mail (2.3818.100.11.1.3)
Message-ID-Hash: TWWF4A22SS44URKZGHI6RGB6LDGJEPGF
X-Message-ID-Hash: TWWF4A22SS44URKZGHI6RGB6LDGJEPGF
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: NFSv4 <nfsv4@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [nfsv4] Re: AD review : draft-ietf-nfsv4-layoutwcc-02
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/B72FBy4n742e8PFfKHLe84m91xI>
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>
> On Aug 14, 2024, at 8:55 AM, Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com> wrote: > > 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 > Zahed, The review does help. I am sending out a revised copy of the draft to see if my changes tackle the issues you have raised. I think we will have another round after this one. Thanks, Tom > > > 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? Good catch! We removed it from delstid after discussion. I have removed it. Also, we have this: This document presents a refinement to RFC8435 to allow the client to update the metadata server to changes on the data server. Would you prefer: This document presents an extension to RFC8435 to allow the client to update the metadata server to changes on the data server. > > # 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 Done > > # 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? It is the motivation for the changes. Pulled into a new section as per your other comments. > > 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.). Done > - 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? Yes. But I will need to check to see if it can get those values on an error. > > # 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. Agreed and done. > > # Section 5 IANA considerations : > > Please provide more details on which IANA registry to be updated/amended for the new entries. Marked the section as not to be included in the final draft. I think historically we use this to show that RFC-TBD means the assigned RFC number. > _______________________________________________ > nfsv4 mailing list -- nfsv4@ietf.org > To unsubscribe send an email to nfsv4-leave@ietf.org
- [nfsv4] AD review : draft-ietf-nfsv4-layoutwcc-02 Zaheduzzaman Sarker
- [nfsv4] Re: AD review : draft-ietf-nfsv4-layoutwc… David Noveck
- [nfsv4] Re: AD review : draft-ietf-nfsv4-layoutwc… Thomas Haynes
- [nfsv4] Re: AD review : draft-ietf-nfsv4-layoutwc… Zaheduzzaman Sarker
- [nfsv4] Re: AD review : draft-ietf-nfsv4-layoutwc… Thomas Haynes