Re: [nfsv4] Review of draft-ietf-nfsv4-rfc5667bis-09

David Noveck <davenoveck@gmail.com> Wed, 19 April 2017 15:24 UTC

Return-Path: <davenoveck@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 B8F94129AE5 for <nfsv4@ietfa.amsl.com>; Wed, 19 Apr 2017 08:24:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lWbhitCAll2m for <nfsv4@ietfa.amsl.com>; Wed, 19 Apr 2017 08:24:52 -0700 (PDT)
Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 519E0128B90 for <nfsv4@ietf.org>; Wed, 19 Apr 2017 08:24:52 -0700 (PDT)
Received: by mail-io0-x22f.google.com with SMTP id k87so25008890ioi.0 for <nfsv4@ietf.org>; Wed, 19 Apr 2017 08:24:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4W2pWUUJkjTuUWVdj3y2qKLitS4LbUEdJb9YjpTrcP0=; b=sHbCcmC0WAHVl28lA3eUonfMBwXUpvXIcnUHRFFyKjqFvhMVcECeN8G9I9pItjq6v2 Vovgn95ASIfprLF+cqv34PZEw16B38g5X4YXME9DcFSPFTDhUemyt5HkMTlLkMho1nIf 7RLrSrtc8UPGbd1XtOJEdJMR1IOEpXge8/USaqx7h/8EXDjlxXv+vKdErRTeAbgb6sn0 ijUDqM8vtjejYGgjW/jyB2ouAk7zTzZSx1l0aUosIPBBRl47D2pi8OxiRr+QepAe3B0W FHhEDMZBu/N4r0cLTIope5Tinl8BSSlu0CFxM5yymCrLMR8MJg0p2zE0t9wNpaGns7zc 0w6Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4W2pWUUJkjTuUWVdj3y2qKLitS4LbUEdJb9YjpTrcP0=; b=RUqKfD0kGn+IF1HN1RigVmy3VIvk9xbJji/Y/CM7+g8NSCNXTMHApS25pfjGIs3qNd NbhODM7ZEhtecSlyqinfG+rMNUTy545A6Jk6VKWMn0wWPtdfyIDkwrPvTxV/qeFN18QS pSOyS4fEJMhnhKzJz7ATPuANWcixfHo4cKO7wM0ZBb66zdGFcQbOgSDtDkMvP6HF9nE+ 50Zp2C/kuiK2xdXEjjMDQ1zFiIr4c9jHrzSQdR/Yfor69hN5jG8hI3mbNKOS8BLkKET6 SMQSHAtMBy/uRAvviiLiOpoyYFqKbds6vIFqiI0lpWE64R3mWsv6wvJ2O+lvlJh0N4xF E4Rg==
X-Gm-Message-State: AN3rC/6RPyOke9AOQ9TqTWMNLmf7yEtCrYdrsT9ZpMOsfVkkTW4oTsCf J2D0BFduLDd+rqWVlATR2tlFlG1Qmw==
X-Received: by 10.107.155.204 with SMTP id d195mr4274790ioe.21.1492615490179; Wed, 19 Apr 2017 08:24:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Wed, 19 Apr 2017 08:24:49 -0700 (PDT)
In-Reply-To: <F23EE00E-1EA4-430F-B9C2-7B81C0C9CB86@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <F23EE00E-1EA4-430F-B9C2-7B81C0C9CB86@oracle.com>
From: David Noveck <davenoveck@gmail.com>
Date: Wed, 19 Apr 2017 11:24:49 -0400
Message-ID: <CADaq8jdgWLpp3fLsZmxRYYOO1fTmpCKPWQ6BjdHLwi+KgVs2aA@mail.gmail.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: karen deitke <karen.deitke@oracle.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary="001a11404158142d84054d86a050"
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/TFkV60Vrm-_gLGZ53NB49ecDsPY>
Subject: Re: [nfsv4] Review of draft-ietf-nfsv4-rfc5667bis-09
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 19 Apr 2017 15:24:55 -0000

My interpretation was that, since chunks direct the placement of
DDP-eligible data items, the error was to be returned in cases in which the
server was unable to obtain or return the data item, in the fashion
specified by rfc5666bis.

On Wed, Apr 19, 2017 at 11:18 AM, Chuck Lever <chuck.lever@oracle.com>
wrote:

> Hi Karen-
>
>
> > On Apr 18, 2017, at 6:32 PM, karen deitke <karen.deitke@oracle.com>
> wrote:
> >
> > Hi Chuck, its unclear what you mean by "is prepared to process" in the
> text below.
>
> Fair enough, that's an awkward turn of phrase, and I had some
> difficulty coming up with the right language.
>
> Suppose this limit is based on what's in the COMPOUND? Like the
> server supports 6 Read chunks for WRITE operations, but only 1
> Read chunk for SYMLINK operations?
>
> Can you give some alternatives? That would help me understand
> what other readers find ambiguous.
>
>
> > Other than that, looks good.
> >
> > Karen
> >
> >  5.4.1
> >    If an NFS version 4 client sends an RPC Call with a Write list that
> >    contains more chunks than an NFS version 4 server is prepared to
> >    process, the server MUST reject the RPC by responding with an
> >    RDMA_ERROR message with the rdma_err value set to ERR_CHUNK.
> >
> >
> >    If an NFS version 4 client sends an RPC Call with a Read list that
> >    contains more chunks than an NFS version 4 server is prepared to
> >    process, the server MUST reject the RPC by responding with an
> >    RDMA_MSG message containing an RPC Reply with an accept status of
> >    GARBAGE_ARGS, or with an RDMA_ERROR message with the rdma_err value
> >    set to ERR_CHUNK.
> >
> >
> >
> > On 4/18/2017 1:21 PM, David Noveck wrote:
> >> Overall Evaluation
> >>
> >> Major improvement over RFC5667.  Almost ready to ship.  No technical
> issues.
> >>
> >> A lot of my comments are basically editorial and are offered on a
> take-it-or-lease-it basis.
> >>
> >> I think some clarification in Section 5.4.1 is needed although not
> necessarily in the ways suggested below,
> >>
> >> Comments by Section
> >> 5.4.1.  Multiple DDP-eligible Data Items
> >> Given that READ_PLUS no longer has any DDP-eligible data items, the
> situation described in the fifth bullet can no longer arise.  I suggest
> deleting the bullet.
> >> The penultimate paragraph can be read as applying to some situations in
> which it shouldn't and where the extra chunks would very naturally
> ignored.  For example, if you had on write chunk together with a READ
> operation which failed, the server would have more chunks (i.e. one) than
> the number it is prepared to process (i.e. zero).  Suggest, as a possible
> replacement:
> >> Normally, when an NFS version 4 client sends an RPC Call with a Write
> list that contains multiple chunks. each such, when matched with a
> DDP-eligible data item in the response, directs the placement of the data
> item as specified by [I.D.-nfsv4-rfc5666bis].  When there are DDP-eligible
> data items matched to write chunks that an NFS version 4 server is not
> prepared to process, the server MUST reject the RPC  by responding with an
> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK.
> >> With regard to the last paragraph, I am curious that this paragraph,
> unlike the previous one, allows GARBGEARGS.  Is this so because that would
> be allowed if the chunks in question had offsets other than those that
> correspond to DDP-eligible data items?  If so, please consider the
> following possible replacement.
> >> Normally, when an NFS version 4 client sends an RPC Call with a Read
> list that contains multiple chunks, each such, when properly matched with a
> DDP-eliigible data item in the request, directs the fetching of the the
> data item as specified by [I.D.-nfsv4-rfc5666bis]. When there are
> DDP-eligible data items matched to read chunks that an NFS version 4 server
> is not prepared to process, the server MUST reject the RPC  by responding
> with an RDMA_ERROR message with the rdma_err value set to ERR_CHUNK.
> >> 5.6.  Session-Related Considerations
> >> In the third sentence of the second paragraph, suggest replacing "no
> different" by "not different".
> >> In the last sentence of the last  paragraph, suggest replacing "is not"
> by "were not"
> >>
> >>
> >>
> >> _______________________________________________
> >> nfsv4 mailing list
> >>
> >> nfsv4@ietf.org
> >> https://www.ietf.org/mailman/listinfo/nfsv4
> >
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
>
> --
> Chuck Lever
>
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>