Re: [nfsv4] AD review: draft-ietf-nfsv4-delstid-03

Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com> Thu, 05 October 2023 11:42 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 09CD4C15107B; Thu, 5 Oct 2023 04:42:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.104
X-Spam-Level:
X-Spam-Status: No, score=-7.104 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_HI=-5, 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 74BJe1zNdNT3; Thu, 5 Oct 2023 04:42:15 -0700 (PDT)
Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F1A9CC151061; Thu, 5 Oct 2023 04:42:14 -0700 (PDT)
Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-27751ac0653so612236a91.3; Thu, 05 Oct 2023 04:42:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696506134; x=1697110934; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dTMEJMV0o+XMDFtC+9xd+AKCccgZvPn5IZOOFLqg2Y0=; b=JS7AXJ/jbfRzfEV9R9mzTX31mR8ilV0LKfeHsM4ZUeyZf8WRzr07hpIojxJslUPhk1 FVhYRF9JsC50SacXXlsAUe+R0V81lECoVHUkAA3o0a9w4MvG9vyzcQQojRM0KTLXRf/h 2AENUNORiRN1qddzyW04W0qf2xboPuKe3xS8j2B9COBjjgpoK04GQnz0Ze2rtfC/nPRJ gF5yNQZUV4H3RrzIoogviEqGbEUcCjvR4K+VqWzgvs1Vc9GrXa5UoGxghKurZah0kLoW X3F6WCwuAh1Mp973rS8ci1k2wNQkiebGJ0rjBx1UwuEdI33GD59rqsMiNai1j6Rd/TUc Dj5Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696506134; x=1697110934; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dTMEJMV0o+XMDFtC+9xd+AKCccgZvPn5IZOOFLqg2Y0=; b=fRe5wd64tVAYzFSJ9xKJtNw9RDo+mLdCqN/4jss0xvNYhw4QCnPFBpw7T0/cFpTI+n RsYVDQBPrgx64UzEokxls2fYIR1Dme9380xYI8F2/Mp40vzr6JZOrWOemxCD9E8VoocY o0dRv/7yP9WSOASiRK15+SsuX5P+944LgQSQ/x33hHyfsOy2NvreJbl9F2RqojTqLzos r597J5wcKg9i+BMqzywrigCSLkm753eCvKF7W8uY63BMcghyrcVEprUF8zzCXeVLQ+ER Vc9FapntUsW8NJxg2GM7DBNGCE/cMlex+AzbW98k9+0jgTfMV5l1RhdLmvRLJ8wt3NNN gTuA==
X-Gm-Message-State: AOJu0YyApzDGuFtQ9wHSX3Ip82bBNNbF1ypKT908r+o2zjy9XdnSxp2E NQ41JRPClDr55WVx6m98It8uJ4nbov/ymgQnxdoZu4lr
X-Google-Smtp-Source: AGHT+IFa1ulUpqW3DfSjluDUfR2DKYNk4raSqLLbAB4g84ldjldoWSILl2vs3q5p9nP4B1Fkho+RYueVwB0GWck6vao=
X-Received: by 2002:a17:90b:3e8c:b0:276:ae8f:2456 with SMTP id rj12-20020a17090b3e8c00b00276ae8f2456mr4287811pjb.3.1696506133973; Thu, 05 Oct 2023 04:42:13 -0700 (PDT)
MIME-Version: 1.0
References: <CAEh=tcf3D5WbmtdzLNW-vrvrcAcMtOT26mwsYOfugt7y05irsg@mail.gmail.com> <CADaq8jfMyEVH4iQE_P9QvnUM1LPdaXT4n_CrEY=bY1KCppHhCg@mail.gmail.com>
In-Reply-To: <CADaq8jfMyEVH4iQE_P9QvnUM1LPdaXT4n_CrEY=bY1KCppHhCg@mail.gmail.com>
From: Zaheduzzaman Sarker <zahed.sarker.ietf@gmail.com>
Date: Thu, 05 Oct 2023 13:42:03 +0200
Message-ID: <CAEh=tcff9ebdP2xceJMoOuYEyMOMNa0X14U+N08-5Oiq52Wwcw@mail.gmail.com>
To: David Noveck <davenoveck@gmail.com>
Cc: nfsv4@ietf.org, draft-ietf-nfsv4-delstid.all@ietf.org
Content-Type: multipart/alternative; boundary="000000000000798fe40606f69dc4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/mDN3PmSw_ng4TKYhkZpFH4L19Vs>
Subject: Re: [nfsv4] AD review: draft-ietf-nfsv4-delstid-03
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4/>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Oct 2023 11:42:19 -0000

On Thu, Oct 5, 2023 at 1:16 PM David Noveck <davenoveck@gmail.com> wrote:

>
>
> On Thu, Oct 5, 2023 at 6:43 AM Zaheduzzaman Sarker <
> zahed.sarker.ietf@gmail.com> wrote:
>
>> Hi all,
>>
>> Now I have done my AD review of draft-ietf-nfsv4-delstid-03. I think this
>> document needs some rewrites and clarifications before we can proceed
>> further. See my comments below.
>>
>> Comments :
>>
>> # We need a section describing what are we updating in a nutshell. The
>> way it is now written makes it is extremely difficult to understand what
>> has been modified/amended/updated compared to RFC 8881.
>>
>
> Since this is an extension to NFSv4.2,, the comparison should be to
> RFC7862/
>

The point here is to be clear about what we are doing.


>
>
>> # Please clearly mention that this specification will update RFC8881 in
>> the abstract.
>>
>
> It does not update really RFC8881, even though the header says it does.
> Although the title says "NFSv4.2", it does not need to update RFC7862
> either.  Please see RFC 8178  regarding this issue.
>
So this means this document should not really say it is updating any of
those RFCs, or?

>
>
>>
>> # Why are we defining delegation and stateid again here? What is the
>> change in the definition that requires the redefinition ? Can't we use what
>> is defined in RFC8881?
>>
>> # Proxy definition : does this mean the client is proxying to itself? Can
>> this proxy be somewhere in the network between the client and server.
>> RFC8881 states server could also act as proxy hence this proxy definition
>> needs to be clear about who can be proxy. I would also like to understand
>> the difference between delegation and proxying.
>>
>> # I would strongly suggest to define/describe "offline files". I have
>> hard time understanding of a file being offline from whos perspective? Will
>> a file be considered offline if the client for some reason cannot access
>> the cloud storage or is this only about archived files?
>>
>> # Please explain or describe the code blocks, otherwise they seems to
>> come out of nowhere and does not fit themselves well in the sections.
>>
>> # I think we should gather all the new flags defined in one section or
>> sub-section and describe them. This will also help to see what are we
>> updating.
>>
>> # As we are defining new procedure and new flag, how are we handling the
>> errors (we not have number of MUSTs, RECOMMENDs and SHOULDs)?
>>
>> # Section 3:
>>     - It says -
>>          "If the client gets both a open and a delegation stateid as
>> part of the OPEN, then it has to return them both."
>>     Return to where?
>>     - Where is OPEN4_SHARE_ACCESS_WANT_OPEN_XOR_DELEGATION and
>> OPEN4_RESULT_NO_OPEN_STATEID  delegation flags defined ?
>>
>> # Section 3.1:
>>    - Put a reference to the "CLOSE operation".
>>    - Where is OPEN_ARGS_SHARE_ACCESS_WANT_OPEN_XOR_DELEGATION flag
>> defined?
>>    - What is DELEGRETURN? yes, refer to RFC8881.
>>
>> # Section 4:
>>    - I am not sure I understand the statement - "While it is the
>> authority for these values, it has no way to transfer these values to the
>> server when the delegation is being returned and the server reclaims its
>> authority with regard to these values."
>>      I thought DELEGRETURN is a way to transfer or return those values.
>> RFC 8881 says - "Delegations may be returned voluntarily (i.e., before
>> the server has recalled them) or when recalled. In either case, the client
>> must properly propagate state changed under the context of the delegation
>> to the server before returning the delegation". Can we please explain it
>> in a better way, like what values we are taking about and why they cant be
>> transferred?.
>>     - "These new attributes are invalid GETATTR, VERIFY, and NVERIFY" -
>> there is something missing in this statement. "invalid to be used with" ?
>>     - Please describe/explain/reference - "old times", "past the current
>> time", and "original time". also put references for "access time", "change
>> time", "modify time".
>>     - Where is FATTR4_TIME_DELEG_ACCESS and FATTR4_TIME_DELEG_MODIFY
>> defined?
>>     - Give a ref to NFS4ERR_DELAY.
>>
>> # Section 4.1 seems to me a good motivation for this extension, may be we
>> should uplift if to a separate motivation section.
>>
>> # Section 4.2: If we want someone to review this document, how would one
>> read this section? please describe the code blocks, what they do or mean or
>> related to the sections where these blocks are described.
>>
>> # May be section 5 is misplaced, may be we should have it before section
>> 3 and 4, so we define them and then show how the are used. the alternative
>> would be to refer them from section 3 and section 4.
>>
>> # Section 5:
>>     - It says - " client MUST determine that the additional new OPTIONAL functionality
>> to OPEN is also not supported". what is the procedure for the client to
>> determine that?
>>
>> # Section 6:
>>     - It says - "While the XDR can be appended to that from [RFC7863
>> <https://www.ietf.org/archive/id/draft-ietf-nfsv4-delstid-03.html#RFC7863>
>> ], the various code snippets belong in their respective areas of the
>> that XDR.". Does this mean this document also should update RFC7863?
>>
>
> I don't think it should do so.  That hasn't been the practice with other
> extensions to NFSv4.2.
>

Then that referred statement need to be elaborated to reflect what it
actually does.  Like could append but not update the original RFC7863 and
refer to "the practice"

//Zahed


>
>> # Section 7: in this specification we are extending some capabilities for
>> client delegation. I think we need more convincing description that there
>> is not security concerns here.
>>
>> //Zahed
>>
>>
>>
>>
>>
>>
>>