
From nobody Tue Apr  4 11:44:56 2017
Return-Path: <internet-drafts@ietf.org>
X-Original-To: nfsv4@ietf.org
Delivered-To: nfsv4@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 8853312943C; Tue,  4 Apr 2017 11:44:48 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: nfsv4@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.49.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149133148849.1084.4779727644951589291@ietfa.amsl.com>
Date: Tue, 04 Apr 2017 11:44:48 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/pjN4Wi_4CLaBwKCBBEknpmHHfUA>
Subject: [nfsv4] I-D Action: draft-ietf-nfsv4-rfc5667bis-08.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 04 Apr 2017 18:44:48 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network File System Version 4 of the IETF.

        Title           : Network File System (NFS) Upper Layer Binding To RPC-Over-RDMA Version One
        Author          : Charles Lever
	Filename        : draft-ietf-nfsv4-rfc5667bis-08.txt
	Pages           : 18
	Date            : 2017-04-04

Abstract:
   This document specifies Upper Layer Bindings of Network File System
   (NFS) protocol versions to RPC-over-RDMA Version One, enabling the
   use of Direct Data Placement.  This document obsoletes RFC 5667.



The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-nfsv4-rfc5667bis/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-nfsv4-rfc5667bis-08
https://datatracker.ietf.org/doc/html/draft-ietf-nfsv4-rfc5667bis-08

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-nfsv4-rfc5667bis-08


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Tue Apr  4 11:51:47 2017
Return-Path: <chuck.lever@oracle.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 467A81293DF for <nfsv4@ietfa.amsl.com>; Tue,  4 Apr 2017 11:51:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.996
X-Spam-Level: 
X-Spam-Status: No, score=-6.996 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-2.796, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 YQcTclZ2L7FX for <nfsv4@ietfa.amsl.com>; Tue,  4 Apr 2017 11:51:39 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8A0B91294A2 for <nfsv4@ietf.org>; Tue,  4 Apr 2017 11:51:37 -0700 (PDT)
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v34Ipa5l020642 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Tue, 4 Apr 2017 18:51:36 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v34IpZEA010673 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Tue, 4 Apr 2017 18:51:36 GMT
Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v34IpZ8F006974 for <nfsv4@ietf.org>; Tue, 4 Apr 2017 18:51:35 GMT
Received: from anon-dhcp-171.1015granger.net (/68.46.169.226) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 04 Apr 2017 11:51:35 -0700
From: Chuck Lever <chuck.lever@oracle.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 4 Apr 2017 14:51:34 -0400
References: <149133148849.1084.4779727644951589291@ietfa.amsl.com>
To: NFSv4 <nfsv4@ietf.org>
Message-Id: <41A3FDB3-C8A4-4B61-99A6-DCE530147F57@oracle.com>
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Mailer: Apple Mail (2.3124)
X-Source-IP: userv0022.oracle.com [156.151.31.74]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/Uyqb7vHULiv3sBaqDEJEhljr5LI>
Subject: [nfsv4] Fwd:  I-D Action: draft-ietf-nfsv4-rfc5667bis-08.txt
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: Tue, 04 Apr 2017 18:51:41 -0000

> Begin forwarded message:
>=20
> From: internet-drafts@ietf.org
> Subject: [nfsv4] I-D Action: draft-ietf-nfsv4-rfc5667bis-08.txt
> Date: April 4, 2017 at 2:44:48 PM EDT
> To: <i-d-announce@ietf.org>
> Cc: nfsv4@ietf.org
>=20
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> This draft is a work item of the Network File System Version 4 of the =
IETF.
>=20
>        Title           : Network File System (NFS) Upper Layer Binding =
To RPC-Over-RDMA Version One
>        Author          : Charles Lever
> 	Filename        : draft-ietf-nfsv4-rfc5667bis-08.txt
> 	Pages           : 18
> 	Date            : 2017-04-04
>=20
> Abstract:
>   This document specifies Upper Layer Bindings of Network File System
>   (NFS) protocol versions to RPC-over-RDMA Version One, enabling the
>   use of Direct Data Placement.  This document obsoletes RFC 5667.
>=20
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-nfsv4-rfc5667bis/
>=20
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-nfsv4-rfc5667bis-08
> https://datatracker.ietf.org/doc/html/draft-ietf-nfsv4-rfc5667bis-08
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-nfsv4-rfc5667bis-08
>=20
>=20
> Please note that it may take a couple of minutes from the time of =
submission
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/

I heard no objections to closing Open items 1 and 3 as follows:

1. Remove the ULB for MOUNT, NLM, and NSM, and replace it with a
requirement to provide TCP-based versions of these services.

3. Remove READ_PLUS from the list of operations with DDP-eligible
result data items. Bullet 5 in Section 5.4.1 remains because it
describes the situation where a READ operation returns an error.

rfc5667bis-08 merges these changes.


Open item 2, regarding the use of multiple Read and Write chunks, has
seen no discussion, therefore it remains open. Can we resolve this
item here on the mailing list, or is a design call needed?

Is there any objection to the following solution:

"Server implementations should report ERR_CHUNK (or perhaps =
GARBAGE_ARGS)
whenever a client has sent more chunks than is supported, or a =
configuration
of chunks that is unsupported. Implementation guidance should be added =
to
rfc5667bis to discuss this scenario."


--
Chuck Lever




From nobody Fri Apr  7 11:21:38 2017
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 C021E12953E for <nfsv4@ietfa.amsl.com>; Fri,  7 Apr 2017 11:21:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.698
X-Spam-Level: 
X-Spam-Status: No, score=-1.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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 b9PYHa8hd_eL for <nfsv4@ietfa.amsl.com>; Fri,  7 Apr 2017 11:21:35 -0700 (PDT)
Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (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 0316A129488 for <nfsv4@ietf.org>; Fri,  7 Apr 2017 11:21:35 -0700 (PDT)
Received: by mail-io0-x232.google.com with SMTP id t68so20980364iof.0 for <nfsv4@ietf.org>; Fri, 07 Apr 2017 11:21:34 -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=+kZDgXh+xxJCcNLNRcOqJ8JUjXYjKcu890qAYXUYNqM=; b=Kk6u4eL5PFFcO4yuNrYspA5DS4frrVPpgxveWRFhwZTUQqXsoiuY6ldYOICQOVK+C2 /f+bqK9ouuWFi4+VWFLN5gcNu37OG9jTHA7HCpy+QLZiWi5yzNZToTK7BPfu2KO0AFF7 ZLs3Yal7sTtDn0K7SWwjtahrJEcvUhKriLd/OcToyJd2piF5UTyxoW8wsKe3g1zFrsFW TqnV5HhMCjEYvg86f+XVg366m2Du+3jQl0EX5O8QlSQAZ+dkrLzpK2/SW/C6up4wF4iO 1ngurZ20Ig5nsayxKgwcLF7ytPOCYtAkVDNJ51r8WeKpI7dLA5ZXFOIH/liBtJ9M9D9d trWw==
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=+kZDgXh+xxJCcNLNRcOqJ8JUjXYjKcu890qAYXUYNqM=; b=UdeXrSWWGmy7z7PcYHHjUafycSaauQpd9ztA46owbgdJ1rlokSKCsl41bEuExYH3o8 xHlMSFBpgXf+vhBS2Fm6kbfj4d6duRvsTictqr4ly1gtcOGe3oGZhYummmUanK0uLan+ 09ElE6r5fOjVL1KpA8M833FJUplXqBbsYh1O/tNxQR1WdbOBxTzhCEIM0Xsf4f/MULE7 uKzxj+FIi+dJ7nmV8xpvtuT153B298/8uLwXE06rIxjtgIUq7+penrFB7PyG4R1I5M3v 2Ja0tFWRcalRLNH3LsiVhZ/0z8NLmX7Sqmy0VemYgMyoeRFJLd313+ZjnzQZDfr6wBCm vCbA==
X-Gm-Message-State: AFeK/H0ZydHj2D9B/9tBl/x4dP/N5CwLqo9PzQo0mIv4CJiDx4vkFgDhSm+whkhqP1+Yd8B8uLM3b5SNEwjKCQ==
X-Received: by 10.107.136.93 with SMTP id k90mr40852025iod.224.1491589294244;  Fri, 07 Apr 2017 11:21:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.10.167 with HTTP; Fri, 7 Apr 2017 11:21:33 -0700 (PDT)
In-Reply-To: <CAFt6Ba=6JyZHGvUWQTOYtzUnYk8fUQr7R2aQOezuM+j81ejRGw@mail.gmail.com>
References: <CAFt6Ba=BaG3+MyGGF-=JOaGOzwKTMaudL2Wxzh1d-2bQPBjZZA@mail.gmail.com> <CADaq8jdqqUtUmkJUtTaobfczmdyovH4oViB2Aj67cTVmTz3cew@mail.gmail.com> <20170201150547.GA7561@lst.de> <CADaq8jfZRKLTmuzwq3VyUfCBQk1-fJPNDwHChf3-uqrRqSaGcQ@mail.gmail.com> <MWHPR03MB28936969C47DE5706C68572FC74D0@MWHPR03MB2893.namprd03.prod.outlook.com> <CADaq8jdk7QJoRieHYi2k755qJU5KE-smMVVSWMM09=mYjo_Rmw@mail.gmail.com> <20170301224100.GA21288@lst.de> <CAFt6Bakn7a3vwhr59W-BGUh1FPOko1kWpU7d85Yxygd4rzpN6A@mail.gmail.com> <CAFt6Ba=6JyZHGvUWQTOYtzUnYk8fUQr7R2aQOezuM+j81ejRGw@mail.gmail.com>
From: David Noveck <davenoveck@gmail.com>
Date: Fri, 7 Apr 2017 14:21:33 -0400
Message-ID: <CADaq8jfcbtNe2aXqsbKLShSE85vj=7qrCFi5jOS+3+xLaJriig@mail.gmail.com>
To: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>, "nfsv4@ietf.org" <nfsv4@ietf.org>,  spencer shepler <spencer.shepler@gmail.com>
Content-Type: multipart/alternative; boundary=001a113ed51208e242054c97b249
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/lDE7tkcbgv0k2z5xSYKnZMhT3_0>
Subject: Re: [nfsv4] IETF 98 - NFSv4 WG meeting (soliciting agenda items)
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: Fri, 07 Apr 2017 18:21:37 -0000

--001a113ed51208e242054c97b249
Content-Type: text/plain; charset=UTF-8

> The RFC Editor has responded and the I-D will be moving to AUTH48 within
the next week.

It is now five weeks later and  we've heard nothing to suggest AUTH48 is
any closer.  I'm

assuming that Spencer S. meant to put quote marks around the RFC Editor's
prediction.

Is here any way to get a reliable ETA on this, or at least some sort of
explanation for this
extraordinary delay?  After all, RFC 5661, which was over 600 pages long,
got through this
process in one month.

On Thu, Mar 2, 2017 at 11:31 AM, spencer shepler <spencer.shepler@gmail.com>
wrote:

>
> The RFC Editor has responded and the I-D will be moving to AUTH48 within
> the next week.
>
> Spencer
>
>
> On Wed, Mar 1, 2017 at 3:16 PM, spencer shepler <spencer.shepler@gmail.com
> > wrote:
>
>>
>> I have responded on the RFC editor thread. Will also follow-up with
>> Spencer D.
>>
>> Spencer
>>
>> On Wed, Mar 1, 2017 at 2:41 PM, Christoph Hellwig <hch@lst.de> wrote:
>>
>>> On Tue, Feb 14, 2017 at 10:16:53AM -0500, David Noveck wrote:
>>> > Thirteen  days later, the document is still in MISSREF and appears not
>>> to
>>> > have moved forward
>>> > at all.  Maybe something has happened that I'm unaware of but it may be
>>> > that you are still
>>> > waiting for a response from the RFC editor.  Has there been a response
>>> yet,
>>> > or at least some sort of an ETA provided?
>>>
>>> Another two weeks later I've still not seen any respone since clarifying
>>> the references.
>>>
>>> _______________________________________________
>>> nfsv4 mailing list
>>> nfsv4@ietf.org
>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>
>>
>>
>

--001a113ed51208e242054c97b249
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-size:12.8px">&gt; The RFC Editor has r=
esponded and the I-D will be moving to AUTH48 within the next week.</span><=
br><div><span style=3D"font-size:12.8px"><br></span></div><div><span style=
=3D"font-size:12.8px">It is now five weeks later and =C2=A0we&#39;ve heard =
nothing to suggest AUTH48 is any closer.=C2=A0 I&#39;m</span></div><div sty=
le=3D"text-align:right"><span style=3D"font-size:12.8px"><br></span></div><=
div style=3D"text-align:left"><span style=3D"font-size:12.8px">assuming tha=
t Spencer S. meant to put quote marks around the RFC Editor&#39;s predictio=
n.</span></div><div style=3D"text-align:left"><span style=3D"font-size:12.8=
px"><br></span></div><div style=3D"text-align:left"><span style=3D"font-siz=
e:12.8px">Is here any way to get a reliable ETA on this, or at least some s=
ort of explanation for this</span></div><div style=3D"text-align:left"><spa=
n style=3D"font-size:12.8px">extraordinary delay?=C2=A0 After all, RFC 5661=
, which was over 600 pages long, got through this</span></div><div style=3D=
"text-align:left"><span style=3D"font-size:12.8px">process in one month. =
=C2=A0 =C2=A0=C2=A0</span></div></div><div class=3D"gmail_extra"><br><div c=
lass=3D"gmail_quote">On Thu, Mar 2, 2017 at 11:31 AM, spencer shepler <span=
 dir=3D"ltr">&lt;<a href=3D"mailto:spencer.shepler@gmail.com" target=3D"_bl=
ank">spencer.shepler@gmail.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><div dir=3D"ltr"><div><br></div><div>The RFC Editor has respo=
nded and the I-D will be moving to AUTH48 within the next week.</div><span =
class=3D"HOEnZb"><font color=3D"#888888"><div><br></div><div>Spencer</div><=
div><br></div></font></span></div><div class=3D"HOEnZb"><div class=3D"h5"><=
div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Mar 1, 201=
7 at 3:16 PM, spencer shepler <span dir=3D"ltr">&lt;<a href=3D"mailto:spenc=
er.shepler@gmail.com" target=3D"_blank">spencer.shepler@gmail.com</a>&gt;</=
span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><br></=
div><div>I have responded on the RFC editor thread. Will also follow-up wit=
h Spencer D.</div><span class=3D"m_-6531470322162354764HOEnZb"><font color=
=3D"#888888"><div><br></div><div>Spencer</div></font></span></div><div clas=
s=3D"m_-6531470322162354764HOEnZb"><div class=3D"m_-6531470322162354764h5">=
<div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Mar 1, 20=
17 at 2:41 PM, Christoph Hellwig <span dir=3D"ltr">&lt;<a href=3D"mailto:hc=
h@lst.de" target=3D"_blank">hch@lst.de</a>&gt;</span> wrote:<br><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">On Tue, Feb 14, 2017 at 10:16:53AM -0500, David Noveck =
wrote:<br>
&gt; Thirteen=C2=A0 days later, the document is still in MISSREF and appear=
s not to<br>
&gt; have moved forward<br>
&gt; at all.=C2=A0 Maybe something has happened that I&#39;m unaware of but=
 it may be<br>
&gt; that you are still<br>
&gt; waiting for a response from the RFC editor.=C2=A0 Has there been a res=
ponse yet,<br>
&gt; or at least some sort of an ETA provided?<br>
<br>
Another two weeks later I&#39;ve still not seen any respone since clarifyin=
g<br>
the references.<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>

--001a113ed51208e242054c97b249--


From nobody Sat Apr  8 11:17:45 2017
Return-Path: <kaduk@mit.edu>
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 E342E129455 for <nfsv4@ietfa.amsl.com>; Sat,  8 Apr 2017 11:17:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.322
X-Spam-Level: 
X-Spam-Status: No, score=-2.322 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 hgdMY7HedE3d for <nfsv4@ietfa.amsl.com>; Sat,  8 Apr 2017 11:17:42 -0700 (PDT)
Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu [18.9.25.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 97771126DEE for <nfsv4@ietf.org>; Sat,  8 Apr 2017 11:17:42 -0700 (PDT)
X-AuditID: 1209190d-dd3ff70000005ac2-f9-58e9294325f2
Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by  (Symantec Messaging Gateway) with SMTP id 31.3D.23234.34929E85; Sat,  8 Apr 2017 14:17:40 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id v38IHcXg021293; Sat, 8 Apr 2017 14:17:38 -0400
Received: from kduck.kaduk.org (24-107-191-124.dhcp.stls.mo.charter.com [24.107.191.124]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id v38IHYta030303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 8 Apr 2017 14:17:36 -0400
Date: Sat, 8 Apr 2017 13:17:34 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: David Noveck <davenoveck@gmail.com>
Cc: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>, Christoph Hellwig <hch@lst.de>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Message-ID: <20170408181733.GM30306@kduck.kaduk.org>
References: <CAFt6Ba=BaG3+MyGGF-=JOaGOzwKTMaudL2Wxzh1d-2bQPBjZZA@mail.gmail.com> <CADaq8jdqqUtUmkJUtTaobfczmdyovH4oViB2Aj67cTVmTz3cew@mail.gmail.com> <20170201150547.GA7561@lst.de> <CADaq8jfZRKLTmuzwq3VyUfCBQk1-fJPNDwHChf3-uqrRqSaGcQ@mail.gmail.com> <MWHPR03MB28936969C47DE5706C68572FC74D0@MWHPR03MB2893.namprd03.prod.outlook.com> <CADaq8jdk7QJoRieHYi2k755qJU5KE-smMVVSWMM09=mYjo_Rmw@mail.gmail.com> <20170301224100.GA21288@lst.de> <CAFt6Bakn7a3vwhr59W-BGUh1FPOko1kWpU7d85Yxygd4rzpN6A@mail.gmail.com> <CAFt6Ba=6JyZHGvUWQTOYtzUnYk8fUQr7R2aQOezuM+j81ejRGw@mail.gmail.com> <CADaq8jfcbtNe2aXqsbKLShSE85vj=7qrCFi5jOS+3+xLaJriig@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CADaq8jfcbtNe2aXqsbKLShSE85vj=7qrCFi5jOS+3+xLaJriig@mail.gmail.com>
User-Agent: Mutt/1.6.1 (2016-04-27)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNIsWRmVeSWpSXmKPExsUixG6nruui+TLC4MEuDouzU7+xW6xcfZTJ Yvb7R6wWy6bsYXZg8dg56y67x5IlP5k8dt9sYAtgjuKySUnNySxLLdK3S+DKeLG1m6ngF0/F j4lrWRoY53B1MXJySAiYSHzeMoexi5GLQ0igjUni5oLJrBDOBkaJjc+OQWWuMElM/LSfpYuR g4NFQEXiWnskSDcbkNnQfZkZxBYRUJf48aCJDaSeWaCdUeLwtsvsIAlhAU+JdXensYLYvEDr 5lzdywQxdAKrxPJXLewQCUGJkzOfsIDYzAJaEjf+vWQCWcYsIC2x/B8HSJhTIFDi+/JWRhBb VEBZomHGA+YJjAKzkHTPQtI9C6F7ASPzKkbZlNwq3dzEzJzi1GTd4uTEvLzUIl0jvdzMEr3U lNJNjKAw5pTk3cH4767XIUYBDkYlHt4K9ZcRQqyJZcWVuYcYJTmYlER5WWtfRAjxJeWnVGYk FmfEF5XmpBYfYpTgYFYS4Y1lBirnTUmsrEotyodJSXOwKInzims0RggJpCeWpGanphakFsFk ZTg4lCR4f4DsESxKTU+tSMvMKUFIM3FwggznARreClLDW1yQmFucmQ6RP8WoKCXOGwWSEABJ ZJTmwfWC0oxE9v6aV4ziQK8I89poAFXxAFMUXPcroMFMQIN9bj0FGVySiJCSamA8+N9BrF01 Pv7QxscqGWGMj/5Y/6gudL/htKfm0ttFpTsKp5Y1pxrvmXKi54Kv5YZPu3YbxD1re3fk1vSd ngtSu7Z5CN7/0y8olB+zlM1i383Aq+E3Jy2R29R8w7ex+uy8FfFbi44s0Hrbk/WOnUFr7TWG y1FWasnNqf7K/cuqvl9afOfWZkNtJZbijERDLeai4kQAt7jYIA4DAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/NehUSe7kB0FC2sKdBZZ54dhse-Y>
Subject: Re: [nfsv4] IETF 98 - NFSv4 WG meeting (soliciting agenda items)
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: Sat, 08 Apr 2017 18:17:44 -0000

On Fri, Apr 07, 2017 at 02:21:33PM -0400, David Noveck wrote:
> > The RFC Editor has responded and the I-D will be moving to AUTH48 within
> the next week.
> 
> It is now five weeks later and  we've heard nothing to suggest AUTH48 is
> any closer.  I'm
> 
> assuming that Spencer S. meant to put quote marks around the RFC Editor's
> prediction.
> 
> Is here any way to get a reliable ETA on this, or at least some sort of

No.

> explanation for this
> extraordinary delay?  After all, RFC 5661, which was over 600 pages long,

Maybe, eventually.

> got through this
> process in one month.

The RFC Editor function has a fixed set of staff (on the order of 5,
if I understand correctly), and each proto-RFC gets assigned to one
of them for the initial/"mundane" editing.  If there's a large
collection of documents that hits the RFC Editor all at once, some
of them will get delays, even beyond the expected service level
specified in the contract for the RFC Editor function, though the
last I heard, the RFC Editor team was doing better at this after a
rough couple of years.  The actual named RFC Editor (Heather
Flanagan) does still make a final check over all RFCs, as I
understand it, so there is still a potential single point of
failure.  It's generally not easy to get great visibility into the
holdups of a specific document.  The triannual RFC Editor's report
presented (or emailed) at each IETF meeting generally includes
statistics on number of things published and conformance to the SLA,
though I either don't remember the numbers from the most recent one
in Chicago or didn't actually read it.

-Ben


From nobody Wed Apr 12 07:32:53 2017
Return-Path: <internet-drafts@ietf.org>
X-Original-To: nfsv4@ietf.org
Delivered-To: nfsv4@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 51EC3129BD1; Wed, 12 Apr 2017 07:32:46 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: nfsv4@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.49.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149200756629.15812.10548339654702909422@ietfa.amsl.com>
Date: Wed, 12 Apr 2017 07:32:46 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/q4Hm4R-LcZY5MGTRLw5rAFLcqZE>
Subject: [nfsv4] I-D Action: draft-ietf-nfsv4-rfc5667bis-09.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.22
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, 12 Apr 2017 14:32:46 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network File System Version 4 of the IETF.

        Title           : Network File System (NFS) Upper Layer Binding To RPC-Over-RDMA Version One
        Author          : Charles Lever
	Filename        : draft-ietf-nfsv4-rfc5667bis-09.txt
	Pages           : 18
	Date            : 2017-04-12

Abstract:
   This document specifies Upper Layer Bindings of Network File System
   (NFS) protocol versions to RPC-over-RDMA Version One, enabling the
   use of Direct Data Placement.  This document obsoletes RFC 5667.



The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-nfsv4-rfc5667bis/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-nfsv4-rfc5667bis-09
https://datatracker.ietf.org/doc/html/draft-ietf-nfsv4-rfc5667bis-09

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-nfsv4-rfc5667bis-09


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Wed Apr 12 07:39:58 2017
Return-Path: <chuck.lever@oracle.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 A16001316D2 for <nfsv4@ietfa.amsl.com>; Wed, 12 Apr 2017 07:39:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.001
X-Spam-Level: 
X-Spam-Status: No, score=-7.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-2.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
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 phY26LfFUNtH for <nfsv4@ietfa.amsl.com>; Wed, 12 Apr 2017 07:39:54 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 380E5129BEF for <nfsv4@ietf.org>; Wed, 12 Apr 2017 07:39:41 -0700 (PDT)
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3CEdeoK030638 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 12 Apr 2017 14:39:40 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v3CEddWC002038 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 12 Apr 2017 14:39:40 GMT
Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id v3CEdbeN029012; Wed, 12 Apr 2017 14:39:38 GMT
Received: from anon-dhcp-171.1015granger.net (/68.46.169.226) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 12 Apr 2017 07:39:37 -0700
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
Date: Wed, 12 Apr 2017 10:39:36 -0400
Cc: NFSv4 <nfsv4@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D6F6EF9B-242D-466D-88F0-380016C4BD92@oracle.com>
References: <149200756629.15812.10548339654702909422@ietfa.amsl.com>
To: Spencer Shepler <sshepler@microsoft.com>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/h_XVySB4jdU7gWZd_i3B4fiFgZQ>
Subject: [nfsv4] Fwd:  I-D Action: draft-ietf-nfsv4-rfc5667bis-09.txt
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, 12 Apr 2017 14:39:58 -0000

Hi Spencer-

> Begin forwarded message:
>=20
> From: internet-drafts@ietf.org
> Subject: [nfsv4] I-D Action: draft-ietf-nfsv4-rfc5667bis-09.txt
> Date: April 12, 2017 at 10:32:46 AM EDT
> To: <i-d-announce@ietf.org>
> Cc: nfsv4@ietf.org
>=20
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> This draft is a work item of the Network File System Version 4 of the =
IETF.
>=20
>        Title           : Network File System (NFS) Upper Layer Binding =
To RPC-Over-RDMA Version One
>        Author          : Charles Lever
> 	Filename        : draft-ietf-nfsv4-rfc5667bis-09.txt
> 	Pages           : 18
> 	Date            : 2017-04-12
>=20
> Abstract:
>   This document specifies Upper Layer Bindings of Network File System
>   (NFS) protocol versions to RPC-over-RDMA Version One, enabling the
>   use of Direct Data Placement.  This document obsoletes RFC 5667.
>=20
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-nfsv4-rfc5667bis/
>=20
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-nfsv4-rfc5667bis-09
> https://datatracker.ietf.org/doc/html/draft-ietf-nfsv4-rfc5667bis-09
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-nfsv4-rfc5667bis-09
>=20
>=20
> Please note that it may take a couple of minutes from the time of =
submission
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/

Revision 09 of rfc5667bis has addressed the remaining open issue raised
on March 27, 2017:

> 2. The original RFC 5667 permits implementations to use multiple Read =
and
> Write chunks.
>=20
> Because it hasn't had NFS/RDMA with Kerberos support until recently, =
one
> implementation currently does not support certain configurations of =
chunks:
> - Write + Reply
> - PZRC + normal Read
> - multiple normal Read
>=20
> However, one implementation does support all of these. Therefore, IMO =
that
> resolves the issue of whether rfc5667bis documents current =
implementation
> practice by allowing multiple chunks per RPC: it does.
>=20
> The question remains how implementations might discover what is =
supported
> by their peers (and perhaps, what is the peer's limit on number of =
chunks
> per RPC).
>=20
> Server implementations should report ERR_CHUNK (or perhaps =
GARBAGE_ARGS)
> whenever a client has sent more chunks than is supported, or a =
configuration
> of chunks that is unsupported. Implementation guidance should be added =
to
> rfc5667bis to discuss this scenario.

Section 5.4.1 now requires a server to reject RPCs that contain more
chunks than it can process.

I'd like to request Working Group Last Call for this document.


--
Chuck Lever




From nobody Wed Apr 12 07:48:16 2017
Return-Path: <Jorge.Mora@netapp.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 140111316E0 for <nfsv4@ietfa.amsl.com>; Wed, 12 Apr 2017 07:48:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.922
X-Spam-Level: 
X-Spam-Status: No, score=-6.922 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=netapp.onmicrosoft.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 3l2NXoSSAQoJ for <nfsv4@ietfa.amsl.com>; Wed, 12 Apr 2017 07:48:13 -0700 (PDT)
Received: from mx141.netapp.com (mx141.netapp.com [216.240.21.12]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1953B131704 for <nfsv4@ietf.org>; Wed, 12 Apr 2017 07:47:48 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.37,191,1488873600"; d="scan'208";a="195468566"
Received: from hioexcmbx08-prd.hq.netapp.com ([10.122.105.41]) by mx141-out.netapp.com with ESMTP; 12 Apr 2017 07:35:42 -0700
Received: from VMWEXCCAS09-PRD.hq.netapp.com (10.122.105.27) by hioexcmbx08-prd.hq.netapp.com (10.122.105.41) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 12 Apr 2017 07:47:30 -0700
Received: from NAM03-DM3-obe.outbound.protection.outlook.com (10.120.60.153) by VMWEXCCAS09-PRD.hq.netapp.com (10.122.105.27) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Frontend Transport; Wed, 12 Apr 2017 07:47:30 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=r+njLLJ+Zc/3TPMz52on361M7wsdUqmISkJqZb6KZ2U=; b=WbgazbrOHntSjpn8KXtEL69/FRKC75SF3mnOl67yUntPKOLMIo4/rRT3FtznO2MPsWueuSeCsLHVlH1ZzRK3ao+cejmyf47qNaxblrMuMOP2mHVGYnKu6feJoYngEUnJ3aN48nMIcJZpCPyddOEuy/fwHXRPk0zBTl4HZcYQoTw=
Received: from BLUPR06MB547.namprd06.prod.outlook.com (10.141.205.22) by BLUPR06MB546.namprd06.prod.outlook.com (10.141.205.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Wed, 12 Apr 2017 14:47:30 +0000
Received: from BLUPR06MB547.namprd06.prod.outlook.com ([10.141.205.22]) by BLUPR06MB547.namprd06.prod.outlook.com ([10.141.205.22]) with mapi id 15.01.1019.026; Wed, 12 Apr 2017 14:47:30 +0000
From: "Mora, Jorge" <Jorge.Mora@netapp.com>
To: "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: Inter server-side copy performance
Thread-Index: AQHSs5u10bLXlWBn5Uu+5DgJxojRSg==
Date: Wed, 12 Apr 2017 14:47:30 +0000
Message-ID: <DFE33002-FE1C-4E83-B6E3-50BFD304C7F6@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/f.20.0.170309
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=netapp.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [216.240.19.104]
x-microsoft-exchange-diagnostics: 1; BLUPR06MB546; 7:JTP0iQHXt1tKyTL2VB07aBIA+7XN26xW8VE6w/eM1I5GiDm7knpMEHBbzSWnGcIQdxcb7NhAxV4yV+7UVLmrj3TgPcUIrQHNphZYbimz7GdHedERqWHZlHIDg0/+wWrovaEEoXbrJEIHbyIJl6NioOelkJedqS2Q6ITzIqYR9ZYbBQ4ClYzVur96eJ2QsV8UodKhFrC4Wx4bsswQoRFMo+cUXnA8cBSn49enOzgw2OfgguZEH/8MUrpQMmqA9Ccu3aINUGlU9+l/yU4KjbCFatSpSMaEDSxb86A/kEip/r7nbCCt9fUclOXpC5gfeBtTv8E0wAS9j/dAbzpH70DXHw==
x-ms-office365-filtering-correlation-id: 1b330437-b121-4e32-6f59-08d481b2d88b
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:BLUPR06MB546; 
x-microsoft-antispam-prvs: <BLUPR06MB5462D54318B99D7850DCF81E1030@BLUPR06MB546.namprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123564025)(20161123560025)(20161123555025)(20161123562025)(6072148); SRVR:BLUPR06MB546; BCL:0; PCL:0; RULEID:; SRVR:BLUPR06MB546; 
x-forefront-prvs: 027578BB13
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39400400002)(39410400002)(39840400002)(39450400003)(39850400002)(33656002)(2906002)(53936002)(2900100001)(8936002)(83716003)(122556002)(66066001)(6916009)(3660700001)(3280700002)(6512007)(2351001)(189998001)(4001350100001)(25786009)(99286003)(5640700003)(81166006)(3480700004)(8676002)(50986999)(54356999)(5660300001)(6436002)(110136004)(86362001)(36756003)(82746002)(6116002)(83506001)(38730400002)(3846002)(2501003)(305945005)(102836003)(6486002)(77096006)(7736002)(6506006); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR06MB546; H:BLUPR06MB547.namprd06.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <AB663869E8C6C84BABD29A912EEA318B@namprd06.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2017 14:47:30.1649 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR06MB546
X-OriginatorOrg: netapp.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/V4JciZwfYKIZzJO1Q6JxaWckgZ8>
Subject: [nfsv4] Inter server-side copy performance
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, 12 Apr 2017 14:48:16 -0000

SGVsbG8sDQoNClRoZSBmb2xsb3dpbmcgc2hvd3MgYSBjb21wYXJpc29uIGJldHdlZW4gaW50ZXIg
c2VydmVyLXNpZGUgY29weSBhbmQgYSB0cmFkaXRpb25hbCBjb3B5Lg0KU2V0dXA6DQogICAgQ2xp
ZW50OiAxNiBDUFVzLCAzMkdCDQogICAgU1JDIHNlcnZlcjogNCBDUFVzLCA4R0INCiAgICBEU1Qg
c2VydmVyOiA0IENQVXMsIDhHQg0KICAgIEFsbCBtYWNoaW5lcyBhcmUgcnVubmluZyA0LjEwLjAt
c3NjLTAyMjQyMDE3LjEzNDUsDQogICAgICA0LjEwLjAga2VybmVsIG9uIHRvcCBSSEVMIDcuMyB3
aXRoIE9sZ2HigJlzIFNTQyBwYXRjaGVzIDAyMjQyMDE3LnRneiAoYXN5bmNocm9ub3VzIFNTQykN
ClRlc3Q6DQogICAgVGhlIHRlc3QgcnVucyAxMCB0aW1lcyBmb3IgZWFjaCBjb3B5IHNpemUgYW5k
IHRoZSBhdmVyYWdlIGlzIGNvbXBhcmVkLg0KICAgIFRoZSBzZXJ2ZXJzIGFyZSBtb3VudGVkIGFu
ZCB1bi1tb3VudGVkIGZvciBlYWNoIGNvcHkgKHVzaW5nIGRlZmF1bHQgbW91bnQgb3B0aW9ucykN
CiAgICBUZXN0aW5nIGNvcHkgc2l6ZTogMUtCIOKAkyA0R0IsIE5PVEU6IHRoZSBsYXN0IGNvcHkg
aXMgNEdCLTEgYnl0ZXMsIHRoZSBtYXhpbXVtIGNvcHlfZmlsZV9yYW5nZSgpIGFjY2VwdHMuDQpS
ZXN1bHRzOg0KICAgIEZvciBhIGNvcHkgc2l6ZSBiZWxvdyAxNk1CLCB0cmFkaXRpb25hbCBjb3B5
IHJ1bnMgZmFzdGVyIHRoYW4gc2VydmVyLXNpZGUgY29weQ0KICAgIEZvciBhIGNvcHkgc2l6ZSBv
ZiAzMk1CIGFuZCBhYm92ZSwgc2VydmVyLXNpZGUgY29weSBpcyBhdCBsZWFzdCAzMCUgZmFzdGVy
Lg0KICAgIEZvciBhIGNvcHkgc2l6ZSBvZiAxMjhNQiBhbmQgYWJvdmUsIHNlcnZlci1zaWRlIGNv
cHkgaXMgYWJvdXQgNTAlIGZhc3Rlci4NCiAgICBGb3IgdGhlIDFHQiBhbmQgMkdCIGNvcHkgc2l6
ZXMsIHRoZSBwZXJmb3JtYW5jZSBpbXByb3ZlbWVudCBpcyBvbmx5IGFib3V0IDMwLTQwJSwgaW52
ZXN0aWdhdGluZyB3aHkgdGhpcyBpcyBoYXBwZW5pbmcuDQoNCg0KKioqIEludGVyLVNTQyBwZXJm
b3JtYW5jZSB0ZXN0DQogICAgVEVTVDogUnVubmluZyB0ZXN0ICdwZXJmMDInDQoNCj4+IFBlcmZv
cm1hbmNlIGRlZ3JhZGF0aW9uOg0KICAgIElORk86IDAwOjA4OjUwLjAzNTE2NSAtIHBlcmYwMiBj
b3B5IHdpdGggc2l6ZSAxS0INCiAgICBJTkZPOiAwMDowOTowMS4zMDIwMDQgLSBTZXJ2ZXItc2lk
ZSBDT1BZOiAwLjEwNDA0OTk5MjU2MSBzZWNvbmRzDQogICAgSU5GTzogMDA6MDk6MDEuMzAyMjA2
IC0gVHJhZGl0aW9uYWwgQ09QWTogMC4wMzE5NjEwMTE4ODY2IHNlY29uZHMNCiAgICBGQUlMOiBT
U0Mgc2hvdWxkIG91dHBlcmZvcm0gdHJhZGl0aW9uYWwgY29weSwgcGVyZm9ybWFuY2UgZGVncmFk
YXRpb24gZm9yIGEgMUtCIGZpbGU6IDIyNSUNCiAgICBJTkZPOiAwMDowOTowMS4zMDIzNzggLSBw
ZXJmMDIgY29weSB3aXRoIHNpemUgMktCDQogICAgSU5GTzogMDA6MDk6MTIuMzMyMTQ0IC0gU2Vy
dmVyLXNpZGUgQ09QWTogMC4wOTIzNTg4NTE0MzI4IHNlY29uZHMNCiAgICBJTkZPOiAwMDowOTox
Mi4zMzIzMzUgLSBUcmFkaXRpb25hbCBDT1BZOiAwLjAzMzU5Njc3NzkxNiBzZWNvbmRzDQogICAg
RkFJTDogU1NDIHNob3VsZCBvdXRwZXJmb3JtIHRyYWRpdGlvbmFsIGNvcHksIHBlcmZvcm1hbmNl
IGRlZ3JhZGF0aW9uIGZvciBhIDJLQiBmaWxlOiAxNzQlDQogICAgSU5GTzogMDA6MDk6MTIuMzMy
NTEwIC0gcGVyZjAyIGNvcHkgd2l0aCBzaXplIDRLQg0KICAgIElORk86IDAwOjA5OjIzLjMyMDcx
NCAtIFNlcnZlci1zaWRlIENPUFk6IDAuMTAwNzE1NTY1NjgxIHNlY29uZHMNCiAgICBJTkZPOiAw
MDowOToyMy4zMjA5MTUgLSBUcmFkaXRpb25hbCBDT1BZOiAwLjAzMzYyNDA1MzAwMTQgc2Vjb25k
cw0KICAgIEZBSUw6IFNTQyBzaG91bGQgb3V0cGVyZm9ybSB0cmFkaXRpb25hbCBjb3B5LCBwZXJm
b3JtYW5jZSBkZWdyYWRhdGlvbiBmb3IgYSA0S0IgZmlsZTogMTk5JQ0KICAgIElORk86IDAwOjA5
OjIzLjMyMTA4NiAtIHBlcmYwMiBjb3B5IHdpdGggc2l6ZSA4S0INCiAgICBJTkZPOiAwMDowOToz
NC41NDI1MTUgLSBTZXJ2ZXItc2lkZSBDT1BZOiAwLjA4ODE2NDExNDk1MjEgc2Vjb25kcw0KICAg
IElORk86IDAwOjA5OjM0LjU0Mjc0MiAtIFRyYWRpdGlvbmFsIENPUFk6IDAuMDMzNjYwODg4Njcx
OSBzZWNvbmRzDQogICAgRkFJTDogU1NDIHNob3VsZCBvdXRwZXJmb3JtIHRyYWRpdGlvbmFsIGNv
cHksIHBlcmZvcm1hbmNlIGRlZ3JhZGF0aW9uIGZvciBhIDhLQiBmaWxlOiAxNjElDQogICAgSU5G
TzogMDA6MDk6MzQuNTQyOTI0IC0gcGVyZjAyIGNvcHkgd2l0aCBzaXplIDE2S0INCiAgICBJTkZP
OiAwMDowOTo0NS40Mzk0MjQgLSBTZXJ2ZXItc2lkZSBDT1BZOiAwLjA5Mzk4OTgwMTQwNjkgc2Vj
b25kcw0KICAgIElORk86IDAwOjA5OjQ1LjQzOTYzMCAtIFRyYWRpdGlvbmFsIENPUFk6IDAuMDI3
NzA2Mzg0NjU4OCBzZWNvbmRzDQogICAgRkFJTDogU1NDIHNob3VsZCBvdXRwZXJmb3JtIHRyYWRp
dGlvbmFsIGNvcHksIHBlcmZvcm1hbmNlIGRlZ3JhZGF0aW9uIGZvciBhIDE2S0IgZmlsZTogMjM5
JQ0KICAgIElORk86IDAwOjA5OjQ1LjQzOTc5NSAtIHBlcmYwMiBjb3B5IHdpdGggc2l6ZSAzMktC
DQogICAgSU5GTzogMDA6MDk6NTYuMTAzNDgwIC0gU2VydmVyLXNpZGUgQ09QWTogMC4wNzk4MzA5
MDg3NzUzIHNlY29uZHMNCiAgICBJTkZPOiAwMDowOTo1Ni4xMDM2OTEgLSBUcmFkaXRpb25hbCBD
T1BZOiAwLjAzMzU3MjIyMDgwMjMgc2Vjb25kcw0KICAgIEZBSUw6IFNTQyBzaG91bGQgb3V0cGVy
Zm9ybSB0cmFkaXRpb25hbCBjb3B5LCBwZXJmb3JtYW5jZSBkZWdyYWRhdGlvbiBmb3IgYSAzMktC
IGZpbGU6IDEzNyUNCiAgICBJTkZPOiAwMDowOTo1Ni4xMDM4NDggLSBwZXJmMDIgY29weSB3aXRo
IHNpemUgNjRLQg0KICAgIElORk86IDAwOjEwOjA3LjIxNzAyNiAtIFNlcnZlci1zaWRlIENPUFk6
IDAuMTA2NDkxMzI3Mjg2IHNlY29uZHMNCiAgICBJTkZPOiAwMDoxMDowNy4yMTcyMjggLSBUcmFk
aXRpb25hbCBDT1BZOiAwLjAzNDM4NzU4ODUwMSBzZWNvbmRzDQogICAgRkFJTDogU1NDIHNob3Vs
ZCBvdXRwZXJmb3JtIHRyYWRpdGlvbmFsIGNvcHksIHBlcmZvcm1hbmNlIGRlZ3JhZGF0aW9uIGZv
ciBhIDY0S0IgZmlsZTogMjA5JQ0KICAgIElORk86IDAwOjEwOjA3LjIxNzQwMCAtIHBlcmYwMiBj
b3B5IHdpdGggc2l6ZSAxMjhLQg0KICAgIElORk86IDAwOjEwOjE4LjAyMjMyMCAtIFNlcnZlci1z
aWRlIENPUFk6IDAuMTA1NjI3MzQ2MDM5IHNlY29uZHMNCiAgICBJTkZPOiAwMDoxMDoxOC4wMjI1
MTYgLSBUcmFkaXRpb25hbCBDT1BZOiAwLjA1MTEzMTg5MjIwNDMgc2Vjb25kcw0KICAgIEZBSUw6
IFNTQyBzaG91bGQgb3V0cGVyZm9ybSB0cmFkaXRpb25hbCBjb3B5LCBwZXJmb3JtYW5jZSBkZWdy
YWRhdGlvbiBmb3IgYSAxMjhLQiBmaWxlOiAxMDYlDQogICAgSU5GTzogMDA6MTA6MTguMDIyNjg2
IC0gcGVyZjAyIGNvcHkgd2l0aCBzaXplIDI1NktCDQogICAgSU5GTzogMDA6MTA6MjkuNDUyMzUz
IC0gU2VydmVyLXNpZGUgQ09QWTogMC4xMjQ3ODcwMjA2ODMgc2Vjb25kcw0KICAgIElORk86IDAw
OjEwOjI5LjQ1MjUzOCAtIFRyYWRpdGlvbmFsIENPUFk6IDAuMDU1MjQwODIxODM4NCBzZWNvbmRz
DQogICAgRkFJTDogU1NDIHNob3VsZCBvdXRwZXJmb3JtIHRyYWRpdGlvbmFsIGNvcHksIHBlcmZv
cm1hbmNlIGRlZ3JhZGF0aW9uIGZvciBhIDI1NktCIGZpbGU6IDEyNSUNCiAgICBJTkZPOiAwMDox
MDoyOS40NTI3MTMgLSBwZXJmMDIgY29weSB3aXRoIHNpemUgNTEyS0INCiAgICBJTkZPOiAwMDox
MDo0MS4zNTczMTUgLSBTZXJ2ZXItc2lkZSBDT1BZOiAwLjExMDYwMjA5Mjc0MyBzZWNvbmRzDQog
ICAgSU5GTzogMDA6MTA6NDEuMzU3NDg5IC0gVHJhZGl0aW9uYWwgQ09QWTogMC4wNjQzOTYxNjY4
MDE1IHNlY29uZHMNCiAgICBGQUlMOiBTU0Mgc2hvdWxkIG91dHBlcmZvcm0gdHJhZGl0aW9uYWwg
Y29weSwgcGVyZm9ybWFuY2UgZGVncmFkYXRpb24gZm9yIGEgNTEyS0IgZmlsZTogNzElDQogICAg
SU5GTzogMDA6MTA6NDEuMzU3NjU2IC0gcGVyZjAyIGNvcHkgd2l0aCBzaXplIDFNQg0KICAgIElO
Rk86IDAwOjEwOjUyLjcwNDE1OSAtIFNlcnZlci1zaWRlIENPUFk6IDAuMTE4OTUwMjAwMDgxIHNl
Y29uZHMNCiAgICBJTkZPOiAwMDoxMDo1Mi43MDQzNDEgLSBUcmFkaXRpb25hbCBDT1BZOiAwLjA3
MDMzMDQ3Njc2MDkgc2Vjb25kcw0KICAgIEZBSUw6IFNTQyBzaG91bGQgb3V0cGVyZm9ybSB0cmFk
aXRpb25hbCBjb3B5LCBwZXJmb3JtYW5jZSBkZWdyYWRhdGlvbiBmb3IgYSAxTUIgZmlsZTogNjkl
DQogICAgSU5GTzogMDA6MTA6NTIuNzA0NDk5IC0gcGVyZjAyIGNvcHkgd2l0aCBzaXplIDJNQg0K
ICAgIElORk86IDAwOjExOjA1LjM2NzI2NSAtIFNlcnZlci1zaWRlIENPUFk6IDAuMTM2MzM2NDY5
NjUgc2Vjb25kcw0KICAgIElORk86IDAwOjExOjA1LjM2NzQ1MSAtIFRyYWRpdGlvbmFsIENPUFk6
IDAuMTAzNjQzNTEyNzI2IHNlY29uZHMNCiAgICBGQUlMOiBTU0Mgc2hvdWxkIG91dHBlcmZvcm0g
dHJhZGl0aW9uYWwgY29weSwgcGVyZm9ybWFuY2UgZGVncmFkYXRpb24gZm9yIGEgMk1CIGZpbGU6
IDMxJQ0KICAgIElORk86IDAwOjExOjA1LjM2NzYxNCAtIHBlcmYwMiBjb3B5IHdpdGggc2l6ZSA0
TUINCiAgICBJTkZPOiAwMDoxMToxOC44NzIwMDQgLSBTZXJ2ZXItc2lkZSBDT1BZOiAwLjE4MTE2
NTA3NTMwMiBzZWNvbmRzDQogICAgSU5GTzogMDA6MTE6MTguODcyMjA0IC0gVHJhZGl0aW9uYWwg
Q09QWTogMC4xNjQ1ODYxMTQ4ODMgc2Vjb25kcw0KICAgIEZBSUw6IFNTQyBzaG91bGQgb3V0cGVy
Zm9ybSB0cmFkaXRpb25hbCBjb3B5LCBwZXJmb3JtYW5jZSBkZWdyYWRhdGlvbiBmb3IgYSA0TUIg
ZmlsZTogMTAlDQogICAgSU5GTzogMDA6MTE6MTguODcyMzY4IC0gcGVyZjAyIGNvcHkgd2l0aCBz
aXplIDhNQg0KICAgIElORk86IDAwOjExOjM1LjA5MzA3MSAtIFNlcnZlci1zaWRlIENPUFk6IDAu
MjkwMjA0MDk1ODQgc2Vjb25kcw0KICAgIElORk86IDAwOjExOjM1LjA5MzI5NyAtIFRyYWRpdGlv
bmFsIENPUFk6IDAuMjgzMzE1MTgxNzMyIHNlY29uZHMNCiAgICBGQUlMOiBTU0Mgc2hvdWxkIG91
dHBlcmZvcm0gdHJhZGl0aW9uYWwgY29weSwgcGVyZm9ybWFuY2UgZGVncmFkYXRpb24gZm9yIGEg
OE1CIGZpbGU6IDIlDQoNCj4+IFBlcmZvcm1hbmNlIGdhaW46DQogICAgSU5GTzogMDA6MTE6MzUu
MDkzNDQ2IC0gcGVyZjAyIGNvcHkgd2l0aCBzaXplIDE2TUINCiAgICBJTkZPOiAwMDoxMTo1NC43
Nzk4NDQgLSBTZXJ2ZXItc2lkZSBDT1BZOiAwLjQ1NTU2OTU3NzIxNyBzZWNvbmRzDQogICAgSU5G
TzogMDA6MTE6NTQuNzgwMDM4IC0gVHJhZGl0aW9uYWwgQ09QWTogMC41MDYyNTI1OTg3NjMgc2Vj
b25kcw0KICAgIFBBU1M6IFNTQyBzaG91bGQgb3V0cGVyZm9ybSB0cmFkaXRpb25hbCBjb3B5LCBw
ZXJmb3JtYW5jZSBpbXByb3ZlbWVudCBmb3IgYSAxNk1CIGZpbGU6IDExJQ0KICAgIElORk86IDAw
OjExOjU0Ljc4MDE4NSAtIHBlcmYwMiBjb3B5IHdpdGggc2l6ZSAzMk1CDQogICAgSU5GTzogMDA6
MTI6MjIuNDE1MTMxIC0gU2VydmVyLXNpZGUgQ09QWTogMC43MTM2OTEyNTg0MyBzZWNvbmRzDQog
ICAgSU5GTzogMDA6MTI6MjIuNDE1MzE5IC0gVHJhZGl0aW9uYWwgQ09QWTogMC45MzQ3MzYzNzEw
NCBzZWNvbmRzDQogICAgUEFTUzogU1NDIHNob3VsZCBvdXRwZXJmb3JtIHRyYWRpdGlvbmFsIGNv
cHksIHBlcmZvcm1hbmNlIGltcHJvdmVtZW50IGZvciBhIDMyTUIgZmlsZTogMzAlDQogICAgSU5G
TzogMDA6MTI6MjIuNDE1NDY2IC0gcGVyZjAyIGNvcHkgd2l0aCBzaXplIDY0TUINCiAgICBJTkZP
OiAwMDoxMzowMy40OTgyNjAgLSBTZXJ2ZXItc2lkZSBDT1BZOiAxLjIzODQ1MzM4ODIxIHNlY29u
ZHMNCiAgICBJTkZPOiAwMDoxMzowMy40OTg0NTYgLSBUcmFkaXRpb25hbCBDT1BZOiAxLjczMDk4
MTkyMjE1IHNlY29uZHMNCiAgICBQQVNTOiBTU0Mgc2hvdWxkIG91dHBlcmZvcm0gdHJhZGl0aW9u
YWwgY29weSwgcGVyZm9ybWFuY2UgaW1wcm92ZW1lbnQgZm9yIGEgNjRNQiBmaWxlOiAzOSUNCiAg
ICBJTkZPOiAwMDoxMzowMy40OTg2MzcgLSBwZXJmMDIgY29weSB3aXRoIHNpemUgMTI4TUINCiAg
ICBJTkZPOiAwMDoxNDoxMS41MDI0NzUgLSBTZXJ2ZXItc2lkZSBDT1BZOiAyLjIyNjM5OTExMTc1
IHNlY29uZHMNCiAgICBJTkZPOiAwMDoxNDoxMS41MDI4OTYgLSBUcmFkaXRpb25hbCBDT1BZOiAz
LjM0Nzc4MDg3MTM5IHNlY29uZHMNCiAgICBQQVNTOiBTU0Mgc2hvdWxkIG91dHBlcmZvcm0gdHJh
ZGl0aW9uYWwgY29weSwgcGVyZm9ybWFuY2UgaW1wcm92ZW1lbnQgZm9yIGEgMTI4TUIgZmlsZTog
NTAlDQogICAgSU5GTzogMDA6MTQ6MTEuNTAzMTAyIC0gcGVyZjAyIGNvcHkgd2l0aCBzaXplIDI1
Nk1CDQogICAgSU5GTzogMDA6MTY6MTIuMzIzMzUwIC0gU2VydmVyLXNpZGUgQ09QWTogNC4yOTQw
MTg3MjE1OCBzZWNvbmRzDQogICAgSU5GTzogMDA6MTY6MTIuMzIzNTM3IC0gVHJhZGl0aW9uYWwg
Q09QWTogNi41NDYyMjI0OTYwMyBzZWNvbmRzDQogICAgUEFTUzogU1NDIHNob3VsZCBvdXRwZXJm
b3JtIHRyYWRpdGlvbmFsIGNvcHksIHBlcmZvcm1hbmNlIGltcHJvdmVtZW50IGZvciBhIDI1Nk1C
IGZpbGU6IDUyJQ0KICAgIElORk86IDAwOjE2OjEyLjMyMzcwMyAtIHBlcmYwMiBjb3B5IHdpdGgg
c2l6ZSA1MTJNQg0KICAgIElORk86IDAwOjE5OjU4LjMxMTU5OCAtIFNlcnZlci1zaWRlIENPUFk6
IDguMzg0MTc3MDY0OSBzZWNvbmRzDQogICAgSU5GTzogMDA6MTk6NTguMzExNzkzIC0gVHJhZGl0
aW9uYWwgQ09QWTogMTIuOTIwMDQxMjI3MyBzZWNvbmRzDQogICAgUEFTUzogU1NDIHNob3VsZCBv
dXRwZXJmb3JtIHRyYWRpdGlvbmFsIGNvcHksIHBlcmZvcm1hbmNlIGltcHJvdmVtZW50IGZvciBh
IDUxMk1CIGZpbGU6IDU0JQ0KICAgIElORk86IDAwOjE5OjU4LjMxMTkzNSAtIHBlcmYwMiBjb3B5
IHdpdGggc2l6ZSAxR0INCiAgICBJTkZPOiAwMDoyNjowMS4yNzU4MDkgLSBTZXJ2ZXItc2lkZSBD
T1BZOiAxNC41OTY3ODM4MDQ5IHNlY29uZHMNCiAgICBJTkZPOiAwMDoyNjowMS4yNzYwMjAgLSBU
cmFkaXRpb25hbCBDT1BZOiAyMC4xOTU3NDUzNzI4IHNlY29uZHMNCiAgICBQQVNTOiBTU0Mgc2hv
dWxkIG91dHBlcmZvcm0gdHJhZGl0aW9uYWwgY29weSwgcGVyZm9ybWFuY2UgaW1wcm92ZW1lbnQg
Zm9yIGEgMUdCIGZpbGU6IDM4JQ0KICAgIElORk86IDAwOjI2OjAxLjI3NjE3NSAtIHBlcmYwMiBj
b3B5IHdpdGggc2l6ZSAyR0INCiAgICBJTkZPOiAwMDozNToyOS45OTAyMjAgLSBTZXJ2ZXItc2lk
ZSBDT1BZOiAyMy42MDY3OTU3NjQgc2Vjb25kcw0KICAgIElORk86IDAwOjM1OjI5Ljk5MDQzMiAt
IFRyYWRpdGlvbmFsIENPUFk6IDMxLjQyNjE1Mzk0NTkgc2Vjb25kcw0KICAgIFBBU1M6IFNTQyBz
aG91bGQgb3V0cGVyZm9ybSB0cmFkaXRpb25hbCBjb3B5LCBwZXJmb3JtYW5jZSBpbXByb3ZlbWVu
dCBmb3IgYSAyR0IgZmlsZTogMzMlDQogICAgSU5GTzogMDA6MzU6MjkuOTkwNTgwIC0gcGVyZjAy
IGNvcHkgd2l0aCBzaXplIDRHQg0KICAgIElORk86IDAwOjUzOjE3LjE5ODgyNyAtIFNlcnZlci1z
aWRlIENPUFk6IDQxLjIyNjE0MDgwOTEgc2Vjb25kcw0KICAgIElORk86IDAwOjUzOjE3LjE5OTAz
MyAtIFRyYWRpdGlvbmFsIENPUFk6IDYyLjkyMTAzNTA1MTMgc2Vjb25kcw0KICAgIFBBU1M6IFNT
QyBzaG91bGQgb3V0cGVyZm9ybSB0cmFkaXRpb25hbCBjb3B5LCBwZXJmb3JtYW5jZSBpbXByb3Zl
bWVudCBmb3IgYSA0R0IgZmlsZTogNTIlDQogICAgVElNRTogNDRtMjcuMTY0Mjg2cw0KDQpMb2dm
aWxlOiAvaG9tZS9tb3JhL2xvZ3MvbmZzdGVzdF9zc2NfMjAxNzA0MTIwMDA4NDkubG9nDQoNCjIz
IHRlc3RzICg5IHBhc3NlZCwgMTQgZmFpbGVkKQ0KDQpUb3RhbCB0aW1lOiA0NG0yOC4zMzQxNzdz
DQoNCg0KDQotLUpvcmdlDQoNCg0K


From nobody Thu Apr 13 10:45:20 2017
Return-Path: <bfields@fieldses.org>
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 3328612EAD8 for <nfsv4@ietfa.amsl.com>; Thu, 13 Apr 2017 10:45:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 tPaNuJEumWqc for <nfsv4@ietfa.amsl.com>; Thu, 13 Apr 2017 10:45:16 -0700 (PDT)
Received: from fieldses.org (fieldses.org [173.255.197.46]) by ietfa.amsl.com (Postfix) with ESMTP id ED7A012EAD0 for <nfsv4@ietf.org>; Thu, 13 Apr 2017 10:45:15 -0700 (PDT)
Received: by fieldses.org (Postfix, from userid 2815) id 25A07261F; Thu, 13 Apr 2017 13:45:15 -0400 (EDT)
Date: Thu, 13 Apr 2017 13:45:15 -0400
To: "Mora, Jorge" <Jorge.Mora@netapp.com>
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>, linux-nfs@vger.kernel.org
Message-ID: <20170413174515.GA5140@fieldses.org>
References: <DFE33002-FE1C-4E83-B6E3-50BFD304C7F6@netapp.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <DFE33002-FE1C-4E83-B6E3-50BFD304C7F6@netapp.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
From: bfields@fieldses.org (J. Bruce Fields)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/p0Rh_FssnJk794iwZxpWi20stsg>
Subject: Re: [nfsv4] Inter server-side copy performance
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: Thu, 13 Apr 2017 17:45:18 -0000

On Wed, Apr 12, 2017 at 02:47:30PM +0000, Mora, Jorge wrote:
> The following shows a comparison between inter server-side copy and a traditional copy.

Thanks for doing this!  Adding the linux-nfs list, I hope that's OK.

> Setup:
>     Client: 16 CPUs, 32GB
>     SRC server: 4 CPUs, 8GB
>     DST server: 4 CPUs, 8GB

Could you also tell us about the network?  How much bandwidth is
available between the two servers, and between the each server and the
client?  Disk bandwidth might be useful to know too.

>     All machines are running 4.10.0-ssc-02242017.1345,
>       4.10.0 kernel on top RHEL 7.3 with Olga’s SSC patches 02242017.tgz (asynchronous SSC)
> Test:
>     The test runs 10 times for each copy size and the average is compared.
>     The servers are mounted and un-mounted for each copy (using default mount options)
>     Testing copy size: 1KB – 4GB, NOTE: the last copy is 4GB-1 bytes, the maximum copy_file_range() accepts.

If the client unmounts the servers, but if the servers keep their
exports mounted then the performance may depend on whether data is
already cached on the source server, since all these copies fit in RAM.

Are you timing just the copy_file_range() call, or do you include a
following sync?

> Results:
>     For a copy size below 16MB, traditional copy runs faster than server-side copy
>     For a copy size of 32MB and above, server-side copy is at least 30% faster.
>     For a copy size of 128MB and above, server-side copy is about 50% faster.
>     For the 1GB and 2GB copy sizes, the performance improvement is only about 30-40%, investigating why this is happening.

Might also be interesting to look at performance when copying a larger
file with multiple copy_file_range() calls.

--b.

> *** Inter-SSC performance test
>     TEST: Running test 'perf02'
> 
> >> Performance degradation:
>     INFO: 00:08:50.035165 - perf02 copy with size 1KB
>     INFO: 00:09:01.302004 - Server-side COPY: 0.104049992561 seconds
>     INFO: 00:09:01.302206 - Traditional COPY: 0.0319610118866 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 1KB file: 225%
>     INFO: 00:09:01.302378 - perf02 copy with size 2KB
>     INFO: 00:09:12.332144 - Server-side COPY: 0.0923588514328 seconds
>     INFO: 00:09:12.332335 - Traditional COPY: 0.033596777916 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 2KB file: 174%
>     INFO: 00:09:12.332510 - perf02 copy with size 4KB
>     INFO: 00:09:23.320714 - Server-side COPY: 0.100715565681 seconds
>     INFO: 00:09:23.320915 - Traditional COPY: 0.0336240530014 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 4KB file: 199%
>     INFO: 00:09:23.321086 - perf02 copy with size 8KB
>     INFO: 00:09:34.542515 - Server-side COPY: 0.0881641149521 seconds
>     INFO: 00:09:34.542742 - Traditional COPY: 0.0336608886719 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 8KB file: 161%
>     INFO: 00:09:34.542924 - perf02 copy with size 16KB
>     INFO: 00:09:45.439424 - Server-side COPY: 0.0939898014069 seconds
>     INFO: 00:09:45.439630 - Traditional COPY: 0.0277063846588 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 16KB file: 239%
>     INFO: 00:09:45.439795 - perf02 copy with size 32KB
>     INFO: 00:09:56.103480 - Server-side COPY: 0.0798309087753 seconds
>     INFO: 00:09:56.103691 - Traditional COPY: 0.0335722208023 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 32KB file: 137%
>     INFO: 00:09:56.103848 - perf02 copy with size 64KB
>     INFO: 00:10:07.217026 - Server-side COPY: 0.106491327286 seconds
>     INFO: 00:10:07.217228 - Traditional COPY: 0.034387588501 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 64KB file: 209%
>     INFO: 00:10:07.217400 - perf02 copy with size 128KB
>     INFO: 00:10:18.022320 - Server-side COPY: 0.105627346039 seconds
>     INFO: 00:10:18.022516 - Traditional COPY: 0.0511318922043 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 128KB file: 106%
>     INFO: 00:10:18.022686 - perf02 copy with size 256KB
>     INFO: 00:10:29.452353 - Server-side COPY: 0.124787020683 seconds
>     INFO: 00:10:29.452538 - Traditional COPY: 0.0552408218384 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 256KB file: 125%
>     INFO: 00:10:29.452713 - perf02 copy with size 512KB
>     INFO: 00:10:41.357315 - Server-side COPY: 0.110602092743 seconds
>     INFO: 00:10:41.357489 - Traditional COPY: 0.0643961668015 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 512KB file: 71%
>     INFO: 00:10:41.357656 - perf02 copy with size 1MB
>     INFO: 00:10:52.704159 - Server-side COPY: 0.118950200081 seconds
>     INFO: 00:10:52.704341 - Traditional COPY: 0.0703304767609 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 1MB file: 69%
>     INFO: 00:10:52.704499 - perf02 copy with size 2MB
>     INFO: 00:11:05.367265 - Server-side COPY: 0.13633646965 seconds
>     INFO: 00:11:05.367451 - Traditional COPY: 0.103643512726 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 2MB file: 31%
>     INFO: 00:11:05.367614 - perf02 copy with size 4MB
>     INFO: 00:11:18.872004 - Server-side COPY: 0.181165075302 seconds
>     INFO: 00:11:18.872204 - Traditional COPY: 0.164586114883 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 4MB file: 10%
>     INFO: 00:11:18.872368 - perf02 copy with size 8MB
>     INFO: 00:11:35.093071 - Server-side COPY: 0.29020409584 seconds
>     INFO: 00:11:35.093297 - Traditional COPY: 0.283315181732 seconds
>     FAIL: SSC should outperform traditional copy, performance degradation for a 8MB file: 2%
> 
> >> Performance gain:
>     INFO: 00:11:35.093446 - perf02 copy with size 16MB
>     INFO: 00:11:54.779844 - Server-side COPY: 0.455569577217 seconds
>     INFO: 00:11:54.780038 - Traditional COPY: 0.506252598763 seconds
>     PASS: SSC should outperform traditional copy, performance improvement for a 16MB file: 11%
>     INFO: 00:11:54.780185 - perf02 copy with size 32MB
>     INFO: 00:12:22.415131 - Server-side COPY: 0.71369125843 seconds
>     INFO: 00:12:22.415319 - Traditional COPY: 0.93473637104 seconds
>     PASS: SSC should outperform traditional copy, performance improvement for a 32MB file: 30%
>     INFO: 00:12:22.415466 - perf02 copy with size 64MB
>     INFO: 00:13:03.498260 - Server-side COPY: 1.23845338821 seconds
>     INFO: 00:13:03.498456 - Traditional COPY: 1.73098192215 seconds
>     PASS: SSC should outperform traditional copy, performance improvement for a 64MB file: 39%
>     INFO: 00:13:03.498637 - perf02 copy with size 128MB
>     INFO: 00:14:11.502475 - Server-side COPY: 2.22639911175 seconds
>     INFO: 00:14:11.502896 - Traditional COPY: 3.34778087139 seconds
>     PASS: SSC should outperform traditional copy, performance improvement for a 128MB file: 50%
>     INFO: 00:14:11.503102 - perf02 copy with size 256MB
>     INFO: 00:16:12.323350 - Server-side COPY: 4.29401872158 seconds
>     INFO: 00:16:12.323537 - Traditional COPY: 6.54622249603 seconds
>     PASS: SSC should outperform traditional copy, performance improvement for a 256MB file: 52%
>     INFO: 00:16:12.323703 - perf02 copy with size 512MB
>     INFO: 00:19:58.311598 - Server-side COPY: 8.3841770649 seconds
>     INFO: 00:19:58.311793 - Traditional COPY: 12.9200412273 seconds
>     PASS: SSC should outperform traditional copy, performance improvement for a 512MB file: 54%
>     INFO: 00:19:58.311935 - perf02 copy with size 1GB
>     INFO: 00:26:01.275809 - Server-side COPY: 14.5967838049 seconds
>     INFO: 00:26:01.276020 - Traditional COPY: 20.1957453728 seconds
>     PASS: SSC should outperform traditional copy, performance improvement for a 1GB file: 38%
>     INFO: 00:26:01.276175 - perf02 copy with size 2GB
>     INFO: 00:35:29.990220 - Server-side COPY: 23.606795764 seconds
>     INFO: 00:35:29.990432 - Traditional COPY: 31.4261539459 seconds
>     PASS: SSC should outperform traditional copy, performance improvement for a 2GB file: 33%
>     INFO: 00:35:29.990580 - perf02 copy with size 4GB
>     INFO: 00:53:17.198827 - Server-side COPY: 41.2261408091 seconds
>     INFO: 00:53:17.199033 - Traditional COPY: 62.9210350513 seconds
>     PASS: SSC should outperform traditional copy, performance improvement for a 4GB file: 52%
>     TIME: 44m27.164286s
> 
> Logfile: /home/mora/logs/nfstest_ssc_20170412000849.log
> 
> 23 tests (9 passed, 14 failed)
> 
> Total time: 44m28.334177s
> 
> 
> 
> --Jorge
> 
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From nobody Fri Apr 14 11:31:19 2017
Return-Path: <spencer.shepler@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 77C5E1294CF for <nfsv4@ietfa.amsl.com>; Fri, 14 Apr 2017 11:31:18 -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 1NGfksdFPmaI for <nfsv4@ietfa.amsl.com>; Fri, 14 Apr 2017 11:31:15 -0700 (PDT)
Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (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 7B56E126DDF for <nfsv4@ietf.org>; Fri, 14 Apr 2017 11:31:15 -0700 (PDT)
Received: by mail-it0-x22e.google.com with SMTP id a140so161670ita.0 for <nfsv4@ietf.org>; Fri, 14 Apr 2017 11:31:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=Hh0obaUKUHwDn/TSN9Sjxe2efYAdZwTzQUrh9RO5Znc=; b=rVoW67ED+FArceBZUfoZeaQ6HtkVo9d0PwRxIRXMEWKpXqE3zGCXiEkA9bqOXKNJz9 5PrEDgDUDEKj2gdPpoicSLFYKZdn5G1jKp3sOOgKrK2mWixmedMomjNlQntxkgAJwMXf 6UtGtYg+xfsH01EWarffG0eUGq9C7PC/bfHrfq9Uy4B5ln0RZXPtsqt7GDVtOLyi8Imm cOEQxByAbuQlCWvFnzu7Xzol0EPooSgzl1GPyEbXo8g1UsugbjGOb+B8iYekRzltAOsP le6ZUcTHYGMPFpJljDLHfph96pi3gNdCWGtO1maSgS5sR0PyLN17kW44Ip8qkV92ctA1 ucyQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Hh0obaUKUHwDn/TSN9Sjxe2efYAdZwTzQUrh9RO5Znc=; b=VChoeOmTodwgiA7uFtLRm1Ia/YunRKZVWYxgC11Ew1AR3LAK/Yq8+JzW2ypuuMxDsi m2g4QlbOrkuga1PpbDep7Zz+y2689DqaODfv4A9z1bw9FDYaRsaKLG40Ucc8RXRZTrrd qVasduNAu1vDGYhh/RTZSGJPcYMsaxDL/FqLsAgDbVZ5UuxWILV4rUt8lN3+BKZG3bPv LGx30cUpxKkROV8yuMaqCIDKTfMJIiPnG0xBud8cdsvMcEiCL22zrTSO81H5TznFyUE1 aakBobmiZpNwQftB9YJwiGyoCkCshPtn7uVm5m8ozJXMIl8pOBxZwh00/6LFDBjCUVPZ o3Wg==
X-Gm-Message-State: AN3rC/6eZ9sGHGEVs8vFyohhFgoRQqRp6ZVn9/qScUMwuScEzmDP/Bnx SsY8cN5FcNE1c76yZQOYmDUwGFKoTBzj
X-Received: by 10.36.108.144 with SMTP id w138mr11825748itb.67.1492194674813;  Fri, 14 Apr 2017 11:31:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.133.104 with HTTP; Fri, 14 Apr 2017 11:31:14 -0700 (PDT)
From: spencer shepler <spencer.shepler@gmail.com>
Date: Fri, 14 Apr 2017 11:31:14 -0700
Message-ID: <CAFt6BakDUWqhiB-4dFmvoBFDM2GFST25pp8BMuM6n+8mgrOU0A@mail.gmail.com>
To: "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a113f88c88733b5054d24a5ac
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/ajyeiIm0WhLPbX2waWuvf0yfExA>
Subject: [nfsv4] Last call for draft-ietf-nfsv4-rfc5667bis-09 - ends May 5th
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: Fri, 14 Apr 2017 18:31:18 -0000

--001a113f88c88733b5054d24a5ac
Content-Type: text/plain; charset=UTF-8

Hello.  We are starting a last call for the following I-D:

https://datatracker.ietf.org/doc/html/draft-ietf-nfsv4-rfc5667bis

Chuck has done a great job of moving this forward so let's reward him with
a good review and feedback.

Given that there are a variety of spring breaks going on, I am setting the
timeout for the last call to expire on May 5th.

Thanks,
Spencer

--001a113f88c88733b5054d24a5ac
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div>Hello.=C2=A0 We are starting a last call for the =
following I-D:</div><div><br></div><div><a href=3D"https://datatracker.ietf=
.org/doc/html/draft-ietf-nfsv4-rfc5667bis">https://datatracker.ietf.org/doc=
/html/draft-ietf-nfsv4-rfc5667bis</a><br></div><div><br></div><div>Chuck ha=
s done a great job of moving this forward so let&#39;s reward him with a go=
od review and feedback.</div><div><br></div><div>Given that there are a var=
iety of spring breaks going on, I am setting the timeout for the last call =
to expire on May 5th.</div><div><br></div><div>Thanks,</div><div>Spencer</d=
iv><div><br></div></div>

--001a113f88c88733b5054d24a5ac--


From nobody Fri Apr 14 11:44:44 2017
Return-Path: <spencer.shepler@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 E74B41294FE for <nfsv4@ietfa.amsl.com>; Fri, 14 Apr 2017 11:44:42 -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 QHO0uB7oCF9B for <nfsv4@ietfa.amsl.com>; Fri, 14 Apr 2017 11:44:41 -0700 (PDT)
Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (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 49FB4126DDF for <nfsv4@ietf.org>; Fri, 14 Apr 2017 11:44:41 -0700 (PDT)
Received: by mail-io0-x22d.google.com with SMTP id r16so115553495ioi.2 for <nfsv4@ietf.org>; Fri, 14 Apr 2017 11:44:41 -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;  bh=oQeY1kVHnY+eyjUZ9gj03Jc4Vz5i0NR4CmKJI74sXf8=; b=Bll0UAm7zFWjMt+U0y2m68TQYlly6HztR3Wi2QsXjAM4ecyYcaKRV+qOORLhCwXvxg qpRjLT7Vf8WSiK6T2a6Y0Nx51yFUotP7tqw4K44ssj2LvYqzqreF1ZOTePu2DKczmmsf G+fUXuPwlPrB9ZgHZnnQhgj4ELwpaJZ0UjjGfLql1sT8vx5wGjD8J0PBkO/JRsBmDGxk 8Zt4cCKIF/ofPwL2HTGHUefidjFd3ulMNRg7/OxyaehvoUQDiEKD5Fz72M/gKpvJMpcW t6oMJNEci7gLFj2lfTu01A5JNxvjYotvKeW89rd/TdnMw+HsmopI03Czv4TAOF2+zsFV IN5Q==
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; bh=oQeY1kVHnY+eyjUZ9gj03Jc4Vz5i0NR4CmKJI74sXf8=; b=tM2g3bsuJzE/5MnXARCRVSnzKGF7xyrpjDsKwCtSKGOEXmeef4Y1TsEeQZCdCp7Yke 40RDuJzifRj9zCFfEpE2xhRsHhBOLPziruZxXaF1ISzawhCg7F+dXWoo1svVxvspPCga YgClVHeRrV2BBLVf/Mo9nY/MsiI4JhsM7mW1dy+rE6LU11Gy29qtMKJ2jQVjg1euolko vvEbdmRntrPWiNVMBP5uPbGlq+Be42GNhWxGz3FRjdy93G/KSb+IJqE4KHwqjG1U1XrE PDgzr24JC0kVtEZZpNbdQ7rrPy/y5lN2SZ1k/RKH02WNHlfRlmjE70SSlCIhYLUAgK4d Czdw==
X-Gm-Message-State: AN3rC/4m5wvjpVxrXnQVtu1RA8ITlDFNIRtOmGYzAy8T2NoF1KXvmwm5 M39cSrOFC+K3GWBmZKaCg7hq2DSdD95m
X-Received: by 10.107.17.220 with SMTP id 89mr12409913ior.177.1492195480505; Fri, 14 Apr 2017 11:44:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.133.104 with HTTP; Fri, 14 Apr 2017 11:44:40 -0700 (PDT)
In-Reply-To: <CAFt6BakDUWqhiB-4dFmvoBFDM2GFST25pp8BMuM6n+8mgrOU0A@mail.gmail.com>
References: <CAFt6BakDUWqhiB-4dFmvoBFDM2GFST25pp8BMuM6n+8mgrOU0A@mail.gmail.com>
From: spencer shepler <spencer.shepler@gmail.com>
Date: Fri, 14 Apr 2017 11:44:40 -0700
Message-ID: <CAFt6Bak5X8fAY6GgCyeZO_dCe-s=t_POnM43ZVR=eyzzQiAVGw@mail.gmail.com>
To: "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a113f5e188d3985054d24d54f
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/ubgZw59Gd8THgz8vW3QzQHfctOY>
Subject: Re: [nfsv4] Last call for draft-ietf-nfsv4-rfc5667bis-09 - ends May 5th
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: Fri, 14 Apr 2017 18:44:43 -0000

--001a113f5e188d3985054d24d54f
Content-Type: text/plain; charset=UTF-8

Apologies but there seems to be an issue with the html'ized version of the
document.

You can obtain the document text from this link by expanding it to "full
document"

https://datatracker.ietf.org/doc/draft-ietf-nfsv4-rfc5667bis/


On Fri, Apr 14, 2017 at 11:31 AM, spencer shepler <spencer.shepler@gmail.com
> wrote:

>
> Hello.  We are starting a last call for the following I-D:
>
> https://datatracker.ietf.org/doc/html/draft-ietf-nfsv4-rfc5667bis
>
> Chuck has done a great job of moving this forward so let's reward him with
> a good review and feedback.
>
> Given that there are a variety of spring breaks going on, I am setting the
> timeout for the last call to expire on May 5th.
>
> Thanks,
> Spencer
>
>

--001a113f5e188d3985054d24d54f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div>Apologies but there seems to be an issue with the=
 html&#39;ized version of the document.</div><div><br></div><div>You can ob=
tain the document text from this link by expanding it to &quot;full documen=
t&quot;</div><div><br></div><div><a href=3D"https://datatracker.ietf.org/do=
c/draft-ietf-nfsv4-rfc5667bis/">https://datatracker.ietf.org/doc/draft-ietf=
-nfsv4-rfc5667bis/</a><br></div><div><br></div></div><div class=3D"gmail_ex=
tra"><br><div class=3D"gmail_quote">On Fri, Apr 14, 2017 at 11:31 AM, spenc=
er shepler <span dir=3D"ltr">&lt;<a href=3D"mailto:spencer.shepler@gmail.co=
m" target=3D"_blank">spencer.shepler@gmail.com</a>&gt;</span> wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex"><div dir=3D"ltr"><br><div>Hello.=C2=A0 We are s=
tarting a last call for the following I-D:</div><div><br></div><div><a href=
=3D"https://datatracker.ietf.org/doc/html/draft-ietf-nfsv4-rfc5667bis" targ=
et=3D"_blank">https://datatracker.ietf.org/<wbr>doc/html/draft-ietf-nfsv4-<=
wbr>rfc5667bis</a><br></div><div><br></div><div>Chuck has done a great job =
of moving this forward so let&#39;s reward him with a good review and feedb=
ack.</div><div><br></div><div>Given that there are a variety of spring brea=
ks going on, I am setting the timeout for the last call to expire on May 5t=
h.</div><div><br></div><div>Thanks,</div><div>Spencer</div><div><br></div><=
/div>
</blockquote></div><br></div>

--001a113f5e188d3985054d24d54f--


From nobody Fri Apr 14 12:03:24 2017
Return-Path: <chucklever@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 BA57C12954B for <nfsv4@ietfa.amsl.com>; Fri, 14 Apr 2017 12:03:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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, 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 vR20SDZIAH8f for <nfsv4@ietfa.amsl.com>; Fri, 14 Apr 2017 12:03:21 -0700 (PDT)
Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (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 23480126DDF for <nfsv4@ietf.org>; Fri, 14 Apr 2017 12:03:21 -0700 (PDT)
Received: by mail-io0-x233.google.com with SMTP id k87so97716749ioi.0 for <nfsv4@ietf.org>; Fri, 14 Apr 2017 12:03:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4XzT5VbYew//WqpDNnpWsUJ8kgz3ciJr9J2GiwiTyLM=; b=gldRUcThUidanlFWAFI68QHL/ab/L16r1TcpgZpttzbDbkyxQd36VmDiOuXtwLj9+d Q7trwMdQd8/382nKpNsuCsrV/xsx2fJevTIvZISKBWT7nmhnOCIRaZYvjLmmWnfj7W0/ pKEcPZYRIJ2GepCqUI6NoVm2U2Xgd2SLO5ndc65oXeOCnzb+y9RPRVwC4ptGV2zCqMVc srz4L9jPdGYK/FaxO+fssE64pPuTsnFWTN5WGT/IqEWMj12JpTNLa5dapkH97DNpSWOj TDoeoNfoLEfmp32wS2V/JonDaSVCAbyHYCGV60Tm5zK6obZI3IvWJwDH8dPCfgc90qca 48uA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4XzT5VbYew//WqpDNnpWsUJ8kgz3ciJr9J2GiwiTyLM=; b=DjmZEq5twNZn10CxiMEmi2KlLHC8GIidNHwsWEyd8nV/yC5x9BXs+E75XqJDBAf6/O AWoyR2TrRD8EYNLmLDm4WeS4zEKA0rlN7uq+as2p1uOpZpsJqJ4889JM8/iHdEPL7yRr xdvivN86Zixc5XiYxp3MlgLO2+Sp3/ALrtJCytXN5DzJ1ZB0KoCq0udPGIrSsbteVxSe fI1to/janUhcdnqKDvHEZORTxe/0igfxgNYZ1HWzEoELv8vqTGGcvlG9fDQUM90BQo/c okHZk2xkWNLUQLGibDjKE0MpDOkfGUIz7H5pf5eRkGEYoxxyvGzR0rjEKqNmHAUMIEwQ SLZQ==
X-Gm-Message-State: AN3rC/6N+hQOOpKSCdPxND/rpDEetChAfXVeuiIYojiSDQ9EfCaSrShD 01p1a3bB7mEU+A==
X-Received: by 10.107.32.199 with SMTP id g190mr12511516iog.117.1492196600415;  Fri, 14 Apr 2017 12:03:20 -0700 (PDT)
Received: from anon-dhcp-171.1015granger.net (c-68-46-169-226.hsd1.mi.comcast.net. [68.46.169.226]) by smtp.gmail.com with ESMTPSA id v187sm1407158iod.51.2017.04.14.12.03.18 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 14 Apr 2017 12:03:20 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chucklever@gmail.com>
In-Reply-To: <CAFt6Bak5X8fAY6GgCyeZO_dCe-s=t_POnM43ZVR=eyzzQiAVGw@mail.gmail.com>
Date: Fri, 14 Apr 2017 15:03:13 -0400
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <28BA50D3-1A64-4914-B918-B834F23FB342@gmail.com>
References: <CAFt6BakDUWqhiB-4dFmvoBFDM2GFST25pp8BMuM6n+8mgrOU0A@mail.gmail.com> <CAFt6Bak5X8fAY6GgCyeZO_dCe-s=t_POnM43ZVR=eyzzQiAVGw@mail.gmail.com>
To: spencer shepler <spencer.shepler@gmail.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/Fmi0NEAeTJn6BuX6J9XbsV63OsU>
Subject: Re: [nfsv4] Last call for draft-ietf-nfsv4-rfc5667bis-09 - ends May 5th
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: Fri, 14 Apr 2017 19:03:23 -0000

Hello all-

> On Apr 14, 2017, at 2:44 PM, spencer shepler =
<spencer.shepler@gmail.com> wrote:
>=20
>=20
> Apologies but there seems to be an issue with the html'ized version of =
the document.

I submitted only an XML version. The HTML version is generated by the
datatracker automatically. I'm not sure whom to poke to get this
corrected.


> You can obtain the document text from this link by expanding it to =
"full document"
>=20
> https://datatracker.ietf.org/doc/draft-ietf-nfsv4-rfc5667bis/
>=20
>=20
> On Fri, Apr 14, 2017 at 11:31 AM, spencer shepler =
<spencer.shepler@gmail.com> wrote:
>=20
> Hello.  We are starting a last call for the following I-D:
>=20
> https://datatracker.ietf.org/doc/html/draft-ietf-nfsv4-rfc5667bis
>=20
> Chuck has done a great job of moving this forward so let's reward him =
with a good review and feedback.
>=20
> Given that there are a variety of spring breaks going on, I am setting =
the timeout for the last call to expire on May 5th.
>=20
> Thanks,
> Spencer
>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

--
Chuck Lever
chucklever@gmail.com




From nobody Fri Apr 14 13:11:03 2017
Return-Path: <Jorge.Mora@netapp.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 DDAB8129646 for <nfsv4@ietfa.amsl.com>; Fri, 14 Apr 2017 13:11:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level: 
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=netapp.onmicrosoft.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 RnFlyUrABl20 for <nfsv4@ietfa.amsl.com>; Fri, 14 Apr 2017 13:10:59 -0700 (PDT)
Received: from mx144.netapp.com (mx144.netapp.com [216.240.21.25]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C78D61294EF for <nfsv4@ietf.org>; Fri, 14 Apr 2017 13:10:59 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.37,200,1488873600"; d="scan'208";a="187982994"
Received: from vmwexchts02-prd.hq.netapp.com ([10.122.105.23]) by mx144-out.netapp.com with ESMTP; 14 Apr 2017 12:55:57 -0700
Received: from VMWEXCCAS10-PRD.hq.netapp.com (10.122.105.28) by VMWEXCHTS02-PRD.hq.netapp.com (10.122.105.23) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 14 Apr 2017 13:09:51 -0700
Received: from NAM01-BY2-obe.outbound.protection.outlook.com (10.120.60.153) by VMWEXCCAS10-PRD.hq.netapp.com (10.122.105.28) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Frontend Transport; Fri, 14 Apr 2017 13:09:51 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ZhzdFHETSrgndv9QLWtFws4AHq5VdBpVKpoXwj2LiV8=; b=rBGFYcIurn7r3ZGvDf8M6ZZCDwhp2ftEhRRHGhszFed7GteLmWCvnBQupo36szrxSz8DABYP+RaWHCpjeNFykWjpL/l/QOXAurCZY0FYWZGV/3NSK6XpHy1jpnB5APFdwYTxWHO1IRdDNXxkk5SYMS0mf1dbMEBM7VRIqkj4Q+4=
Received: from BLUPR06MB547.namprd06.prod.outlook.com (10.141.205.22) by BLUPR06MB546.namprd06.prod.outlook.com (10.141.205.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Fri, 14 Apr 2017 20:09:54 +0000
Received: from BLUPR06MB547.namprd06.prod.outlook.com ([10.141.205.22]) by BLUPR06MB547.namprd06.prod.outlook.com ([10.141.205.22]) with mapi id 15.01.1034.013; Fri, 14 Apr 2017 20:09:54 +0000
From: "Mora, Jorge" <Jorge.Mora@netapp.com>
To: "J. Bruce Fields" <bfields@fieldses.org>
CC: "nfsv4@ietf.org" <nfsv4@ietf.org>, "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Thread-Topic: [nfsv4] Inter server-side copy performance
Thread-Index: AQHSs5u10bLXlWBn5Uu+5DgJxojRSqHDlDKAgAFWJ4A=
Date: Fri, 14 Apr 2017 20:09:54 +0000
Message-ID: <59BDF7CA-78BB-42FC-8BC4-95101F5E1EC7@netapp.com>
References: <DFE33002-FE1C-4E83-B6E3-50BFD304C7F6@netapp.com> <20170413174515.GA5140@fieldses.org>
In-Reply-To: <20170413174515.GA5140@fieldses.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/f.20.0.170309
authentication-results: fieldses.org; dkim=none (message not signed) header.d=none;fieldses.org; dmarc=none action=none header.from=netapp.com;
x-originating-ip: [216.240.19.104]
x-microsoft-exchange-diagnostics: 1; BLUPR06MB546; 7:wh+bcciGYJTf+hHqSfgn2Lk1E3baMbWaPh4n+1DCfMEmNUxOX0BHX/iXqdWGWjF9fWqktf33UIj/LsaFmDRmMXtrJFeRsn5TGad1CEfDWZlLbTfzpcYuuL/ndzhUATexGbpazOlD2q7bcXjugx/ZAOhRfX1WLW3KrvX9PPHJQSN4c3lCSo5Vuau+9jUHvi6LjexIcXBup7XODvHXUID9VS2epaSFOg2Z7xMSOyjWJsR1aY6kYqLTBLuCsmKJSpSY6Q6fQ+QUgpMYx9wyXwqjOxh+E4gJC+APJf/tVFuJssxKJBjnQ/Bcb+X85qHYGUCsrOErZi3ECY+aWBmlXH914Q==
x-ms-office365-filtering-correlation-id: bc00ab31-26c0-45c6-89be-08d483723745
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:BLUPR06MB546; 
x-microsoft-antispam-prvs: <BLUPR06MB546761F9CDAA7FAD467C516E1050@BLUPR06MB546.namprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041248)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(20161123560025)(6072148); SRVR:BLUPR06MB546; BCL:0; PCL:0; RULEID:; SRVR:BLUPR06MB546; 
x-forefront-prvs: 02778BF158
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39400400002)(39840400002)(39450400003)(39410400002)(377454003)(24454002)(8936002)(99286003)(6436002)(8676002)(82746002)(83506001)(86362001)(81166006)(54906002)(38730400002)(54356999)(110136004)(305945005)(36756003)(6512007)(229853002)(7736002)(2906002)(4326008)(53546009)(25786009)(6246003)(53936002)(5660300001)(6506006)(122556002)(83716003)(3660700001)(189998001)(33656002)(4001350100001)(66066001)(6116002)(2900100001)(50986999)(77096006)(76176999)(102836003)(6486002)(3846002)(6916009)(2950100002)(3280700002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR06MB546; H:BLUPR06MB547.namprd06.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <1A8ECEFA428A6245AE8C5895CE1F159C@namprd06.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Apr 2017 20:09:54.0240 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR06MB546
X-OriginatorOrg: netapp.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/IWAuNchuwTLZg-l0lYAyefAFWMY>
Subject: Re: [nfsv4] Inter server-side copy performance
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: Fri, 14 Apr 2017 20:11:02 -0000

T24gNC8xMy8xNywgMTE6NDUgQU0sICJKLiBCcnVjZSBGaWVsZHMiIDxiZmllbGRzQGZpZWxkc2Vz
Lm9yZz4gd3JvdGU6DQoNCj4gT24gV2VkLCBBcHIgMTIsIDIwMTcgYXQgMDI6NDc6MzBQTSArMDAw
MCwgTW9yYSwgSm9yZ2Ugd3JvdGU6DQo+ID4gVGhlIGZvbGxvd2luZyBzaG93cyBhIGNvbXBhcmlz
b24gYmV0d2VlbiBpbnRlciBzZXJ2ZXItc2lkZSBjb3B5IGFuZCBhIHRyYWRpdGlvbmFsIGNvcHku
DQo+IA0KPiBUaGFua3MgZm9yIGRvaW5nIHRoaXMhICBBZGRpbmcgdGhlIGxpbnV4LW5mcyBsaXN0
LCBJIGhvcGUgdGhhdCdzIE9LLg0KPiANCj4gPiBTZXR1cDoNCj4gPiAgICAgQ2xpZW50OiAxNiBD
UFVzLCAzMkdCDQo+ID4gICAgIFNSQyBzZXJ2ZXI6IDQgQ1BVcywgOEdCDQo+ID4gICAgIERTVCBz
ZXJ2ZXI6IDQgQ1BVcywgOEdCDQo+IA0KPiBDb3VsZCB5b3UgYWxzbyB0ZWxsIHVzIGFib3V0IHRo
ZSBuZXR3b3JrPyAgSG93IG11Y2ggYmFuZHdpZHRoIGlzDQo+IGF2YWlsYWJsZSBiZXR3ZWVuIHRo
ZSB0d28gc2VydmVycywgYW5kIGJldHdlZW4gdGhlIGVhY2ggc2VydmVyIGFuZCB0aGUNCj4gY2xp
ZW50PyAgRGlzayBiYW5kd2lkdGggbWlnaHQgYmUgdXNlZnVsIHRvIGtub3cgdG9vLg0KDQpDbGll
bnQ6ICAgICBwYWlyICAgICgxMDAwYmFzZVQvRnVsbCkNClNSQyBTZXJ2ZXI6IHJpY29oICAgKDEw
MDBiYXNlVC9GdWxsKQ0KRFNUIFNlcnZlcjogaGFkZG9jayAoMTAwMGJhc2VUL0Z1bGwpDQoNClRy
YW5zZmVyIGZyb20gc291cmNlIHNlcnZlciB0byBjbGllbnQ6DQpbbW9yYUBwYWlyIHRlc3RdJCBz
Y3Agcmljb2g6L2hvbWUvZXhwb3J0cy9uZnN0ZXN0X3NzY19zb3VyY2VfZmlsZSAvZGV2L251bGwN
Cm5mc3Rlc3Rfc3NjX3NvdXJjZV9maWxlICAgICAgICAgICAgICAgICAgICAgICAxMDAlIDgxOTJN
QiAxMTAuN01CL3MgICAwMToxNA0KDQpUcmFuc2ZlciBmcm9tIGRlc3RpbmF0aW9uIHNlcnZlciB0
byBjbGllbnQ6DQpbbW9yYUBwYWlyIHRlc3RdJCBzY3AgaGFkZG9jazovaG9tZS9leHBvcnRzL25m
c3Rlc3Rfc3NjX3NvdXJjZV9maWxlIC9kZXYvbnVsbA0KbmZzdGVzdF9zc2Nfc291cmNlX2ZpbGUg
ICAgICAgICAgICAgICAgICAgICAgIDEwMCUgODE5Mk1CIDExMi4yTUIvcyAgIDAxOjEzDQoNClRy
YW5zZmVyIGZyb20gc291cmNlIHRvIGRlc3RpbmF0aW9uIHNlcnZlcjoNClttb3JhQGhhZGRvY2sg
fl0kIHNjcCByaWNvaDovaG9tZS9leHBvcnRzL25mc3Rlc3Rfc3NjX3NvdXJjZV9maWxlIC9kZXYv
bnVsbA0KbmZzdGVzdF9zc2Nfc291cmNlX2ZpbGUgICAgICAgICAgICAgICAgICAgICAgIDEwMCUg
ODE5Mk1CIDExMC43TUIvcyAgIDAxOjE0DQoNCkRpc2sgSS9PIG9uIHNvdXJjZSBzZXJ2ZXI6DQpb
bW9yYUByaWNvaCB+XSQgc3VkbyBzaCAtYyAiZWNobyAzID4gL3Byb2Mvc3lzL3ZtL2Ryb3BfY2Fj
aGVzIg0KW21vcmFAcmljb2ggfl0kIGRkIGlmPS9ob21lL2V4cG9ydHMvbmZzdGVzdF9zc2Nfc291
cmNlX2ZpbGUgb2Y9L2Rldi9udWxsIGJzPThrIGNvdW50PTEwMjRrDQoxMDQ4NTc2KzAgcmVjb3Jk
cyBpbg0KMTA0ODU3NiswIHJlY29yZHMgb3V0DQo4NTg5OTM0NTkyIGJ5dGVzICg4LjYgR0IpIGNv
cGllZCwgNTYuODk1MyBzLCAxNTEgTUIvcw0KW21vcmFAcmljb2ggfl0kIHN1ZG8gc2ggLWMgImVj
aG8gMyA+IC9wcm9jL3N5cy92bS9kcm9wX2NhY2hlcyINClttb3JhQHJpY29oIH5dJCBkZCBpZj0v
ZGV2L3plcm8gb2Y9L2hvbWUvZXhwb3J0cy90ZXN0IGJzPThrIGNvdW50PTEwMjRrDQoxMDQ4NTc2
KzAgcmVjb3JkcyBpbg0KMTA0ODU3NiswIHJlY29yZHMgb3V0DQo4NTg5OTM0NTkyIGJ5dGVzICg4
LjYgR0IpIGNvcGllZCwgNDYuOTA2NCBzLCAxODMgTUIvcw0KDQpEaXNrIEkvTyBvbiBkZXN0aW5h
dGlvbiBzZXJ2ZXI6DQpbbW9yYUBoYWRkb2NrIH5dJCBzdWRvIHNoIC1jICJlY2hvIDMgPiAvcHJv
Yy9zeXMvdm0vZHJvcF9jYWNoZXMiDQpbbW9yYUBoYWRkb2NrIH5dJCBkZCBpZj0vaG9tZS9leHBv
cnRzL25mc3Rlc3Rfc3NjX3NvdXJjZV9maWxlIG9mPS9kZXYvbnVsbCBicz04ayBjb3VudD0xMDI0
aw0KMTA0ODU3NiswIHJlY29yZHMgaW4NCjEwNDg1NzYrMCByZWNvcmRzIG91dA0KODU4OTkzNDU5
MiBieXRlcyAoOC42IEdCKSBjb3BpZWQsIDU3LjMzNTYgcywgMTUwIE1CL3MNClttb3JhQGhhZGRv
Y2sgfl0kIHN1ZG8gc2ggLWMgImVjaG8gMyA+IC9wcm9jL3N5cy92bS9kcm9wX2NhY2hlcyINCltt
b3JhQGhhZGRvY2sgfl0kIGRkIGlmPS9kZXYvemVybyBvZj0vaG9tZS9leHBvcnRzL3Rlc3QgYnM9
OGsgY291bnQ9MTAyNGsNCjEwNDg1NzYrMCByZWNvcmRzIGluDQoxMDQ4NTc2KzAgcmVjb3JkcyBv
dXQNCjg1ODk5MzQ1OTIgYnl0ZXMgKDguNiBHQikgY29waWVkLCA0Ny4zODA5IHMsIDE4MSBNQi9z
DQoNCj4gPiAgICAgQWxsIG1hY2hpbmVzIGFyZSBydW5uaW5nIDQuMTAuMC1zc2MtMDIyNDIwMTcu
MTM0NSwNCj4gPiAgICAgICA0LjEwLjAga2VybmVsIG9uIHRvcCBSSEVMIDcuMyB3aXRoIE9sZ2Hi
gJlzIFNTQyBwYXRjaGVzIDAyMjQyMDE3LnRneiAoYXN5bmNocm9ub3VzIFNTQykNCj4gPiBUZXN0
Og0KPiA+ICAgICBUaGUgdGVzdCBydW5zIDEwIHRpbWVzIGZvciBlYWNoIGNvcHkgc2l6ZSBhbmQg
dGhlIGF2ZXJhZ2UgaXMgY29tcGFyZWQuDQo+ID4gICAgIFRoZSBzZXJ2ZXJzIGFyZSBtb3VudGVk
IGFuZCB1bi1tb3VudGVkIGZvciBlYWNoIGNvcHkgKHVzaW5nIGRlZmF1bHQgbW91bnQgb3B0aW9u
cykNCj4gPiAgICAgVGVzdGluZyBjb3B5IHNpemU6IDFLQiDigJMgNEdCLCBOT1RFOiB0aGUgbGFz
dCBjb3B5IGlzIDRHQi0xIGJ5dGVzLCB0aGUgbWF4aW11bSBjb3B5X2ZpbGVfcmFuZ2UoKSBhY2Nl
cHRzLg0KPiANCj4gSWYgdGhlIGNsaWVudCB1bm1vdW50cyB0aGUgc2VydmVycywgYnV0IGlmIHRo
ZSBzZXJ2ZXJzIGtlZXAgdGhlaXINCj4gZXhwb3J0cyBtb3VudGVkIHRoZW4gdGhlIHBlcmZvcm1h
bmNlIG1heSBkZXBlbmQgb24gd2hldGhlciBkYXRhIGlzDQo+IGFscmVhZHkgY2FjaGVkIG9uIHRo
ZSBzb3VyY2Ugc2VydmVyLCBzaW5jZSBhbGwgdGhlc2UgY29waWVzIGZpdCBpbiBSQU0uDQoNCkdv
b2QgcG9pbnQsIEkgd2lsbCBjbGVhciB0aGUgVk0gY2FjaGVzIHVzaW5nICJlY2hvIDMgPiAvcHJv
Yy9zeXMvdm0vZHJvcF9jYWNoZXMiDQpvbiBib3RoIHNlcnZlcnMgYmVmb3JlIGVhY2ggY29weS4N
Cg0KPiBBcmUgeW91IHRpbWluZyBqdXN0IHRoZSBjb3B5X2ZpbGVfcmFuZ2UoKSBjYWxsLCBvciBk
byB5b3UgaW5jbHVkZSBhDQo+IGZvbGxvd2luZyBzeW5jPw0KDQpJIGFtIHRpbWluZyByaWdodCBi
ZWZvcmUgY2FsbGluZyBjb3B5X2ZpbGVfcmFuZ2UoKSB1cCB0byBkb2luZyBhbiBmc3luYygpIGFu
ZCBjbG9zZSgpIG9mIHRoZSBkZXN0aW5hdGlvbiBmaWxlLg0KRm9yIHRoZSB0cmFkaXRpb25hbCBj
b3B5IGlzIHRoZSBzYW1lLCBJIGFtIHRpbWluZyByaWdodCBiZWZvcmUgdGhlIGZpcnN0IHJlYWQg
b24gdGhlIHNvdXJjZSBmaWxlIHVwIHRvIHRoZQ0KZnN5bmMoKSBhbmQgY2xvc2UoKSBvZiB0aGUg
ZGVzdGluYXRpb24gZmlsZS4NCg0KPiA+IFJlc3VsdHM6DQo+ID4gICAgIEZvciBhIGNvcHkgc2l6
ZSBiZWxvdyAxNk1CLCB0cmFkaXRpb25hbCBjb3B5IHJ1bnMgZmFzdGVyIHRoYW4gc2VydmVyLXNp
ZGUgY29weQ0KPiA+ICAgICBGb3IgYSBjb3B5IHNpemUgb2YgMzJNQiBhbmQgYWJvdmUsIHNlcnZl
ci1zaWRlIGNvcHkgaXMgYXQgbGVhc3QgMzAlIGZhc3Rlci4NCj4gPiAgICAgRm9yIGEgY29weSBz
aXplIG9mIDEyOE1CIGFuZCBhYm92ZSwgc2VydmVyLXNpZGUgY29weSBpcyBhYm91dCA1MCUgZmFz
dGVyLg0KPiA+ICAgICBGb3IgdGhlIDFHQiBhbmQgMkdCIGNvcHkgc2l6ZXMsIHRoZSBwZXJmb3Jt
YW5jZSBpbXByb3ZlbWVudCBpcyBvbmx5IGFib3V0IDMwLTQwJSwgaW52ZXN0aWdhdGluZyB3aHkg
dGhpcyBpcyBoYXBwZW5pbmcuDQo+IA0KPiBNaWdodCBhbHNvIGJlIGludGVyZXN0aW5nIHRvIGxv
b2sgYXQgcGVyZm9ybWFuY2Ugd2hlbiBjb3B5aW5nIGEgbGFyZ2VyDQo+IGZpbGUgd2l0aCBtdWx0
aXBsZSBjb3B5X2ZpbGVfcmFuZ2UoKSBjYWxscy4NCg0KSSB3aWxsIGRvIHRoaXMgYXMgd2VsbC4N
Cg0KDQotLUpvcmdlDQoNCj4gLS1iLg0KPiANCj4gPiAqKiogSW50ZXItU1NDIHBlcmZvcm1hbmNl
IHRlc3QNCj4gPiAgICAgVEVTVDogUnVubmluZyB0ZXN0ICdwZXJmMDInDQo+ID4gDQo+ID4gUGVy
Zm9ybWFuY2UgZGVncmFkYXRpb246DQo+ID4gICAgIElORk86IDAwOjA4OjUwLjAzNTE2NSAtIHBl
cmYwMiBjb3B5IHdpdGggc2l6ZSAxS0INCj4gPiAgICAgSU5GTzogMDA6MDk6MDEuMzAyMDA0IC0g
U2VydmVyLXNpZGUgQ09QWTogMC4xMDQwNDk5OTI1NjEgc2Vjb25kcw0KPiA+ICAgICBJTkZPOiAw
MDowOTowMS4zMDIyMDYgLSBUcmFkaXRpb25hbCBDT1BZOiAwLjAzMTk2MTAxMTg4NjYgc2Vjb25k
cw0KPiA+ICAgICBGQUlMOiBTU0Mgc2hvdWxkIG91dHBlcmZvcm0gdHJhZGl0aW9uYWwgY29weSwg
cGVyZm9ybWFuY2UgZGVncmFkYXRpb24gZm9yIGEgMUtCIGZpbGU6IDIyNSUNCj4gPiAgICAgSU5G
TzogMDA6MDk6MDEuMzAyMzc4IC0gcGVyZjAyIGNvcHkgd2l0aCBzaXplIDJLQg0KPiA+ICAgICBJ
TkZPOiAwMDowOToxMi4zMzIxNDQgLSBTZXJ2ZXItc2lkZSBDT1BZOiAwLjA5MjM1ODg1MTQzMjgg
c2Vjb25kcw0KPiA+ICAgICBJTkZPOiAwMDowOToxMi4zMzIzMzUgLSBUcmFkaXRpb25hbCBDT1BZ
OiAwLjAzMzU5Njc3NzkxNiBzZWNvbmRzDQo+ID4gICAgIEZBSUw6IFNTQyBzaG91bGQgb3V0cGVy
Zm9ybSB0cmFkaXRpb25hbCBjb3B5LCBwZXJmb3JtYW5jZSBkZWdyYWRhdGlvbiBmb3IgYSAyS0Ig
ZmlsZTogMTc0JQ0KPiA+ICAgICBJTkZPOiAwMDowOToxMi4zMzI1MTAgLSBwZXJmMDIgY29weSB3
aXRoIHNpemUgNEtCDQo+ID4gICAgIElORk86IDAwOjA5OjIzLjMyMDcxNCAtIFNlcnZlci1zaWRl
IENPUFk6IDAuMTAwNzE1NTY1NjgxIHNlY29uZHMNCj4gPiAgICAgSU5GTzogMDA6MDk6MjMuMzIw
OTE1IC0gVHJhZGl0aW9uYWwgQ09QWTogMC4wMzM2MjQwNTMwMDE0IHNlY29uZHMNCj4gPiAgICAg
RkFJTDogU1NDIHNob3VsZCBvdXRwZXJmb3JtIHRyYWRpdGlvbmFsIGNvcHksIHBlcmZvcm1hbmNl
IGRlZ3JhZGF0aW9uIGZvciBhIDRLQiBmaWxlOiAxOTklDQo+ID4gICAgIElORk86IDAwOjA5OjIz
LjMyMTA4NiAtIHBlcmYwMiBjb3B5IHdpdGggc2l6ZSA4S0INCj4gPiAgICAgSU5GTzogMDA6MDk6
MzQuNTQyNTE1IC0gU2VydmVyLXNpZGUgQ09QWTogMC4wODgxNjQxMTQ5NTIxIHNlY29uZHMNCj4g
PiAgICAgSU5GTzogMDA6MDk6MzQuNTQyNzQyIC0gVHJhZGl0aW9uYWwgQ09QWTogMC4wMzM2NjA4
ODg2NzE5IHNlY29uZHMNCj4gPiAgICAgRkFJTDogU1NDIHNob3VsZCBvdXRwZXJmb3JtIHRyYWRp
dGlvbmFsIGNvcHksIHBlcmZvcm1hbmNlIGRlZ3JhZGF0aW9uIGZvciBhIDhLQiBmaWxlOiAxNjEl
DQo+ID4gICAgIElORk86IDAwOjA5OjM0LjU0MjkyNCAtIHBlcmYwMiBjb3B5IHdpdGggc2l6ZSAx
NktCDQo+ID4gICAgIElORk86IDAwOjA5OjQ1LjQzOTQyNCAtIFNlcnZlci1zaWRlIENPUFk6IDAu
MDkzOTg5ODAxNDA2OSBzZWNvbmRzDQo+ID4gICAgIElORk86IDAwOjA5OjQ1LjQzOTYzMCAtIFRy
YWRpdGlvbmFsIENPUFk6IDAuMDI3NzA2Mzg0NjU4OCBzZWNvbmRzDQo+ID4gICAgIEZBSUw6IFNT
QyBzaG91bGQgb3V0cGVyZm9ybSB0cmFkaXRpb25hbCBjb3B5LCBwZXJmb3JtYW5jZSBkZWdyYWRh
dGlvbiBmb3IgYSAxNktCIGZpbGU6IDIzOSUNCj4gPiAgICAgSU5GTzogMDA6MDk6NDUuNDM5Nzk1
IC0gcGVyZjAyIGNvcHkgd2l0aCBzaXplIDMyS0INCj4gPiAgICAgSU5GTzogMDA6MDk6NTYuMTAz
NDgwIC0gU2VydmVyLXNpZGUgQ09QWTogMC4wNzk4MzA5MDg3NzUzIHNlY29uZHMNCj4gPiAgICAg
SU5GTzogMDA6MDk6NTYuMTAzNjkxIC0gVHJhZGl0aW9uYWwgQ09QWTogMC4wMzM1NzIyMjA4MDIz
IHNlY29uZHMNCj4gPiAgICAgRkFJTDogU1NDIHNob3VsZCBvdXRwZXJmb3JtIHRyYWRpdGlvbmFs
IGNvcHksIHBlcmZvcm1hbmNlIGRlZ3JhZGF0aW9uIGZvciBhIDMyS0IgZmlsZTogMTM3JQ0KPiA+
ICAgICBJTkZPOiAwMDowOTo1Ni4xMDM4NDggLSBwZXJmMDIgY29weSB3aXRoIHNpemUgNjRLQg0K
PiA+ICAgICBJTkZPOiAwMDoxMDowNy4yMTcwMjYgLSBTZXJ2ZXItc2lkZSBDT1BZOiAwLjEwNjQ5
MTMyNzI4NiBzZWNvbmRzDQo+ID4gICAgIElORk86IDAwOjEwOjA3LjIxNzIyOCAtIFRyYWRpdGlv
bmFsIENPUFk6IDAuMDM0Mzg3NTg4NTAxIHNlY29uZHMNCj4gPiAgICAgRkFJTDogU1NDIHNob3Vs
ZCBvdXRwZXJmb3JtIHRyYWRpdGlvbmFsIGNvcHksIHBlcmZvcm1hbmNlIGRlZ3JhZGF0aW9uIGZv
ciBhIDY0S0IgZmlsZTogMjA5JQ0KPiA+ICAgICBJTkZPOiAwMDoxMDowNy4yMTc0MDAgLSBwZXJm
MDIgY29weSB3aXRoIHNpemUgMTI4S0INCj4gPiAgICAgSU5GTzogMDA6MTA6MTguMDIyMzIwIC0g
U2VydmVyLXNpZGUgQ09QWTogMC4xMDU2MjczNDYwMzkgc2Vjb25kcw0KPiA+ICAgICBJTkZPOiAw
MDoxMDoxOC4wMjI1MTYgLSBUcmFkaXRpb25hbCBDT1BZOiAwLjA1MTEzMTg5MjIwNDMgc2Vjb25k
cw0KPiA+ICAgICBGQUlMOiBTU0Mgc2hvdWxkIG91dHBlcmZvcm0gdHJhZGl0aW9uYWwgY29weSwg
cGVyZm9ybWFuY2UgZGVncmFkYXRpb24gZm9yIGEgMTI4S0IgZmlsZTogMTA2JQ0KPiA+ICAgICBJ
TkZPOiAwMDoxMDoxOC4wMjI2ODYgLSBwZXJmMDIgY29weSB3aXRoIHNpemUgMjU2S0INCj4gPiAg
ICAgSU5GTzogMDA6MTA6MjkuNDUyMzUzIC0gU2VydmVyLXNpZGUgQ09QWTogMC4xMjQ3ODcwMjA2
ODMgc2Vjb25kcw0KPiA+ICAgICBJTkZPOiAwMDoxMDoyOS40NTI1MzggLSBUcmFkaXRpb25hbCBD
T1BZOiAwLjA1NTI0MDgyMTgzODQgc2Vjb25kcw0KPiA+ICAgICBGQUlMOiBTU0Mgc2hvdWxkIG91
dHBlcmZvcm0gdHJhZGl0aW9uYWwgY29weSwgcGVyZm9ybWFuY2UgZGVncmFkYXRpb24gZm9yIGEg
MjU2S0IgZmlsZTogMTI1JQ0KPiA+ICAgICBJTkZPOiAwMDoxMDoyOS40NTI3MTMgLSBwZXJmMDIg
Y29weSB3aXRoIHNpemUgNTEyS0INCj4gPiAgICAgSU5GTzogMDA6MTA6NDEuMzU3MzE1IC0gU2Vy
dmVyLXNpZGUgQ09QWTogMC4xMTA2MDIwOTI3NDMgc2Vjb25kcw0KPiA+ICAgICBJTkZPOiAwMDox
MDo0MS4zNTc0ODkgLSBUcmFkaXRpb25hbCBDT1BZOiAwLjA2NDM5NjE2NjgwMTUgc2Vjb25kcw0K
PiA+ICAgICBGQUlMOiBTU0Mgc2hvdWxkIG91dHBlcmZvcm0gdHJhZGl0aW9uYWwgY29weSwgcGVy
Zm9ybWFuY2UgZGVncmFkYXRpb24gZm9yIGEgNTEyS0IgZmlsZTogNzElDQo+ID4gICAgIElORk86
IDAwOjEwOjQxLjM1NzY1NiAtIHBlcmYwMiBjb3B5IHdpdGggc2l6ZSAxTUINCj4gPiAgICAgSU5G
TzogMDA6MTA6NTIuNzA0MTU5IC0gU2VydmVyLXNpZGUgQ09QWTogMC4xMTg5NTAyMDAwODEgc2Vj
b25kcw0KPiA+ICAgICBJTkZPOiAwMDoxMDo1Mi43MDQzNDEgLSBUcmFkaXRpb25hbCBDT1BZOiAw
LjA3MDMzMDQ3Njc2MDkgc2Vjb25kcw0KPiA+ICAgICBGQUlMOiBTU0Mgc2hvdWxkIG91dHBlcmZv
cm0gdHJhZGl0aW9uYWwgY29weSwgcGVyZm9ybWFuY2UgZGVncmFkYXRpb24gZm9yIGEgMU1CIGZp
bGU6IDY5JQ0KPiA+ICAgICBJTkZPOiAwMDoxMDo1Mi43MDQ0OTkgLSBwZXJmMDIgY29weSB3aXRo
IHNpemUgMk1CDQo+ID4gICAgIElORk86IDAwOjExOjA1LjM2NzI2NSAtIFNlcnZlci1zaWRlIENP
UFk6IDAuMTM2MzM2NDY5NjUgc2Vjb25kcw0KPiA+ICAgICBJTkZPOiAwMDoxMTowNS4zNjc0NTEg
LSBUcmFkaXRpb25hbCBDT1BZOiAwLjEwMzY0MzUxMjcyNiBzZWNvbmRzDQo+ID4gICAgIEZBSUw6
IFNTQyBzaG91bGQgb3V0cGVyZm9ybSB0cmFkaXRpb25hbCBjb3B5LCBwZXJmb3JtYW5jZSBkZWdy
YWRhdGlvbiBmb3IgYSAyTUIgZmlsZTogMzElDQo+ID4gICAgIElORk86IDAwOjExOjA1LjM2NzYx
NCAtIHBlcmYwMiBjb3B5IHdpdGggc2l6ZSA0TUINCj4gPiAgICAgSU5GTzogMDA6MTE6MTguODcy
MDA0IC0gU2VydmVyLXNpZGUgQ09QWTogMC4xODExNjUwNzUzMDIgc2Vjb25kcw0KPiA+ICAgICBJ
TkZPOiAwMDoxMToxOC44NzIyMDQgLSBUcmFkaXRpb25hbCBDT1BZOiAwLjE2NDU4NjExNDg4MyBz
ZWNvbmRzDQo+ID4gICAgIEZBSUw6IFNTQyBzaG91bGQgb3V0cGVyZm9ybSB0cmFkaXRpb25hbCBj
b3B5LCBwZXJmb3JtYW5jZSBkZWdyYWRhdGlvbiBmb3IgYSA0TUIgZmlsZTogMTAlDQo+ID4gICAg
IElORk86IDAwOjExOjE4Ljg3MjM2OCAtIHBlcmYwMiBjb3B5IHdpdGggc2l6ZSA4TUINCj4gPiAg
ICAgSU5GTzogMDA6MTE6MzUuMDkzMDcxIC0gU2VydmVyLXNpZGUgQ09QWTogMC4yOTAyMDQwOTU4
NCBzZWNvbmRzDQo+ID4gICAgIElORk86IDAwOjExOjM1LjA5MzI5NyAtIFRyYWRpdGlvbmFsIENP
UFk6IDAuMjgzMzE1MTgxNzMyIHNlY29uZHMNCj4gPiAgICAgRkFJTDogU1NDIHNob3VsZCBvdXRw
ZXJmb3JtIHRyYWRpdGlvbmFsIGNvcHksIHBlcmZvcm1hbmNlIGRlZ3JhZGF0aW9uIGZvciBhIDhN
QiBmaWxlOiAyJQ0KPiA+IA0KPiA+IFBlcmZvcm1hbmNlIGdhaW46DQo+ID4gICAgIElORk86IDAw
OjExOjM1LjA5MzQ0NiAtIHBlcmYwMiBjb3B5IHdpdGggc2l6ZSAxNk1CDQo+ID4gICAgIElORk86
IDAwOjExOjU0Ljc3OTg0NCAtIFNlcnZlci1zaWRlIENPUFk6IDAuNDU1NTY5NTc3MjE3IHNlY29u
ZHMNCj4gPiAgICAgSU5GTzogMDA6MTE6NTQuNzgwMDM4IC0gVHJhZGl0aW9uYWwgQ09QWTogMC41
MDYyNTI1OTg3NjMgc2Vjb25kcw0KPiA+ICAgICBQQVNTOiBTU0Mgc2hvdWxkIG91dHBlcmZvcm0g
dHJhZGl0aW9uYWwgY29weSwgcGVyZm9ybWFuY2UgaW1wcm92ZW1lbnQgZm9yIGEgMTZNQiBmaWxl
OiAxMSUNCj4gPiAgICAgSU5GTzogMDA6MTE6NTQuNzgwMTg1IC0gcGVyZjAyIGNvcHkgd2l0aCBz
aXplIDMyTUINCj4gPiAgICAgSU5GTzogMDA6MTI6MjIuNDE1MTMxIC0gU2VydmVyLXNpZGUgQ09Q
WTogMC43MTM2OTEyNTg0MyBzZWNvbmRzDQo+ID4gICAgIElORk86IDAwOjEyOjIyLjQxNTMxOSAt
IFRyYWRpdGlvbmFsIENPUFk6IDAuOTM0NzM2MzcxMDQgc2Vjb25kcw0KPiA+ICAgICBQQVNTOiBT
U0Mgc2hvdWxkIG91dHBlcmZvcm0gdHJhZGl0aW9uYWwgY29weSwgcGVyZm9ybWFuY2UgaW1wcm92
ZW1lbnQgZm9yIGEgMzJNQiBmaWxlOiAzMCUNCj4gPiAgICAgSU5GTzogMDA6MTI6MjIuNDE1NDY2
IC0gcGVyZjAyIGNvcHkgd2l0aCBzaXplIDY0TUINCj4gPiAgICAgSU5GTzogMDA6MTM6MDMuNDk4
MjYwIC0gU2VydmVyLXNpZGUgQ09QWTogMS4yMzg0NTMzODgyMSBzZWNvbmRzDQo+ID4gICAgIElO
Rk86IDAwOjEzOjAzLjQ5ODQ1NiAtIFRyYWRpdGlvbmFsIENPUFk6IDEuNzMwOTgxOTIyMTUgc2Vj
b25kcw0KPiA+ICAgICBQQVNTOiBTU0Mgc2hvdWxkIG91dHBlcmZvcm0gdHJhZGl0aW9uYWwgY29w
eSwgcGVyZm9ybWFuY2UgaW1wcm92ZW1lbnQgZm9yIGEgNjRNQiBmaWxlOiAzOSUNCj4gPiAgICAg
SU5GTzogMDA6MTM6MDMuNDk4NjM3IC0gcGVyZjAyIGNvcHkgd2l0aCBzaXplIDEyOE1CDQo+ID4g
ICAgIElORk86IDAwOjE0OjExLjUwMjQ3NSAtIFNlcnZlci1zaWRlIENPUFk6IDIuMjI2Mzk5MTEx
NzUgc2Vjb25kcw0KPiA+ICAgICBJTkZPOiAwMDoxNDoxMS41MDI4OTYgLSBUcmFkaXRpb25hbCBD
T1BZOiAzLjM0Nzc4MDg3MTM5IHNlY29uZHMNCj4gPiAgICAgUEFTUzogU1NDIHNob3VsZCBvdXRw
ZXJmb3JtIHRyYWRpdGlvbmFsIGNvcHksIHBlcmZvcm1hbmNlIGltcHJvdmVtZW50IGZvciBhIDEy
OE1CIGZpbGU6IDUwJQ0KPiA+ICAgICBJTkZPOiAwMDoxNDoxMS41MDMxMDIgLSBwZXJmMDIgY29w
eSB3aXRoIHNpemUgMjU2TUINCj4gPiAgICAgSU5GTzogMDA6MTY6MTIuMzIzMzUwIC0gU2VydmVy
LXNpZGUgQ09QWTogNC4yOTQwMTg3MjE1OCBzZWNvbmRzDQo+ID4gICAgIElORk86IDAwOjE2OjEy
LjMyMzUzNyAtIFRyYWRpdGlvbmFsIENPUFk6IDYuNTQ2MjIyNDk2MDMgc2Vjb25kcw0KPiA+ICAg
ICBQQVNTOiBTU0Mgc2hvdWxkIG91dHBlcmZvcm0gdHJhZGl0aW9uYWwgY29weSwgcGVyZm9ybWFu
Y2UgaW1wcm92ZW1lbnQgZm9yIGEgMjU2TUIgZmlsZTogNTIlDQo+ID4gICAgIElORk86IDAwOjE2
OjEyLjMyMzcwMyAtIHBlcmYwMiBjb3B5IHdpdGggc2l6ZSA1MTJNQg0KPiA+ICAgICBJTkZPOiAw
MDoxOTo1OC4zMTE1OTggLSBTZXJ2ZXItc2lkZSBDT1BZOiA4LjM4NDE3NzA2NDkgc2Vjb25kcw0K
PiA+ICAgICBJTkZPOiAwMDoxOTo1OC4zMTE3OTMgLSBUcmFkaXRpb25hbCBDT1BZOiAxMi45MjAw
NDEyMjczIHNlY29uZHMNCj4gPiAgICAgUEFTUzogU1NDIHNob3VsZCBvdXRwZXJmb3JtIHRyYWRp
dGlvbmFsIGNvcHksIHBlcmZvcm1hbmNlIGltcHJvdmVtZW50IGZvciBhIDUxMk1CIGZpbGU6IDU0
JQ0KPiA+ICAgICBJTkZPOiAwMDoxOTo1OC4zMTE5MzUgLSBwZXJmMDIgY29weSB3aXRoIHNpemUg
MUdCDQo+ID4gICAgIElORk86IDAwOjI2OjAxLjI3NTgwOSAtIFNlcnZlci1zaWRlIENPUFk6IDE0
LjU5Njc4MzgwNDkgc2Vjb25kcw0KPiA+ICAgICBJTkZPOiAwMDoyNjowMS4yNzYwMjAgLSBUcmFk
aXRpb25hbCBDT1BZOiAyMC4xOTU3NDUzNzI4IHNlY29uZHMNCj4gPiAgICAgUEFTUzogU1NDIHNo
b3VsZCBvdXRwZXJmb3JtIHRyYWRpdGlvbmFsIGNvcHksIHBlcmZvcm1hbmNlIGltcHJvdmVtZW50
IGZvciBhIDFHQiBmaWxlOiAzOCUNCj4gPiAgICAgSU5GTzogMDA6MjY6MDEuMjc2MTc1IC0gcGVy
ZjAyIGNvcHkgd2l0aCBzaXplIDJHQg0KPiA+ICAgICBJTkZPOiAwMDozNToyOS45OTAyMjAgLSBT
ZXJ2ZXItc2lkZSBDT1BZOiAyMy42MDY3OTU3NjQgc2Vjb25kcw0KPiA+ICAgICBJTkZPOiAwMDoz
NToyOS45OTA0MzIgLSBUcmFkaXRpb25hbCBDT1BZOiAzMS40MjYxNTM5NDU5IHNlY29uZHMNCj4g
PiAgICAgUEFTUzogU1NDIHNob3VsZCBvdXRwZXJmb3JtIHRyYWRpdGlvbmFsIGNvcHksIHBlcmZv
cm1hbmNlIGltcHJvdmVtZW50IGZvciBhIDJHQiBmaWxlOiAzMyUNCj4gPiAgICAgSU5GTzogMDA6
MzU6MjkuOTkwNTgwIC0gcGVyZjAyIGNvcHkgd2l0aCBzaXplIDRHQg0KPiA+ICAgICBJTkZPOiAw
MDo1MzoxNy4xOTg4MjcgLSBTZXJ2ZXItc2lkZSBDT1BZOiA0MS4yMjYxNDA4MDkxIHNlY29uZHMN
Cj4gPiAgICAgSU5GTzogMDA6NTM6MTcuMTk5MDMzIC0gVHJhZGl0aW9uYWwgQ09QWTogNjIuOTIx
MDM1MDUxMyBzZWNvbmRzDQo+ID4gICAgIFBBU1M6IFNTQyBzaG91bGQgb3V0cGVyZm9ybSB0cmFk
aXRpb25hbCBjb3B5LCBwZXJmb3JtYW5jZSBpbXByb3ZlbWVudCBmb3IgYSA0R0IgZmlsZTogNTIl
DQo+ID4gICAgIFRJTUU6IDQ0bTI3LjE2NDI4NnMNCj4gPiANCj4gPiBMb2dmaWxlOiAvaG9tZS9t
b3JhL2xvZ3MvbmZzdGVzdF9zc2NfMjAxNzA0MTIwMDA4NDkubG9nDQo+ID4gDQo+ID4gMjMgdGVz
dHMgKDkgcGFzc2VkLCAxNCBmYWlsZWQpDQo+ID4gDQo+ID4gVG90YWwgdGltZTogNDRtMjguMzM0
MTc3cw0KPiA+IA0KPiA+IA0KPiA+IA0KPiA+IC0tSm9yZ2UNCj4gPiAgDQoNCg==


From nobody Fri Apr 14 14:22:19 2017
Return-Path: <olga.kornievskaia@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 518F3129511 for <nfsv4@ietfa.amsl.com>; Fri, 14 Apr 2017 14:22:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 ax6VS2tnum9S for <nfsv4@ietfa.amsl.com>; Fri, 14 Apr 2017 14:22:14 -0700 (PDT)
Received: from mail-io0-x241.google.com (mail-io0-x241.google.com [IPv6:2607:f8b0:4001:c06::241]) (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 9E9C91294B7 for <nfsv4@ietf.org>; Fri, 14 Apr 2017 14:22:14 -0700 (PDT)
Received: by mail-io0-x241.google.com with SMTP id h41so20069741ioi.1 for <nfsv4@ietf.org>; Fri, 14 Apr 2017 14:22:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=D39nsW5yra9009DnBrx1LEG0pgNcos1kKuZa0eMww1w=; b=qzuzGwV3f4S6EZZVKRsR3pCXw5eZHyzC+naAVI6uDCF3vS37KRJOqYTSHinTUFO0y9 /7AYn1pb1f20CUJp0lIUCJcjNzNUakJiZks7hjJyTj0X+Uo0PjcKn+kj3a/cm82VWlEI jdEmTlWwxFjfkxc596hsZHOrxJhlDqq9TAqe/UFrtM00p/JN/7QFjX3Gb5N74NjfJb7K mnTYpXn0+2GFxPxg92kHjySkJDx5QCBrIzLRR33hSy5WZV5Xx8uzf086f8qouUFS0Yhn LHLNEMfoL71sBsL0McZBg0pe/lCHNSDwjUEdbZYjZyPVJDsPMGjVvVfV0aYIsMNhicNZ 31yw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=D39nsW5yra9009DnBrx1LEG0pgNcos1kKuZa0eMww1w=; b=PMT0wBW1N+ZGr7zucwyqQTyD/2BYtEF67KpIZ0MpJqFTAy+a0uJ70i+gJzu7uItbmG g2zOW+9vY+v/URHAQxkS9vqNRFKzY/RbSmAySEJDaWHBHlYp9fVfBwgyGwZphe2UhvzZ dr/dY2OSa+9/zvpOBH19O3oxUGuIH5uQ1NAzPOtEaEq2JeIj/fClCh6MdH6tfAPM0tc+ eQMR4Jd2T5ejvi/Z+sp4lL1gzOtgYToc35trcjHL9aK2maJPMHNT5EOt9pDGGcBHr44Q smNpSir6IC/sYhKVEwIgMfQTZ5YFIYq0faLMxbf6eiICME0ouI8Wi84C5CvqF6Y4lidV nNWg==
X-Gm-Message-State: AN3rC/7h14qnlGdvYmVYv9Zt6+LnCwiiHDQJMIprLa5vZEiZ4WKiAQMN tmvg02DvLY35G3nh/CnV9x6TFVAArw==
X-Received: by 10.107.133.35 with SMTP id h35mr13040889iod.230.1492204933880;  Fri, 14 Apr 2017 14:22:13 -0700 (PDT)
MIME-Version: 1.0
Sender: olga.kornievskaia@gmail.com
Received: by 10.107.46.170 with HTTP; Fri, 14 Apr 2017 14:22:13 -0700 (PDT)
In-Reply-To: <59BDF7CA-78BB-42FC-8BC4-95101F5E1EC7@netapp.com>
References: <DFE33002-FE1C-4E83-B6E3-50BFD304C7F6@netapp.com> <20170413174515.GA5140@fieldses.org> <59BDF7CA-78BB-42FC-8BC4-95101F5E1EC7@netapp.com>
From: Olga Kornievskaia <aglo@umich.edu>
Date: Fri, 14 Apr 2017 17:22:13 -0400
X-Google-Sender-Auth: nWpxbst7Wuen_N9vEQrpvw2Hf3g
Message-ID: <CAN-5tyHOdU9BJnJft+X06=6X7_s8MS_hDmg9t=fJQ=QtvJQD=w@mail.gmail.com>
To: "Mora, Jorge" <Jorge.Mora@netapp.com>
Cc: "J. Bruce Fields" <bfields@fieldses.org>, "nfsv4@ietf.org" <nfsv4@ietf.org>, "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/e2QOPR2wlZ6O1-FTxiESbXBAqBA>
Subject: Re: [nfsv4] Inter server-side copy performance
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: Fri, 14 Apr 2017 21:22:17 -0000

On Fri, Apr 14, 2017 at 4:09 PM, Mora, Jorge <Jorge.Mora@netapp.com> wrote:
> On 4/13/17, 11:45 AM, "J. Bruce Fields" <bfields@fieldses.org> wrote:
>
>> On Wed, Apr 12, 2017 at 02:47:30PM +0000, Mora, Jorge wrote:
>> > The following shows a comparison between inter server-side copy and a =
traditional copy.
>>
>> Thanks for doing this!  Adding the linux-nfs list, I hope that's OK.
>>
>> > Setup:
>> >     Client: 16 CPUs, 32GB
>> >     SRC server: 4 CPUs, 8GB
>> >     DST server: 4 CPUs, 8GB
>>
>> Could you also tell us about the network?  How much bandwidth is
>> available between the two servers, and between the each server and the
>> client?  Disk bandwidth might be useful to know too.
>
> Client:     pair    (1000baseT/Full)
> SRC Server: ricoh   (1000baseT/Full)
> DST Server: haddock (1000baseT/Full)
>
> Transfer from source server to client:
> [mora@pair test]$ scp ricoh:/home/exports/nfstest_ssc_source_file /dev/nu=
ll
> nfstest_ssc_source_file                       100% 8192MB 110.7MB/s   01:=
14
>
> Transfer from destination server to client:
> [mora@pair test]$ scp haddock:/home/exports/nfstest_ssc_source_file /dev/=
null
> nfstest_ssc_source_file                       100% 8192MB 112.2MB/s   01:=
13
>
> Transfer from source to destination server:
> [mora@haddock ~]$ scp ricoh:/home/exports/nfstest_ssc_source_file /dev/nu=
ll
> nfstest_ssc_source_file                       100% 8192MB 110.7MB/s   01:=
14
>
> Disk I/O on source server:
> [mora@ricoh ~]$ sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"
> [mora@ricoh ~]$ dd if=3D/home/exports/nfstest_ssc_source_file of=3D/dev/n=
ull bs=3D8k count=3D1024k
> 1048576+0 records in
> 1048576+0 records out
> 8589934592 bytes (8.6 GB) copied, 56.8953 s, 151 MB/s
> [mora@ricoh ~]$ sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"
> [mora@ricoh ~]$ dd if=3D/dev/zero of=3D/home/exports/test bs=3D8k count=
=3D1024k
> 1048576+0 records in
> 1048576+0 records out
> 8589934592 bytes (8.6 GB) copied, 46.9064 s, 183 MB/s
>
> Disk I/O on destination server:
> [mora@haddock ~]$ sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"
> [mora@haddock ~]$ dd if=3D/home/exports/nfstest_ssc_source_file of=3D/dev=
/null bs=3D8k count=3D1024k
> 1048576+0 records in
> 1048576+0 records out
> 8589934592 bytes (8.6 GB) copied, 57.3356 s, 150 MB/s
> [mora@haddock ~]$ sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"
> [mora@haddock ~]$ dd if=3D/dev/zero of=3D/home/exports/test bs=3D8k count=
=3D1024k
> 1048576+0 records in
> 1048576+0 records out
> 8589934592 bytes (8.6 GB) copied, 47.3809 s, 181 MB/s
>
>> >     All machines are running 4.10.0-ssc-02242017.1345,
>> >       4.10.0 kernel on top RHEL 7.3 with Olga=E2=80=99s SSC patches 02=
242017.tgz (asynchronous SSC)
>> > Test:
>> >     The test runs 10 times for each copy size and the average is compa=
red.
>> >     The servers are mounted and un-mounted for each copy (using defaul=
t mount options)
>> >     Testing copy size: 1KB =E2=80=93 4GB, NOTE: the last copy is 4GB-1=
 bytes, the maximum copy_file_range() accepts.
>>
>> If the client unmounts the servers, but if the servers keep their
>> exports mounted then the performance may depend on whether data is
>> already cached on the source server, since all these copies fit in RAM.
>
> Good point, I will clear the VM caches using "echo 3 > /proc/sys/vm/drop_=
caches"
> on both servers before each copy.
>
>> Are you timing just the copy_file_range() call, or do you include a
>> following sync?
>
> I am timing right before calling copy_file_range() up to doing an fsync()=
 and close() of the destination file.
> For the traditional copy is the same, I am timing right before the first =
read on the source file up to the
> fsync() and close() of the destination file.

Why should do we need a sync after copy_file_range(). kernel
copy_file_range() will send the commits for any unstable copies it
received.

>
>> > Results:
>> >     For a copy size below 16MB, traditional copy runs faster than serv=
er-side copy
>> >     For a copy size of 32MB and above, server-side copy is at least 30=
% faster.
>> >     For a copy size of 128MB and above, server-side copy is about 50% =
faster.
>> >     For the 1GB and 2GB copy sizes, the performance improvement is onl=
y about 30-40%, investigating why this is happening.
>>
>> Might also be interesting to look at performance when copying a larger
>> file with multiple copy_file_range() calls.
>
> I will do this as well.
>
>
> --Jorge
>
>> --b.
>>
>> > *** Inter-SSC performance test
>> >     TEST: Running test 'perf02'
>> >
>> > Performance degradation:
>> >     INFO: 00:08:50.035165 - perf02 copy with size 1KB
>> >     INFO: 00:09:01.302004 - Server-side COPY: 0.104049992561 seconds
>> >     INFO: 00:09:01.302206 - Traditional COPY: 0.0319610118866 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 1KB file: 225%
>> >     INFO: 00:09:01.302378 - perf02 copy with size 2KB
>> >     INFO: 00:09:12.332144 - Server-side COPY: 0.0923588514328 seconds
>> >     INFO: 00:09:12.332335 - Traditional COPY: 0.033596777916 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 2KB file: 174%
>> >     INFO: 00:09:12.332510 - perf02 copy with size 4KB
>> >     INFO: 00:09:23.320714 - Server-side COPY: 0.100715565681 seconds
>> >     INFO: 00:09:23.320915 - Traditional COPY: 0.0336240530014 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 4KB file: 199%
>> >     INFO: 00:09:23.321086 - perf02 copy with size 8KB
>> >     INFO: 00:09:34.542515 - Server-side COPY: 0.0881641149521 seconds
>> >     INFO: 00:09:34.542742 - Traditional COPY: 0.0336608886719 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 8KB file: 161%
>> >     INFO: 00:09:34.542924 - perf02 copy with size 16KB
>> >     INFO: 00:09:45.439424 - Server-side COPY: 0.0939898014069 seconds
>> >     INFO: 00:09:45.439630 - Traditional COPY: 0.0277063846588 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 16KB file: 239%
>> >     INFO: 00:09:45.439795 - perf02 copy with size 32KB
>> >     INFO: 00:09:56.103480 - Server-side COPY: 0.0798309087753 seconds
>> >     INFO: 00:09:56.103691 - Traditional COPY: 0.0335722208023 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 32KB file: 137%
>> >     INFO: 00:09:56.103848 - perf02 copy with size 64KB
>> >     INFO: 00:10:07.217026 - Server-side COPY: 0.106491327286 seconds
>> >     INFO: 00:10:07.217228 - Traditional COPY: 0.034387588501 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 64KB file: 209%
>> >     INFO: 00:10:07.217400 - perf02 copy with size 128KB
>> >     INFO: 00:10:18.022320 - Server-side COPY: 0.105627346039 seconds
>> >     INFO: 00:10:18.022516 - Traditional COPY: 0.0511318922043 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 128KB file: 106%
>> >     INFO: 00:10:18.022686 - perf02 copy with size 256KB
>> >     INFO: 00:10:29.452353 - Server-side COPY: 0.124787020683 seconds
>> >     INFO: 00:10:29.452538 - Traditional COPY: 0.0552408218384 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 256KB file: 125%
>> >     INFO: 00:10:29.452713 - perf02 copy with size 512KB
>> >     INFO: 00:10:41.357315 - Server-side COPY: 0.110602092743 seconds
>> >     INFO: 00:10:41.357489 - Traditional COPY: 0.0643961668015 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 512KB file: 71%
>> >     INFO: 00:10:41.357656 - perf02 copy with size 1MB
>> >     INFO: 00:10:52.704159 - Server-side COPY: 0.118950200081 seconds
>> >     INFO: 00:10:52.704341 - Traditional COPY: 0.0703304767609 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 1MB file: 69%
>> >     INFO: 00:10:52.704499 - perf02 copy with size 2MB
>> >     INFO: 00:11:05.367265 - Server-side COPY: 0.13633646965 seconds
>> >     INFO: 00:11:05.367451 - Traditional COPY: 0.103643512726 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 2MB file: 31%
>> >     INFO: 00:11:05.367614 - perf02 copy with size 4MB
>> >     INFO: 00:11:18.872004 - Server-side COPY: 0.181165075302 seconds
>> >     INFO: 00:11:18.872204 - Traditional COPY: 0.164586114883 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 4MB file: 10%
>> >     INFO: 00:11:18.872368 - perf02 copy with size 8MB
>> >     INFO: 00:11:35.093071 - Server-side COPY: 0.29020409584 seconds
>> >     INFO: 00:11:35.093297 - Traditional COPY: 0.283315181732 seconds
>> >     FAIL: SSC should outperform traditional copy, performance degradat=
ion for a 8MB file: 2%
>> >
>> > Performance gain:
>> >     INFO: 00:11:35.093446 - perf02 copy with size 16MB
>> >     INFO: 00:11:54.779844 - Server-side COPY: 0.455569577217 seconds
>> >     INFO: 00:11:54.780038 - Traditional COPY: 0.506252598763 seconds
>> >     PASS: SSC should outperform traditional copy, performance improvem=
ent for a 16MB file: 11%
>> >     INFO: 00:11:54.780185 - perf02 copy with size 32MB
>> >     INFO: 00:12:22.415131 - Server-side COPY: 0.71369125843 seconds
>> >     INFO: 00:12:22.415319 - Traditional COPY: 0.93473637104 seconds
>> >     PASS: SSC should outperform traditional copy, performance improvem=
ent for a 32MB file: 30%
>> >     INFO: 00:12:22.415466 - perf02 copy with size 64MB
>> >     INFO: 00:13:03.498260 - Server-side COPY: 1.23845338821 seconds
>> >     INFO: 00:13:03.498456 - Traditional COPY: 1.73098192215 seconds
>> >     PASS: SSC should outperform traditional copy, performance improvem=
ent for a 64MB file: 39%
>> >     INFO: 00:13:03.498637 - perf02 copy with size 128MB
>> >     INFO: 00:14:11.502475 - Server-side COPY: 2.22639911175 seconds
>> >     INFO: 00:14:11.502896 - Traditional COPY: 3.34778087139 seconds
>> >     PASS: SSC should outperform traditional copy, performance improvem=
ent for a 128MB file: 50%
>> >     INFO: 00:14:11.503102 - perf02 copy with size 256MB
>> >     INFO: 00:16:12.323350 - Server-side COPY: 4.29401872158 seconds
>> >     INFO: 00:16:12.323537 - Traditional COPY: 6.54622249603 seconds
>> >     PASS: SSC should outperform traditional copy, performance improvem=
ent for a 256MB file: 52%
>> >     INFO: 00:16:12.323703 - perf02 copy with size 512MB
>> >     INFO: 00:19:58.311598 - Server-side COPY: 8.3841770649 seconds
>> >     INFO: 00:19:58.311793 - Traditional COPY: 12.9200412273 seconds
>> >     PASS: SSC should outperform traditional copy, performance improvem=
ent for a 512MB file: 54%
>> >     INFO: 00:19:58.311935 - perf02 copy with size 1GB
>> >     INFO: 00:26:01.275809 - Server-side COPY: 14.5967838049 seconds
>> >     INFO: 00:26:01.276020 - Traditional COPY: 20.1957453728 seconds
>> >     PASS: SSC should outperform traditional copy, performance improvem=
ent for a 1GB file: 38%
>> >     INFO: 00:26:01.276175 - perf02 copy with size 2GB
>> >     INFO: 00:35:29.990220 - Server-side COPY: 23.606795764 seconds
>> >     INFO: 00:35:29.990432 - Traditional COPY: 31.4261539459 seconds
>> >     PASS: SSC should outperform traditional copy, performance improvem=
ent for a 2GB file: 33%
>> >     INFO: 00:35:29.990580 - perf02 copy with size 4GB
>> >     INFO: 00:53:17.198827 - Server-side COPY: 41.2261408091 seconds
>> >     INFO: 00:53:17.199033 - Traditional COPY: 62.9210350513 seconds
>> >     PASS: SSC should outperform traditional copy, performance improvem=
ent for a 4GB file: 52%
>> >     TIME: 44m27.164286s
>> >
>> > Logfile: /home/mora/logs/nfstest_ssc_20170412000849.log
>> >
>> > 23 tests (9 passed, 14 failed)
>> >
>> > Total time: 44m28.334177s
>> >
>> >
>> >
>> > --Jorge
>> >
>


From nobody Fri Apr 14 20:49:17 2017
Return-Path: <kaduk@mit.edu>
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 1F0E812940F for <nfsv4@ietfa.amsl.com>; Fri, 14 Apr 2017 20:49:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 AGtc9nt5n4Dz for <nfsv4@ietfa.amsl.com>; Fri, 14 Apr 2017 20:49:14 -0700 (PDT)
Received: from dmz-mailsec-scanner-3.mit.edu (dmz-mailsec-scanner-3.mit.edu [18.9.25.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A2BC7128A32 for <nfsv4@ietf.org>; Fri, 14 Apr 2017 20:49:14 -0700 (PDT)
X-AuditID: 1209190e-a43ff700000052b0-02-58f19838817e
Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by  (Symantec Messaging Gateway) with SMTP id A9.CA.21168.83891F85; Fri, 14 Apr 2017 23:49:13 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id v3F3nCEs005515; Fri, 14 Apr 2017 23:49:12 -0400
Received: from kduck.kaduk.org (24-107-191-124.dhcp.stls.mo.charter.com [24.107.191.124]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id v3F3n8x2030876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 14 Apr 2017 23:49:11 -0400
Date: Fri, 14 Apr 2017 22:49:08 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: Chuck Lever <chucklever@gmail.com>
Cc: spencer shepler <spencer.shepler@gmail.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Message-ID: <20170415034907.GO30306@kduck.kaduk.org>
References: <CAFt6BakDUWqhiB-4dFmvoBFDM2GFST25pp8BMuM6n+8mgrOU0A@mail.gmail.com> <CAFt6Bak5X8fAY6GgCyeZO_dCe-s=t_POnM43ZVR=eyzzQiAVGw@mail.gmail.com> <28BA50D3-1A64-4914-B918-B834F23FB342@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <28BA50D3-1A64-4914-B918-B834F23FB342@gmail.com>
User-Agent: Mutt/1.6.1 (2016-04-27)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFIsWRmVeSWpSXmKPExsUixG6nrms542OEwYa76hYHVhxktZj9/hGr xdIl25gcmD12zrrL7rFkyU+mAKYoLpuU1JzMstQifbsEroync9YzFexnrXiwsrKBcStLFyMn h4SAicS/JZ2sILaQQBuTxIoHhV2MXED2RkaJO0eb2CGcq0wSR3qmMIJUsQioSkyft5kJxGYT UJFo6L7MDGKLCKhJdO6FmMosEC2xvhFiqrBAkMSuNcfYQGxeoG2TeqZCDT3FKHHkyTpWiISg xMmZT6CatSRu/HsJtIADyJaWWP6PA8TkFLCV+PsuE6RCVEBZomHGA+YJjAKzkDTPQtI8C6F5 ASPzKkbZlNwq3dzEzJzi1GTd4uTEvLzUIl1jvdzMEr3UlNJNjKBg5ZTk28E4qcH7EKMAB6MS D++F4x8ihFgTy4orcw8xSnIwKYnyusZ8jBDiS8pPqcxILM6ILyrNSS0+xCjBwawkwis7FSjH m5JYWZValA+TkuZgURLnFddojBASSE8sSc1OTS1ILYLJynBwKEnwtk4HahQsSk1PrUjLzClB SDNxcIIM5wEa3g5Sw1tckJhbnJkOkT/FqMsx597X90xCLHn5ealS4ryrpgEVCYAUZZTmwc0B JRmJ7P01rxjFgd4S5v0LUsUDTFBwk14BLWECWsIw+QPIkpJEhJRUA+OMI31Xtu8/tp9lz+5v c6/P78rbOTHEzOf2/xwtZVudnsP7PLm+8mgZSmvWCsZOt2SzVpq5Idlon//ZhEhni5mLEitb M2/KJm75cFCvzueuZm7r9qf+Bkxcb145+p1xuiv7ab23Bcckoys2M9fXddr8NYkxMi5hmWPz bNV+gdU+QZXvS7QvRCqxFGckGmoxFxUnAgCuAwBwDQMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/YaHpIkUFW1eKt1_7PRo7e7--VC4>
Subject: Re: [nfsv4] Last call for draft-ietf-nfsv4-rfc5667bis-09 - ends May 5th
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: Sat, 15 Apr 2017 03:49:16 -0000

On Fri, Apr 14, 2017 at 03:03:13PM -0400, Chuck Lever wrote:
> Hello all-
> 
> > On Apr 14, 2017, at 2:44 PM, spencer shepler <spencer.shepler@gmail.com> wrote:
> > 
> > 
> > Apologies but there seems to be an issue with the html'ized version of the document.
> 
> I submitted only an XML version. The HTML version is generated by the
> datatracker automatically. I'm not sure whom to poke to get this
> corrected.

It's probably worth asking on tools-discuss@ietf.org
(https://www.ietf.org/mailman/listinfo/tools-discuss).

There was a datatracker update that went out in the past day or two,
and the changelog indicated something affecting the display of
HTMLized documents.

-Ben


From nobody Mon Apr 17 06:36:37 2017
Return-Path: <bfields@fieldses.org>
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 A838312ECEB for <nfsv4@ietfa.amsl.com>; Mon, 17 Apr 2017 06:36:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 QzFJU5c3r25s for <nfsv4@ietfa.amsl.com>; Mon, 17 Apr 2017 06:36:35 -0700 (PDT)
Received: from fieldses.org (fieldses.org [173.255.197.46]) by ietfa.amsl.com (Postfix) with ESMTP id 3902912ECA8 for <nfsv4@ietf.org>; Mon, 17 Apr 2017 06:36:34 -0700 (PDT)
Received: by fieldses.org (Postfix, from userid 2815) id 49E48240A; Mon, 17 Apr 2017 09:36:04 -0400 (EDT)
Date: Mon, 17 Apr 2017 09:36:04 -0400
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Olga Kornievskaia <aglo@umich.edu>
Cc: "Mora, Jorge" <Jorge.Mora@netapp.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>,  "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Message-ID: <20170417133604.GA22694@fieldses.org>
References: <DFE33002-FE1C-4E83-B6E3-50BFD304C7F6@netapp.com> <20170413174515.GA5140@fieldses.org> <59BDF7CA-78BB-42FC-8BC4-95101F5E1EC7@netapp.com> <CAN-5tyHOdU9BJnJft+X06=6X7_s8MS_hDmg9t=fJQ=QtvJQD=w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAN-5tyHOdU9BJnJft+X06=6X7_s8MS_hDmg9t=fJQ=QtvJQD=w@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/EkXdlGrpZ80LTR7HunRUaMfg63Q>
Subject: Re: [nfsv4] Inter server-side copy performance
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: Mon, 17 Apr 2017 13:36:37 -0000

On Fri, Apr 14, 2017 at 05:22:13PM -0400, Olga Kornievskaia wrote:
> On Fri, Apr 14, 2017 at 4:09 PM, Mora, Jorge <Jorge.Mora@netapp.com> wrote:
> > On 4/13/17, 11:45 AM, "J. Bruce Fields" <bfields@fieldses.org> wrote:
> >> Are you timing just the copy_file_range() call, or do you include a
> >> following sync?
> >
> > I am timing right before calling copy_file_range() up to doing an fsync() and close() of the destination file.
> > For the traditional copy is the same, I am timing right before the first read on the source file up to the
> > fsync() and close() of the destination file.
> 
> Why should do we need a sync after copy_file_range(). kernel
> copy_file_range() will send the commits for any unstable copies it
> received.

Why does it do that?  As far as I can tell it's not required by
documentation for copy_file_range() or COPY.  COPY has a write verifier
and a stable_how argument in the reply.  Skipping the commits would
allow better performance in case a copy requires multiple COPY calls.

But, in any case, if copy_file_range() already committed then it
probably doesn't make a significant difference to the timing whether you
include a following sync and/or close.

--b.


From nobody Mon Apr 17 08:30:11 2017
Return-Path: <olga.kornievskaia@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 80B0C13145C for <nfsv4@ietfa.amsl.com>; Mon, 17 Apr 2017 08:30:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 HUzP6rx2UP20 for <nfsv4@ietfa.amsl.com>; Mon, 17 Apr 2017 08:30:08 -0700 (PDT)
Received: from mail-io0-x241.google.com (mail-io0-x241.google.com [IPv6:2607:f8b0:4001:c06::241]) (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 0A1DB13145A for <nfsv4@ietf.org>; Mon, 17 Apr 2017 08:30:07 -0700 (PDT)
Received: by mail-io0-x241.google.com with SMTP id h41so27392199ioi.1 for <nfsv4@ietf.org>; Mon, 17 Apr 2017 08:30:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=sNbz5zSvQKtqWLoCBeM+5rV0yTUOxVCOQC6QPlHUXao=; b=Tldjvtyk/cjaBSSI8vevT4r7p0PLsqi/pv8KlVcnb40bh1NGJ4KGILgLg51DxErE76 dsPYe0K5YeTSmA8r14QPkidvnVV316OkkALcgJ7bqv9NKMJN0ltQ2Fo5YG9slmBpeqqi SO0lFQoKQ2l0J6/UAsc7p4DDpL2XE9JxgDjHBWk3P+4TF4SQEO20a7wV/XyULkY/I79q RrCsELTBWAKpgPM0sarAJzG6m/4ex5W5dNfGWQHZtRY9NLAzisK3aM4T0M4OoL5bm+62 6BtorLk5a1v074xGIVBcrPnbVUDqAVEp2v5GmTC2ivXgi0VWCGDN9yJaoWlND8k8LpNk Ba1Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=sNbz5zSvQKtqWLoCBeM+5rV0yTUOxVCOQC6QPlHUXao=; b=QUsc5AOme/NQWx1VmzAZ9lsovmrpX6w5qZ2KsBiogTsUrYDHYpg8xNtA0h75rX9Dz7 jUNHUaAmwf+19tp8Z3mXtTKf/14bs4BbVFqWkJ9xcShCxcYAO7puqrFWn/P2xCCJuME4 Unh0pZG50EZQfJKo1NQVEumE+P1yn5gDGcsKEDTld7Y6hJfjEJ28W9YQo4KxlyllbO9n RqySSgPLRV+b4Q7K05rDAzVpraPJMz5eKYo2oKiby8NBmApYi2LgL5PZSRBuvKALMv4t SDOHZjttW9BpTR2CWEQ2kEH3uCRwN3AfnDM7vOs6ZeHrwpvbQFN7nyAVZTCDanw/EcQk +b3g==
X-Gm-Message-State: AN3rC/4NwakTDUkNQ3n0bXv2KZGZwkFdNzZm2zIFnzXHHsR50oifEZo9 GxtmlbqMYih0WtannQUFW0Q+xjDUOw==
X-Received: by 10.107.6.224 with SMTP id f93mr9839834ioi.210.1492443007296; Mon, 17 Apr 2017 08:30:07 -0700 (PDT)
MIME-Version: 1.0
Sender: olga.kornievskaia@gmail.com
Received: by 10.107.46.170 with HTTP; Mon, 17 Apr 2017 08:30:06 -0700 (PDT)
In-Reply-To: <20170417133604.GA22694@fieldses.org>
References: <DFE33002-FE1C-4E83-B6E3-50BFD304C7F6@netapp.com> <20170413174515.GA5140@fieldses.org> <59BDF7CA-78BB-42FC-8BC4-95101F5E1EC7@netapp.com> <CAN-5tyHOdU9BJnJft+X06=6X7_s8MS_hDmg9t=fJQ=QtvJQD=w@mail.gmail.com> <20170417133604.GA22694@fieldses.org>
From: Olga Kornievskaia <aglo@umich.edu>
Date: Mon, 17 Apr 2017 11:30:06 -0400
X-Google-Sender-Auth: GciMkTVS2vakh_b48oMUpn-sy9o
Message-ID: <CAN-5tyF10OCihgYUMwoju6V+SnVZkpQNoQLb_UKoCAPuG+EgbQ@mail.gmail.com>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/gB1Hp5BQA1BciqaULUnjGOvzrTE>
Subject: Re: [nfsv4] Inter server-side copy performance
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: Mon, 17 Apr 2017 15:30:09 -0000

On Mon, Apr 17, 2017 at 9:36 AM, J. Bruce Fields <bfields@fieldses.org> wrote:
> On Fri, Apr 14, 2017 at 05:22:13PM -0400, Olga Kornievskaia wrote:
>> On Fri, Apr 14, 2017 at 4:09 PM, Mora, Jorge <Jorge.Mora@netapp.com> wrote:
>> > On 4/13/17, 11:45 AM, "J. Bruce Fields" <bfields@fieldses.org> wrote:
>> >> Are you timing just the copy_file_range() call, or do you include a
>> >> following sync?
>> >
>> > I am timing right before calling copy_file_range() up to doing an fsync() and close() of the destination file.
>> > For the traditional copy is the same, I am timing right before the first read on the source file up to the
>> > fsync() and close() of the destination file.
>>
>> Why should do we need a sync after copy_file_range(). kernel
>> copy_file_range() will send the commits for any unstable copies it
>> received.
>
> Why does it do that?  As far as I can tell it's not required by
> documentation for copy_file_range() or COPY.  COPY has a write verifier
> and a stable_how argument in the reply.  Skipping the commits would
> allow better performance in case a copy requires multiple COPY calls.
>
> But, in any case, if copy_file_range() already committed then it
> probably doesn't make a significant difference to the timing whether you
> include a following sync and/or close.

Hm. It does make sense. Anna wrote the original code which included
the COMMIT after copy which I haven't thought about.

Anna, any comments?


From nobody Mon Apr 17 09:03:53 2017
Return-Path: <Anna.Schumaker@netapp.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 D48B71314BB for <nfsv4@ietfa.amsl.com>; Mon, 17 Apr 2017 08:58:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level: 
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=netapp.onmicrosoft.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 SUVRge1G9zlp for <nfsv4@ietfa.amsl.com>; Mon, 17 Apr 2017 08:58:50 -0700 (PDT)
Received: from mx142.netapp.com (mx142.netapp.com [216.240.21.19]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DDDD41314BE for <nfsv4@ietf.org>; Mon, 17 Apr 2017 08:58:49 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.37,215,1488873600"; d="scan'208";a="183164407"
Received: from hioexcmbx06-prd.hq.netapp.com ([10.122.105.39]) by mx142-out.netapp.com with ESMTP; 17 Apr 2017 08:44:47 -0700
Received: from VMWEXCCAS03-PRD.hq.netapp.com (10.122.105.19) by hioexcmbx06-prd.hq.netapp.com (10.122.105.39) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 17 Apr 2017 08:57:48 -0700
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (10.120.60.153) by VMWEXCCAS03-PRD.hq.netapp.com (10.122.105.19) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Frontend Transport; Mon, 17 Apr 2017 08:57:48 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=CB13UgEOcw+DA69iuP1jf3a7QvU5YeKzFHOuhc2Tits=; b=anwT6B19Uglr43ON0hNaKg+EnPS+oNrWk4olfSxsKfaGg9KQ+TeaNrYnFxGAGKBJoUPCyo4fbz5dkrFCObJhEsDvIHafQW6SZwdHCkQFOd2Nrt6xC1rh8Gf97taKgXCU8Y7mtjpwY1j45/BRYGfXHhI90pnj2gTc9OW94it+5TQ=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=Netapp.com;
Received: from gouda.nowheycreamery.com (99.9.112.69) by CY4PR06MB2469.namprd06.prod.outlook.com (10.169.186.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Mon, 17 Apr 2017 15:57:46 +0000
To: Olga Kornievskaia <aglo@umich.edu>, "J. Bruce Fields" <bfields@fieldses.org>
CC: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>, "nfsv4@ietf.org" <nfsv4@ietf.org>
References: <DFE33002-FE1C-4E83-B6E3-50BFD304C7F6@netapp.com> <20170413174515.GA5140@fieldses.org> <59BDF7CA-78BB-42FC-8BC4-95101F5E1EC7@netapp.com> <CAN-5tyHOdU9BJnJft+X06=6X7_s8MS_hDmg9t=fJQ=QtvJQD=w@mail.gmail.com> <20170417133604.GA22694@fieldses.org> <CAN-5tyF10OCihgYUMwoju6V+SnVZkpQNoQLb_UKoCAPuG+EgbQ@mail.gmail.com>
From: Anna Schumaker <Anna.Schumaker@Netapp.com>
Message-ID: <44273d82-18b5-a6c7-4c12-81297c84efb1@Netapp.com>
Date: Mon, 17 Apr 2017 11:57:41 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0
MIME-Version: 1.0
In-Reply-To: <CAN-5tyF10OCihgYUMwoju6V+SnVZkpQNoQLb_UKoCAPuG+EgbQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Originating-IP: [99.9.112.69]
X-ClientProxiedBy: BN6PR1601CA0018.namprd16.prod.outlook.com (10.172.104.156) To CY4PR06MB2469.namprd06.prod.outlook.com (10.169.186.137)
X-MS-Office365-Filtering-Correlation-Id: b98214c1-d1b3-4e83-bdc6-08d485aa7e51
X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY4PR06MB2469; 
X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2469; 3:pkhWmLF34IHivynqMR3G3+e4lrhhh3LcE3KeFLXjnvBE+POBH5/T0tlKY99Jg5CkjkBkCKWv22SG4NPY5h4fhyXBA9adG8u8QVuOnFeGKfo9iY+++sH7It9mhUlKG95osxW12d+QDMxzMcyJJyUwXGZd7rkBBKH3c83KAGpnUz2uU+tgDKtiT+tjDmk9cAVf4PuBJbmW4FE/tjC+gBYuHZXiUe/FC1bDQdbBY2RyGlyW+ncfupAQ8GiEnvqFGFAtyhBHDBpZ+n+mBbguqzblJpk6LPeuaQb9Y6hZithdaz+P2lHFHGFDsQw6RKuxqa5n1+cgJ1U32opyd50Jq3uX7w==; 25:2OF7OrEqQA9qv/6HdmPFfiPI5xnNln+EAxpHKK29x6w/HCqpodf8mhbOWImplPi7CEudgpKMbiH+MYL1JouLTspYyABlx7pjMNh+7Yg984ECHNewkaap7bqkfGQ5zjw05Xu90J9nW+VdvgOCB3q0QHrRxJbfsYfILXhHwYcksf30jIWi/ocWujubgHqOPpgYjbWFEP8ZFFVuf9AXwLKKmlCKXDiTKk5js7XLAv7mf3fb9rpK7uZwx0Gt4zIhU2yMvF1pXIM+QD8nkcK4oMUlRXThh9VKLW2b/E5BNk/GyXZqekmFkQon/6oqHbMjMrI5adv5xF7EVV8unFTRK1P/QA0kIwT0jjGs+vywxe7xgaR4RWB3Ch9iuLqdItgwpyKR2ix7afWbg0YwnJ2yybgBAB87PJOeBWp6OXkGVq2cP56m3aspNsON/ll4TXP+cH7z898Sfnu5AH1v2YSgS8zUyQ==
X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2469; 31:kBk9MoGyCzNCETnW7wjUrfKOVPIGqXztQWQ5NlB1MeujUfVKN8k/u6LQxlq/AYW3SkRmMuPwZEgU5Jf69QjUOT5NkThvW3G+kbFmQFB1ypgEXb6xeM2J5WmFkNXzBvRvd0G5xvEYWEggLxhC9uawppVotoWV8IZoAdxv5rt+vJ6uQElgTEMNZJB1BzIlzTLPqBXW1QDTQdw/CvYgPXW8mhtMy+471bTk7nLFu+VIwrFfIHsVcLAyIkjg4enxNEB/qkV6MIVUa7cy6OW3MpAc00XONtDw9w6m2oJkMksutpU=; 20:hfwaMvJQLEyZ5J8TuDhPoqUXtSvCfugA341Xyinxwc09kUP4jdkNFr7O9rluMmbpBOHNZK5JWW+bXiUCFHsaxKQeMapE5b0Z6xFIlO7TntuXEkbBppCFimItP0WtqnSISdSzFHillRhl3+3mZ/yldKjOENOdQ6mRQKKArsqH021RcL7P9PdNJaxsxpHZ6fkPLkPZCQAYfe8cd5DTIyqvyHTN4h94+pgl4TEjMzz66jVzxXzaihWtX5tf1Xpqk1+1qCo+K1kwYELeJQdchp+i58157FpeG0RtanWa8e43mMn/3Evet5izYvvpNj1lMQgnVBI64g+RfyDplZYRm8hN1/pa+8Yagd0xrTnCdCceJ0JD6l7h6/wkhIOTgFz5vg9Q0PuAWR+/rHcMu02NbWhg8bRGxbe8jrdjRD16gsKU/2WvCq0Ecy2+NHCQWIPj722dwYxghie7EhEg4iOTdUaH8TEhsxRPBmXj1DIpsUqEufLEbB/YNSLJJpglhQt5kwU0
X-Microsoft-Antispam-PRVS: <CY4PR06MB2469F755F1A25FFA5955B525F8060@CY4PR06MB2469.namprd06.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(20161123564025)(20161123555025)(6072148); SRVR:CY4PR06MB2469; BCL:0; PCL:0; RULEID:; SRVR:CY4PR06MB2469; 
X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2469; 4:k7ttg4IwRv9Z3iFA324Y9mz8oVEWgDsU6lXUozrsXFsUNzGOR7xhERjlC04++VviMX0fhTkGmoZ2fQEwh2mVNKerEq5tS7AJOAII+Lz8FkMF3Djwdrd8vIacpmYFs+Eq58bTw1XNIXP6cfg42LMN9CHG07tMB8OvYoOcjhnSd5j8yqunEngcsy2nqoKXLqlaNkCOhQkv0+J4l1RIDeP9IhmADl7ZDy5noa6X/0peTw/cAry6SCWaQUFoYmNr4IGXnYtNfYTdqbPvOoS2YWZz+rminNpnc89EKd39JACCjLnLT9LQDBwqGdRpsayoWEJvxUqGSwnmLEK4mwGQ0aELmWCZ40t7968eMT4frKTXxPWZ+xN3JV52LtBmPOsnjvGE76sr7MinC1RDAHOXprOteuPApjPe3JSGIWkP3BQVNjtuXwGWq5VOIY0o6b/FHIqr/WxruemZ0P8MS546DUj6v96BjVRKotQaSy1XEu2wpbUTZqMlFgoBrNsZxEoJO455GLNXESpRgts42H3rNwSjSiiR72LsxkGxeu03SytfE7L09WryhXm1rOKnqiEjFOMfDi8gQ0guQ+wm3kkN5HyynEQIMAH/CM5D5Xe1OW/TDJR06eduyCmVlE47xKbdFlmvmxEweYQPmP/8t32oQbP95IA28ENFMQcgGLvDAz0LNThinCL3VVwCFkbx/AFdGiUki8yjYWErXneXLY+bqb7puUU4ybgoYWJPjGze1dPHgDs=
X-Forefront-PRVS: 02801ACE41
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39850400002)(39450400003)(39400400002)(39840400002)(377454003)(6512007)(6486002)(6306002)(54906002)(6506006)(53936002)(8656002)(2906002)(6116002)(2950100002)(25786009)(53546009)(31686004)(6666003)(23676002)(81166006)(8676002)(230700001)(53416004)(3846002)(42186005)(36756003)(189998001)(54356999)(76176999)(7736002)(65956001)(66066001)(93886004)(38730400002)(2171002)(33646002)(47776003)(86362001)(6246003)(305945005)(50466002)(83506001)(50986999)(4001350100001)(31696002)(5660300001)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR06MB2469; H:gouda.nowheycreamery.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjA2TUIyNDY5OzIzOk1rdjVhMjhCUDU0RlhSdGlEbUVXZUh5SVVZ?= =?utf-8?B?OGtzeFNIY3J5SUJhK2lTMUhrc01lUTRxSGs5SlpXWVR2VGNTWUt2OU1McjFh?= =?utf-8?B?aER3Q3VCS2RYcE9zSWtCcW5xQW1Qa2d3cWw3OEpDNHl2c3pJLy85djViNlky?= =?utf-8?B?dHJaWmUyYk9neEZia0p2b3Q1QkwzMDRLSUh3aHRlODE4aWRGZTlvZTBoeHpF?= =?utf-8?B?NTJNZmhwaWhxZVBzMFZDRDJDNDBKRDB3cnZaUE5SN1RUZFlWTi9FSk9Xb0F3?= =?utf-8?B?aWhBU2k2S1NlZk16b2hpVXZyT0xlYzQ4UFF0Z3I5MFJSU1d3U1dLK0E5TS91?= =?utf-8?B?NVYyTFBkK09hbWJDejhDeXBWU1AzVHJrM00yeDVoZHhKRU1pQjI4VlJLVzV1?= =?utf-8?B?RE5Qck56L1ZxQzkwaDYwbVltYmJscnZHSmRBVmdaYVBoQlUvV3RBblFnRUVl?= =?utf-8?B?ZU4waEJaSEpkZlR4RlBEdTQ0aWFKaCtqMDliMUFSNWdXeE5JRVpFZlFHNXhi?= =?utf-8?B?MmtkRUx1V0pnUk1hdHdpVUVaN0FkWks4a0o5dEJBdGJHMERkWnNKUWpnazJl?= =?utf-8?B?bnNiNEQrOUUzdVd6MVpzMDFLS21YV2IvUmhOUVE4Q2ZER3UrZWRBTGgrWFEx?= =?utf-8?B?eDlYaXFqelF1THJnd082b3o5NzdFZFRaSUdSZnNRNjFDWFptQmJ4cTdEOU03?= =?utf-8?B?U2xkMS9xR2llbXloejNsdmp0aFIwTmx5M3hhVHpKNDdldG5pcXRnWlNvZzVX?= =?utf-8?B?WTNxbEpRUlFnZDVKcUcvd3d2K2x1bk5DdG9nMHRoWHFCN28wU0JQU0FzQU04?= =?utf-8?B?d2lBZzk0Y3lYVzAvNDRlS0hkYjJ0SWFwclpBczV3YWoveWxnKzBRT0ZDaHZR?= =?utf-8?B?M0JsRXB6UlpZWDhPeVNmV3NITXBVVjczVUVYaW1kM1pabXQxL0d2L3oyQXpl?= =?utf-8?B?dTN3VVNNTXF6VTF5UDVhSGFzcWczeWVVWWZBK0NtN1FyZEprQ1JrRzUzS0Nw?= =?utf-8?B?YlZJUEVpUGNoRUFJZ2NLSlpyZENENHluYVE0QndTTWNlTXhpLzJIVCtCd2Za?= =?utf-8?B?cTI2T05pWGdCSUl2R3VZU1N3K1gzc05CRzdUcjhveUNRZWRuN0xLWU80RDcv?= =?utf-8?B?VUczcERKdWs0czN3bTFlSEJxbHUvc2lEa284VW11ZUU0cGFPZS84NE1OdU9Z?= =?utf-8?B?OVpRaTJwaGptS2FabkIvS2p1OXhuV3k3VlhwMEdZNnYwMTRRWkl3ZnZqVDNW?= =?utf-8?B?QWRGcjdDUmVGMDZNR3U2SkUwTlc2ZFlqanI4QXZRQ29lZkF6YnZqY28zeW0y?= =?utf-8?B?Ri9DRTE5RkEzL0RZM01Xajd4ZndJRWgyWkN4SXdSOHJNMzlkOEZ0NXl4dWtz?= =?utf-8?B?bGJlRW9pVnI1TFNYakh1cUlXMDFwK0ZsWUh5UENsSVpGRVVCN3pCSW5HK0lz?= =?utf-8?B?UFpCK2dNWWRGd0Vyc3ZxaEVPK3BvQVUxY1M3UHJEZ3ZtdlhtdGp6YXRMNUVv?= =?utf-8?B?d3BNamNNckxkcjJWY0pVWGsza1lnS0RrKy9mQW5tejgxcEtaMjZYUEE2OXdi?= =?utf-8?B?ck9tSjNoOUI2WGNvTm5mWmNxVEZjblB0MXpYeVA0bzk3elZabVNya2p6N0Iv?= =?utf-8?B?NTIrWWlHVDZuUzk0OHh5YnhiUkg4Ui9QRUdRRVNlZUxrZ05Hd0VzS0l3PT0=?=
X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2469; 6:ShY8+9Ug/LBYQ2hGgxqbHlVYIYFWUxLpyDXQmAEoDzLgSggIsCJbDmLSQXqXW9HfKjkwCsWfdmtRxSRWZUXjeEYfsnZdxe47ZmOJkwAdhFkHvIXJ/981oQqqKjEK7IDNBACp3bfj2SZ/osi1VDEpK24PgvDaa3uarQ8Sn5DJLDlKEtKpKxNknHU4GYPwbO8ZLuxDU5wq7fPmk0IIHD/q7o7gwXsxlXKELcLthPfo0yA6B0Ioz4pX3VBdwJYzyHsV0P/cYfGhpHHVj/Nwz8aDgYsLYbPkVjqUYnDG+gOwfmxX0iIhRJBbiLba+7Ajw8K2ikpErVtJIjDZM6Zg12BFNMsEsNA17w724mFFhvdtkKG3jBwUWDTGXNYuCX5iFT93xB2kZO2wnbjp2uiWYK+7E7Y4PjzDB7kWUvElkMMvZu3nwO2UeWAs3U1LMJWB6DdhI7tyWdMesUtqnZzELjgooA==; 5:XvgaoIKfNo1R95LYsbIYM3bkN4Afm2HtnPdKtam4+kEInVOXLhhvv7QzLCH4l5JMHCfADCkKGOMcc6T4C4m0pXHU/s5sYyz4dMVOqm7mc9ZfuGKe0Rv8APVKJSZgNx8WRmyQHcalP7hHDYmCYpYoNw==; 24:g7te0o2f/ftd0S6qHJbun3SWPiwGePvtxbUWyI4cp0QF1BVisYyxdJTzDXl7lS1C8bXnMSky04HCCNZIOYVxCWezTw3eQd7ESnSqinT4d28=
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2469; 7:OmcMhcYDaosAtS+xuGNg1mxAR13UHuL+9g84sNs+Fu9m0wIweP9QPKu4xSTmOaLEPCc/NJqiSMhxbh5QoWNV61xZCbjJByP4YnFMyIk9ip1EfK5lqeCDZdhoU2P+l0t7RxEm1js+XgB24P97vu/RtzE55XMSh4jcbFzCpq6dXR1xlR1BItOa7lMxcFqLb16qMsOphzo9KpbGi0CUFLcD/ipKn27diLM0vNxnADi1qVYg1SFSvNIo7ZaCBSg6QoHae02xo0eGrNtA0G3QNjYY9rpJIjtxU2NpYd4GBJX1rqL2IliGZO32F/eSnETi2rZwgOYVgFcH0cwoJL5LJUAd2w==
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2017 15:57:46.9297 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR06MB2469
X-OriginatorOrg: netapp.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/v7cFk9fFPku7oVPWCk0zZr6FwJg>
X-Mailman-Approved-At: Mon, 17 Apr 2017 09:03:52 -0700
Subject: Re: [nfsv4] Inter server-side copy performance
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: Mon, 17 Apr 2017 15:58:52 -0000

(Resending because Google Inbox didn't switch to plain text)

On 04/17/2017 11:30 AM, Olga Kornievskaia wrote:
> On Mon, Apr 17, 2017 at 9:36 AM, J. Bruce Fields <bfields@fieldses.org> wrote:
>> On Fri, Apr 14, 2017 at 05:22:13PM -0400, Olga Kornievskaia wrote:
>>> On Fri, Apr 14, 2017 at 4:09 PM, Mora, Jorge <Jorge.Mora@netapp.com> wrote:
>>>> On 4/13/17, 11:45 AM, "J. Bruce Fields" <bfields@fieldses.org> wrote:
>>>>> Are you timing just the copy_file_range() call, or do you include a
>>>>> following sync?
>>>>
>>>> I am timing right before calling copy_file_range() up to doing an fsync() and close() of the destination file.
>>>> For the traditional copy is the same, I am timing right before the first read on the source file up to the
>>>> fsync() and close() of the destination file.
>>>
>>> Why should do we need a sync after copy_file_range(). kernel
>>> copy_file_range() will send the commits for any unstable copies it
>>> received.
>>
>> Why does it do that?  As far as I can tell it's not required by
>> documentation for copy_file_range() or COPY.  COPY has a write verifier
>> and a stable_how argument in the reply.  Skipping the commits would
>> allow better performance in case a copy requires multiple COPY calls.
>>
>> But, in any case, if copy_file_range() already committed then it
>> probably doesn't make a significant difference to the timing whether you
>> include a following sync and/or close.
> 
> Hm. It does make sense. Anna wrote the original code which included
> the COMMIT after copy which I haven't thought about.
> 
> Anna, any comments?

I think the commit just seemed like a good idea at the time.  I'm okay with changing it if it doesn't make sense.

Anna

> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
> 


From nobody Mon Apr 17 11:45:48 2017
Return-Path: <chuck.lever@oracle.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 9EDDC131779 for <nfsv4@ietfa.amsl.com>; Mon, 17 Apr 2017 11:45:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
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 TICQ6O4GkkT8 for <nfsv4@ietfa.amsl.com>; Mon, 17 Apr 2017 11:45:44 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 033D1131780 for <nfsv4@ietf.org>; Mon, 17 Apr 2017 11:45:43 -0700 (PDT)
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3HIjgM7029803 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 17 Apr 2017 18:45:42 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v3HIjgV5015569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 17 Apr 2017 18:45:42 GMT
Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3HIjfTc003406; Mon, 17 Apr 2017 18:45:41 GMT
Received: from anon-dhcp-171.1015granger.net (/68.46.169.226) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 17 Apr 2017 11:45:41 -0700
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <CADaq8jfhxcGqJd0U40JkyT9eT+hj24dovMmqFUtkSic_b08jDg@mail.gmail.com>
Date: Mon, 17 Apr 2017 14:45:40 -0400
Cc: NFSv4 <nfsv4@ietf.org>
Content-Transfer-Encoding: 7bit
Message-Id: <213DBA50-FB48-4B48-A177-22C2B6879D49@oracle.com>
References: <ED0D48EE-4618-4E07-B97F-8320C77CF1EC@oracle.com> <CADaq8jfHAF6+2AfuRGr2a=D0FX96YAVu=gGJTqGwSvhXCbntfg@mail.gmail.com> <BADB9283-3B08-49DD-A2E2-5C0C20054C45@oracle.com> <CADaq8jfhxcGqJd0U40JkyT9eT+hj24dovMmqFUtkSic_b08jDg@mail.gmail.com>
To: David Noveck <davenoveck@gmail.com>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: userv0021.oracle.com [156.151.31.71]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/KD5wTICJt5CDWWWJMTcZ_as42tQ>
Subject: Re: [nfsv4] Preventing an NFSv4.1 client from destroying a migrated lease after TSM
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: Mon, 17 Apr 2017 18:45:46 -0000

> On Mar 9, 2017, at 2:00 PM, David Noveck <davenoveck@gmail.com> wrote:
> 
> > I'm not certain what you mean by "handled ... as it
> > would have been in 4.0". Server trunking discovery in
> > NFSv4.0 requires an elaborate dance. In NFSv4.1,
> > trunking discovery can be done by a single operation
> > (EXCHANGE_ID).
> 
> What I meant was that, apart from the greater 
> calories expended in v4.0 case, the result should have
> been the same, i.e. that there is no trunking.
> 
> > I'm speculating that if the server hadn't asserted
> > CONFIRMED_R, this client could have recovered
> > correctly from the migration event. Is that what you
> > mean?
> 
> It wasn't what I meant, but, now that you say it, I think is
> probably right.

We've explored this mechanism a little more, and now we seem
to be hamstrung on the first paragraph of RFC 5661, Section
18.35.3:

   The client uses the EXCHANGE_ID operation to register a particular
   client owner with the server.  The client ID returned from this
   operation will be necessary for requests that create state on the
   server and will serve as a parent object to sessions created by the
   client.  In order to confirm the client ID it must first be used,
   along with the returned eir_sequenceid, as arguments to
   CREATE_SESSION.  If the flag EXCHGID4_FLAG_CONFIRMED_R is set in the
   result, eir_flags, then eir_sequenceid MUST be ignored, as it has no
   relevancy.

The problem is the normative requirement in the last
sentence. If CONFIRMED_R is set, a client is required
to ignore the returned contrived slot sequence number.
[ This is likely the reason that clients react to this
flag by purging the lease and starting over ].

Our first thought was to use the sequence number in the
migrated lease (in other words, the sequence number that
was established on the source server). A client knows
that sequence number by looking at the lease it has with
the source server.

However, there's no guarantee that the client will not
perform additional CREATE_SESSION operations against
the source server between the time the source server
copies the migrating lease and the client starts trunking
discovery for the destination server.

Another thought was to use a well-known constant, like
zero, when creating the first session on the destination
server.

What sequence number should be used for the first
CREATE_SESSSION with the destination server? If it is
the copied sequence number, what can prevent mutation
of that sequence number while migration of that lease
is not yet complete?

We've established that trunking discovery works correctly
when the destination server does not assert CONFIRMED_R.
This is because the client may use the contrived slot
sequence number provided by the destination server.

If the destination server does not assert CONFIRMED_R,
then how does the client determine whether Transparent
State Migration has occurred? Can it simply start using
the open and lock state it has, and deal with BAD_STATEID
if the servers did not perform TSM?


Confirmation of the lease means more than just that it
is present on the queried server: it also means there is
now a cached CREATE_SESSION reply, and a known good
contrived slot sequence number. Neither of those is true
for a migrated lease when the client's sessions were not
also migrated.

Thus we should consider that a migrated lease is really
not confirmed at all, but in some intermediate state.
A more ideal solution would be to create an additional
EXCHID4_FLAG that signifies the existence of a migrated
lease for the querying client.


In sum, here are some options we've considered:

1a. destination asserts CONF_R, but client uses the
returned contrived slot sequence anyway

1b. destination asserts CONF_R, and client uses a fixed
constant starting slot sequence

2. destination does not assert CONF_R, and client is
prepared for BAD_STATEID if TSM did not occur

3. destination asserts a new EXCHID4_FLAG that signifies
a TSM has made the client's lease available on that
server

4. NFSv4.1 TSM cannot occur unless the client's sessions
are also migrated

Are there others?

--
Chuck Lever




From nobody Mon Apr 17 15:24:54 2017
Return-Path: <spencer.shepler@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 0124513159C for <nfsv4@ietfa.amsl.com>; Mon, 17 Apr 2017 15:24:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-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 O8MG41Kd12jW for <nfsv4@ietfa.amsl.com>; Mon, 17 Apr 2017 15:24:51 -0700 (PDT)
Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (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 BEB4F126DFB for <nfsv4@ietf.org>; Mon, 17 Apr 2017 15:24:51 -0700 (PDT)
Received: by mail-io0-x229.google.com with SMTP id k87so145948540ioi.0 for <nfsv4@ietf.org>; Mon, 17 Apr 2017 15:24:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=m8kRBbk764994M/oNmfKTUX/QZauwn/6sPN9rtjTSrc=; b=XKeW4Dm1d2RbB8nrOvlTolBY60YiOpOIkaBf3rtBVWh7yAqcadWpPvvdhfdro10jkT a4HMJkZgo5xDw6MTRHp6mccjReooapRXzDOkUJzLzPsE0tPa2vYYNIwrfm+otDLwbCae o61FmIAc30tS/LMurC6YFJJ4cqOJNcorwZ8bv3U48u2X7JomDF+qtL/QsCeOq1UR+rLO 7vf4WTM9cmHX+9zHmN1cKxvmFZiPrG0szKe5Ac1YexrDjdY5lXpXlVm4klAPPOhQHk1t npb1wkULsf8Yv50mrFPUT2vabMOiNw8J7kUYqhzRv7Dw2qXfD1FZXxiaAKMhY8bvsS9p OjXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=m8kRBbk764994M/oNmfKTUX/QZauwn/6sPN9rtjTSrc=; b=IlHGln8k0tCPXoAaZpmiyuvWI6VFdHT+v7OP//KLiT6rbwIGdaQeL4nZj5tQcTmxRh JHG6iY6bKEEu06pxSsKK9qu21Zf+KZ3xmk1kjv6usgkH18vGUCRYnkUKpgVUWH01df18 H3Iy33Y6tyWPjILqwvxfX5KDYF7vkqILsg8K1DivjoFogNdYGbdm6zHWrt497Bplzu8c zGYf25OBbe+T8ZxPn23+1ZJx/4i4jnx655xzd4k0Ee8lPgEt7zdJv5taxRd0BJ0kpYCj fzZm7gWtPsoU6tjmCG2NMJTkWpXcjqCPjg5NQnLJL9DqrAG8IvIFCIadzEVimFsnYgco 2qEQ==
X-Gm-Message-State: AN3rC/7MWK3vVxwUMPxwOX3RV9BgxCUC+zEaT2a20eujLpq5tWiOCKav ffj5xFgGu6DtEMU1YqNdA+5qmO7DSQ==
X-Received: by 10.36.87.84 with SMTP id u81mr2142508ita.40.1492467890890; Mon, 17 Apr 2017 15:24:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.133.104 with HTTP; Mon, 17 Apr 2017 15:24:50 -0700 (PDT)
From: spencer shepler <spencer.shepler@gmail.com>
Date: Mon, 17 Apr 2017 15:24:50 -0700
Message-ID: <CAFt6Bak-5O+Pi15KbuwDJc8GYnR8Nh_zAz5iMhj4PLSja4YoAA@mail.gmail.com>
To: "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a1134f23a79b224054d6442ce
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/MiDBSq439t21sdyHaAD4dgM3okk>
Subject: [nfsv4] IETF 99 - July 16-21 - Prague (request for WG on meeting)
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: Mon, 17 Apr 2017 22:24:53 -0000

--001a1134f23a79b224054d6442ce
Content-Type: text/plain; charset=UTF-8

The working group and BOF scheduling for IETF 99 opened today.

I would like to query the group to see if we have a need to meet in Prague.

Please provide your feedback (first round at least) by the end of April.
This should allow for travel approval and planning.

Thanks,
Spencer

--001a1134f23a79b224054d6442ce
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><br></div><div>The working group and BOF scheduling f=
or IETF 99 opened today.</div><div><br></div><div>I would like to query the=
 group to see if we have a need to meet in Prague.</div><div><br></div><div=
>Please provide your feedback (first round at least) by the end of April.</=
div><div>This should allow for travel approval and planning.</div><div><br>=
</div><div>Thanks,</div><div>Spencer</div></div>

--001a1134f23a79b224054d6442ce--


From nobody Tue Apr 18 07:15:13 2017
Return-Path: <xuanqi17@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 395CA1318AE for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 07:15:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level: 
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-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 GZ6nC2HDefmA for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 07:15:10 -0700 (PDT)
Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) (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 586E31318B4 for <nfsv4@ietf.org>; Tue, 18 Apr 2017 07:15:03 -0700 (PDT)
Received: by mail-yw0-x234.google.com with SMTP id k13so70188625ywk.1 for <nfsv4@ietf.org>; Tue, 18 Apr 2017 07:15:03 -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=2QrBBgQ5sUSbzmRMsOMJxAfwjVh6OVc7TyShdb4Oc0w=; b=tddUv8j5DdJsJUGKxQksX90oqNsLYYfpzaicsuEGUhhjsfJwKT1VHls9bXcAEywJEf /sCFkms+9K8TXgdnGoVCwdp+OhTWFk600pBHMrr4gUGuqm8RHY3cUjFzx0xbFWld5vYP WpYjzXyrl1NUzLVdcBceuneN/oTzdvVhNo8Yvdf4ntoZcNiGr+2k6aD614P91wfLpn5F PoHbe+LxOtq33yjEe7Cp0uvs6lOfVZxoqM7VYW3p3QZZ2V3VxSLwLvUuHeUbZZk9zXSI 4OgdLe28ypitGWlJJyLVaglJFcfvGlAqdYOKkXihNqrq6KtCXweO2lTA324HCs0uHYbR yJyg==
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=2QrBBgQ5sUSbzmRMsOMJxAfwjVh6OVc7TyShdb4Oc0w=; b=rntEuicSzikDweUC0OP/GpvEzifRYyAaxZ4Q09YMOr5Pa5vwIci5XgZhHnl9fT8Irb pGrlSlAW4gbjNPnJ+ojJ5CvHSoYLguAj8Cfxt6NTmcFuX+7gK/iECzRQJf3ar/I1WlvE 1X7igM002+34VesCn90bY7ndlbDljF9iAjZACuqUnIWEOImCRIBXAX6kAH8X15H9ezi3 y+XeT9UPlf0K/s5ZH14u/TskQjXql7bo2Jfseopvvhut7n9XEzUVCR8/uBbpPZ2YCVqW NqzGXX2Xy5nFDFeSvf6tAmMHOQ1EE/5TFOw39ffhrgG6dxI8EKSrKeHBeZqa0XlCNtg/ r9tw==
X-Gm-Message-State: AN3rC/5uJIr/tbQFDzBieRnyA9QnIXI/T80urcYGyZI0R/83aeCnphfP vMFm8FlQ/k1HVW3luAFDH+4UjPEufQ==
X-Received: by 10.36.78.18 with SMTP id r18mr13682414ita.32.1492524902525; Tue, 18 Apr 2017 07:15:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.6.198 with HTTP; Tue, 18 Apr 2017 07:15:01 -0700 (PDT)
In-Reply-To: <213DBA50-FB48-4B48-A177-22C2B6879D49@oracle.com>
References: <ED0D48EE-4618-4E07-B97F-8320C77CF1EC@oracle.com> <CADaq8jfHAF6+2AfuRGr2a=D0FX96YAVu=gGJTqGwSvhXCbntfg@mail.gmail.com> <BADB9283-3B08-49DD-A2E2-5C0C20054C45@oracle.com> <CADaq8jfhxcGqJd0U40JkyT9eT+hj24dovMmqFUtkSic_b08jDg@mail.gmail.com> <213DBA50-FB48-4B48-A177-22C2B6879D49@oracle.com>
From: Xuan Qi <xuanqi17@gmail.com>
Date: Tue, 18 Apr 2017 09:15:01 -0500
Message-ID: <CAFXN+NzipYDioa8Jx2138uuB2+jVKK3LtSka9xgLBJ81jEFBGg@mail.gmail.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: David Noveck <davenoveck@gmail.com>, NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a113a70c8a234df054d71884f
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/l5d3zkUZQouyzpAWdpM4Qh1DU50>
Subject: Re: [nfsv4] Preventing an NFSv4.1 client from destroying a migrated lease after TSM
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: Tue, 18 Apr 2017 14:15:12 -0000

--001a113a70c8a234df054d71884f
Content-Type: text/plain; charset=UTF-8

Hi Chuck and All,

On Mon, Apr 17, 2017 at 1:45 PM, Chuck Lever <chuck.lever@oracle.com> wrote:

>
> Confirmation of the lease means more than just that it
> is present on the queried server: it also means there is
> now a cached CREATE_SESSION reply, and a known good
> contrived slot sequence number. Neither of those is true
> for a migrated lease when the client's sessions were not
> also migrated.
>
Just to clarify, Solaris server doesn't migrate client session. But we do
migrate the contrived slot sequence number and the cached CREATE_SESSION
reply because they live under the client record.

Thanks,
Xuan

--001a113a70c8a234df054d71884f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Chuck and All,<br><div><div class=3D"gmail_extra"><br><=
div class=3D"gmail_quote">On Mon, Apr 17, 2017 at 1:45 PM, Chuck Lever <spa=
n dir=3D"ltr">&lt;<a target=3D"_blank" href=3D"mailto:chuck.lever@oracle.co=
m">chuck.lever@oracle.com</a>&gt;</span> wrote:<br><blockquote style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex" class=3D"gmail_quote"><br>
Confirmation of the lease means more than just that it<br>
is present on the queried server: it also means there is<br>
now a cached CREATE_SESSION reply, and a known good<br>
contrived slot sequence number. Neither of those is true<br>
for a migrated lease when the client&#39;s sessions were not<br>
also migrated.<br></blockquote></div>Just to clarify, Solaris server doesn&=
#39;t migrate client session. But we do<br>migrate the contrived slot seque=
nce number and the cached CREATE_SESSION<br>reply because they live under t=
he client record.<br><br></div><div class=3D"gmail_extra">Thanks,<br></div>=
<div class=3D"gmail_extra">Xuan<br></div></div></div>

--001a113a70c8a234df054d71884f--


From nobody Tue Apr 18 10:28:44 2017
Return-Path: <olga.kornievskaia@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 ADE4912EC7F for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 10:28:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-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 9k3LPHPpWDn8 for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 10:28:40 -0700 (PDT)
Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (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 7DD7C1293DB for <nfsv4@ietf.org>; Tue, 18 Apr 2017 10:28:40 -0700 (PDT)
Received: by mail-io0-x236.google.com with SMTP id r16so4767272ioi.2 for <nfsv4@ietf.org>; Tue, 18 Apr 2017 10:28:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=/eb8Qt9pIM2x1TSPeSOK7DOHvT267oc4k0Sc64VelwA=; b=qRRom9IEC70pecTGs7F7lvz+qlXFTjgg0yLhTL/Y4XcumzH6iig3Nmy+ApMoJttfaY HvI/dGoZn1AeV3WR038npuIVPTlDY1xZBDYIJS2HX9Nr4+YsxzweSRGy9eoAb9cYqY1a YXGDjRgDPHd+PpPS3P+b77K7Y2K1+TUCAtbfO13+WgwclLFgWND6OE110UZkDxflDH8U tkx9x4A8sQiCTd5vKaO+9V+IDT7ryrgykh+q8IFFGEXq05AviivoLjpB1/5bGdeRyOIm fkQLgeFpb+CtzqiXuH57b7FpB+P+kXUqFZjqLS7CVFM+tSlm8JwJ8WANudS4usFc9WRz 9AMg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=/eb8Qt9pIM2x1TSPeSOK7DOHvT267oc4k0Sc64VelwA=; b=HIncIc1SEwErh0ynqzQ35LwsU00xnadXGfWyh37QjHxC3TSwskV/jc9QUfl14rmIXI F1yHtAf5BEZPlO/xTKOd6K/WYlCRPp6/G9xEnlxj67LA30DxR4J93EtzA4GLYXXczAon d0L1zUFLduCyM4DdgAIGDf8gbZ6tdqruizDEnptl5fGD/+WuMWrizkl3oZBGH7sj5Hk/ 31hLMH81kRDRlUowUuWdmiid2ireSgIQcVfmR5b/zm2IfvKWIayp8UYltECpUbua5q7t RelwLCY++4RpJDAYzgWLd4vCGmhkaaQTtCV5nbGXVXNXw5Ud4SAPScAS1eoWNiJ5TuqP kC5g==
X-Gm-Message-State: AN3rC/4m1EPkFX51s+XqA6B1hy8fPF7hglH0VgjqKuBNn0rfjVfS4JvK eTAkgF7n1TMmEN6h54L6PN+KQTaT5Q==
X-Received: by 10.107.133.35 with SMTP id h35mr15856815iod.230.1492536519613;  Tue, 18 Apr 2017 10:28:39 -0700 (PDT)
MIME-Version: 1.0
Sender: olga.kornievskaia@gmail.com
Received: by 10.107.46.170 with HTTP; Tue, 18 Apr 2017 10:28:39 -0700 (PDT)
In-Reply-To: <CAFX2JfkiraKm2Rmqhkrh3CSWBoYfW0QU=uXw=sSx-8Wt8JD7wg@mail.gmail.com>
References: <DFE33002-FE1C-4E83-B6E3-50BFD304C7F6@netapp.com> <20170413174515.GA5140@fieldses.org> <59BDF7CA-78BB-42FC-8BC4-95101F5E1EC7@netapp.com> <CAN-5tyHOdU9BJnJft+X06=6X7_s8MS_hDmg9t=fJQ=QtvJQD=w@mail.gmail.com> <20170417133604.GA22694@fieldses.org> <CAN-5tyF10OCihgYUMwoju6V+SnVZkpQNoQLb_UKoCAPuG+EgbQ@mail.gmail.com> <CAFX2JfkiraKm2Rmqhkrh3CSWBoYfW0QU=uXw=sSx-8Wt8JD7wg@mail.gmail.com>
From: Olga Kornievskaia <aglo@umich.edu>
Date: Tue, 18 Apr 2017 13:28:39 -0400
X-Google-Sender-Auth: fpJMYERa5xXuH2yJMpsZCNHyvek
Message-ID: <CAN-5tyEO3wJ3sT_phM6LNGH3zpYmi21e+fhHjkSGvZrRqWziMw@mail.gmail.com>
To: Anna Schumaker <schumakeranna@gmail.com>
Cc: "J. Bruce Fields" <bfields@fieldses.org>,  "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/PkAYYf5sEEE5C0ZTXoGVdT_uaLg>
Subject: Re: [nfsv4] Inter server-side copy performance
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: Tue, 18 Apr 2017 17:28:43 -0000

On Mon, Apr 17, 2017 at 11:37 AM, Anna Schumaker
<schumakeranna@gmail.com> wrote:
>
>
> On Mon, Apr 17, 2017 at 11:30 AM Olga Kornievskaia <aglo@umich.edu> wrote:
>>
>> On Mon, Apr 17, 2017 at 9:36 AM, J. Bruce Fields <bfields@fieldses.org>
>> wrote:
>> > On Fri, Apr 14, 2017 at 05:22:13PM -0400, Olga Kornievskaia wrote:
>> >> On Fri, Apr 14, 2017 at 4:09 PM, Mora, Jorge <Jorge.Mora@netapp.com>
>> >> wrote:
>> >> > On 4/13/17, 11:45 AM, "J. Bruce Fields" <bfields@fieldses.org> wrote:
>> >> >> Are you timing just the copy_file_range() call, or do you include a
>> >> >> following sync?
>> >> >
>> >> > I am timing right before calling copy_file_range() up to doing an
>> >> > fsync() and close() of the destination file.
>> >> > For the traditional copy is the same, I am timing right before the
>> >> > first read on the source file up to the
>> >> > fsync() and close() of the destination file.
>> >>
>> >> Why should do we need a sync after copy_file_range(). kernel
>> >> copy_file_range() will send the commits for any unstable copies it
>> >> received.
>> >
>> > Why does it do that?  As far as I can tell it's not required by
>> > documentation for copy_file_range() or COPY.  COPY has a write verifier
>> > and a stable_how argument in the reply.  Skipping the commits would
>> > allow better performance in case a copy requires multiple COPY calls.
>> >
>> > But, in any case, if copy_file_range() already committed then it
>> > probably doesn't make a significant difference to the timing whether you
>> > include a following sync and/or close.
>>
>> Hm. It does make sense. Anna wrote the original code which included
>> the COMMIT after copy which I haven't thought about.
>>
>> Anna, any comments?
>
>
> I think the commit just seemed like a good idea at the time.  I'm okay with
> changing it if it doesn't make sense.

Given how the code is written now it looks like it's not possible to
save up commits....

Here's what I can see happening:

nfs42_proc_clone() as well as nfs42_proc_copy() will call
nfs_sync_inode(dst) "to make sure server(s) have the latest data"
prior to initiating the clone/copy. So even if we just queue up (not
send) the commit after the executing nfs42_proc_copy, then next call
into vfs_copy_file_range() will send out that queued up commit.

Is it ok to relax the requirement that requirement, I'm not sure...


From nobody Tue Apr 18 11:33:37 2017
Return-Path: <bfields@fieldses.org>
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 2EE5F13013C for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 11:33:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level: 
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 lExeCsMr2pnd for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 11:33:33 -0700 (PDT)
Received: from fieldses.org (fieldses.org [173.255.197.46]) by ietfa.amsl.com (Postfix) with ESMTP id CBFDF13012A for <nfsv4@ietf.org>; Tue, 18 Apr 2017 11:33:33 -0700 (PDT)
Received: by fieldses.org (Postfix, from userid 2815) id 8D23126A7; Tue, 18 Apr 2017 14:33:33 -0400 (EDT)
Date: Tue, 18 Apr 2017 14:33:33 -0400
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Olga Kornievskaia <aglo@umich.edu>
Cc: Anna Schumaker <schumakeranna@gmail.com>, "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Message-ID: <20170418183333.GH6208@fieldses.org>
References: <DFE33002-FE1C-4E83-B6E3-50BFD304C7F6@netapp.com> <20170413174515.GA5140@fieldses.org> <59BDF7CA-78BB-42FC-8BC4-95101F5E1EC7@netapp.com> <CAN-5tyHOdU9BJnJft+X06=6X7_s8MS_hDmg9t=fJQ=QtvJQD=w@mail.gmail.com> <20170417133604.GA22694@fieldses.org> <CAN-5tyF10OCihgYUMwoju6V+SnVZkpQNoQLb_UKoCAPuG+EgbQ@mail.gmail.com> <CAFX2JfkiraKm2Rmqhkrh3CSWBoYfW0QU=uXw=sSx-8Wt8JD7wg@mail.gmail.com> <CAN-5tyEO3wJ3sT_phM6LNGH3zpYmi21e+fhHjkSGvZrRqWziMw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAN-5tyEO3wJ3sT_phM6LNGH3zpYmi21e+fhHjkSGvZrRqWziMw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/VumactAMByt53obKjKLuJqvYYWk>
Subject: Re: [nfsv4] Inter server-side copy performance
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: Tue, 18 Apr 2017 18:33:35 -0000

On Tue, Apr 18, 2017 at 01:28:39PM -0400, Olga Kornievskaia wrote:
> Given how the code is written now it looks like it's not possible to
> save up commits....
> 
> Here's what I can see happening:
> 
> nfs42_proc_clone() as well as nfs42_proc_copy() will call
> nfs_sync_inode(dst) "to make sure server(s) have the latest data"
> prior to initiating the clone/copy. So even if we just queue up (not
> send) the commit after the executing nfs42_proc_copy, then next call
> into vfs_copy_file_range() will send out that queued up commit.
> 
> Is it ok to relax the requirement that requirement, I'm not sure...

Well, if the typical case of copy_file_range is just opening a file,
doing a single big copy_file_range(), then closing the file, then this
doesn't matter.

The linux server is currently limiting COPY to 4MB at a time, which will
make the commits more annoying.

Even there the typical case will probably still be an open, followed by
a series of non-overlapping copies, then close, and that shouldn't
require the commits.

--b.


From nobody Tue Apr 18 12:21:53 2017
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 DCFE912EAED for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 12:21:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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] 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 tyJRkTHT0U71 for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 12:21:50 -0700 (PDT)
Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 F252F1270AC for <nfsv4@ietf.org>; Tue, 18 Apr 2017 12:21:49 -0700 (PDT)
Received: by mail-it0-x231.google.com with SMTP id 70so16223977ita.0 for <nfsv4@ietf.org>; Tue, 18 Apr 2017 12:21:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to:cc; bh=H5M9+rspce2upLiOVz1Dd4SaZL+TrtRt3l/ti/SkKh8=; b=ieYnJ10fUIAUuUW6JtEpMID+3REyybKjrD5qW+TuwKwPzUNd4URwcqjbX6k8bXWooG J5tB324OESUSah2kd9FH3UpZmZFiC8No7mFVlPc49yPX1e98Axx2Gnbak/Iq10IuOkfH PolnZDT0HCTyoZvTLGRpMxMmrBLAIfkOG/F9jNSAfH5ST/5JuM/6IU5J3Wqx5CorGsol T/qBlOFWBn57Q+RZ6n/ZJ5cLvXlwfIRWsBEnL9xbKAgsCq7VtElpu9EWUgydNlF/xSrJ BdrmjGkXKonQ6mq7lQTqgRZ2cUoEIHLgZpnOYFwbMFAcDt+CPQXxlfJQBGdSXZmtE/IC RGSA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=H5M9+rspce2upLiOVz1Dd4SaZL+TrtRt3l/ti/SkKh8=; b=QEaOI/VL9iROnCMXb7/c+C6m5Itry9mbr7ty5icfvSsBgay28itzpjPS4xjvJtl6CG T56oh4FBXGRfqKPX/LXLzqtjj+836G1V7tauGsUkDzrusi6w0H+u1KipLsT1yQZe2RUG 4rQS8zcjTidSn7X0apULQKEYbiE7LI3Xe+LIeOwsQGxtMf0RRuelR3JQ/Ca3KmcFdXpq RkzgmXHvbhg8xrfvthO7bV48tdxRViUZutZ4KsFX5/7XRuma88+GpafUblHvcgq0G7f7 OopKotafJGFkR8ERs0Qn0Ce0wOTE8hlvglkwnO7tdCbtMZrEQMs9pc9okwymONLlqGsn 2BBg==
X-Gm-Message-State: AN3rC/6HA1fTrJyqyguKcWQdEAlLCbAqwnmCQlofvyLg6zaTb+O1Buuz tAr9msiIcyWLZjBoQCjI4aTi4JjuvA==
X-Received: by 10.36.175.28 with SMTP id t28mr16871091ite.68.1492543309098; Tue, 18 Apr 2017 12:21:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Tue, 18 Apr 2017 12:21:48 -0700 (PDT)
From: David Noveck <davenoveck@gmail.com>
Date: Tue, 18 Apr 2017 15:21:48 -0400
Message-ID: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=f403045da082c04be7054d75d10b
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/MbqCulaZlWMM1U1rby43bcoIDoI>
Subject: [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: Tue, 18 Apr 2017 19:21:52 -0000

--f403045da082c04be7054d75d10b
Content-Type: text/plain; charset=UTF-8

*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"

--f403045da082c04be7054d75d10b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><font size=3D"4"><b>Overall Evaluation</b></font><div><fon=
t size=3D"4"><b><br></b></font></div><div>Major improvement over RFC5667.=
=C2=A0 Almost ready to ship.=C2=A0 No technical issues.</div><div><br></div=
><div>A lot of my comments are basically editorial and are offered on a tak=
e-it-or-lease-it basis.</div><div><br></div><div>I think some clarification=
 in Section 5.4.1 is needed although not necessarily in the ways suggested =
below,=C2=A0</div><div><br></div><div><font size=3D"4"><b>Comments by Secti=
on</b></font></div><div><pre style=3D"color:rgb(0,0,0);word-wrap:break-word=
;white-space:pre-wrap"><font face=3D"arial, helvetica, sans-serif"><b>5.4.1=
.  Multiple DDP-eligible Data Items</b></font></pre><pre style=3D"word-wrap=
:break-word"><font color=3D"#000000" face=3D"arial, helvetica, sans-serif">=
<span style=3D"white-space:pre-wrap">Given</span></font><font face=3D"arial=
, helvetica, sans-serif" style=3D"color:rgb(0,0,0);white-space:pre-wrap"> t=
hat READ_PLUS no longer has any DDP-eligible data items, the situation desc=
ribed in the fifth bullet can no longer arise.  I suggest deleting the bull=
et.</font></pre><pre style=3D"word-wrap:break-word"><font face=3D"arial, he=
lvetica, sans-serif"><font color=3D"#000000"><span style=3D"white-space:pre=
-wrap">The penultimate paragraph can be read as applying to some situations=
 in which it shouldn&#39;t and where the extra chunks would very naturally =
ignored.  For example, if you had on write chunk together with a READ opera=
tion which failed, the server would have more chunks (i.e. one) than the nu=
mber it is prepared to process (i.e. zero).  Suggest, as a possible replace=
ment:</span></font></font></pre></div><blockquote style=3D"margin:0px 0px 0=
px 40px;border:none;padding:0px"><pre style=3D"word-wrap:break-word"><pre s=
tyle=3D"color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><font f=
ace=3D"arial, helvetica, sans-serif">Normally, when an NFS version 4 client=
 sends an RPC Call with a Write list that contains multiple chunks. each su=
ch, 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 versi=
on 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_CH=
UNK</font>.</pre></pre></blockquote><font color=3D"#000000" face=3D"arial, =
helvetica, sans-serif"><span style=3D"white-space:pre-wrap">With regard to =
the last paragraph, I am curious that this paragraph, unlike the previous o=
ne, allows GARBGEARGS.  Is this so because that would be allowed if the chu=
nks in question had offsets other than those that correspond to DDP-eligibl=
e data items?  If so, please consider the following possible replacement.</=
span></font><blockquote style=3D"margin:0px 0px 0px 40px;border:none;paddin=
g:0px"><pre style=3D"color:rgb(0,0,0);word-wrap:break-word;white-space:pre-=
wrap"><font face=3D"arial, helvetica, sans-serif">Normally, when an NFS ver=
sion 4 client sends an RPC Call with a Read list that contains multiple chu=
nks, 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.-n=
fsv4-rfc5666bis]. </font><font face=3D"arial, helvetica, sans-serif">When t=
here 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 re=
sponding with an RDMA_ERROR message with the rdma_err value set to ERR_CHUN=
K</font><span style=3D"font-family:arial,sans-serif">.</span></pre></blockq=
uote><pre style=3D"color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wr=
ap"><font face=3D"arial, helvetica, sans-serif"><b>5.6.  Session-Related Co=
nsiderations</b></font></pre><pre style=3D"color:rgb(0,0,0);word-wrap:break=
-word;white-space:pre-wrap"><font face=3D"arial, helvetica, sans-serif">In =
the third sentence of the second paragraph, suggest replacing &quot;no diff=
erent&quot; by &quot;not different&quot;.</font></pre><pre style=3D"color:r=
gb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><pre style=3D"word-wra=
p:break-word;white-space:pre-wrap"><font face=3D"arial, helvetica, sans-ser=
if">In the last sentence of the last  paragraph, suggest replacing &quot;is=
 not&quot; by &quot;were not&quot;</font></pre></pre><div><font color=3D"#0=
00000" face=3D"arial, helvetica, sans-serif"><span style=3D"white-space:pre=
-wrap"><br></span></font></div></div>

--f403045da082c04be7054d75d10b--


From nobody Tue Apr 18 12:30:44 2017
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 109AE129C31 for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 12:30:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-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 MtvsQvvug-DL for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 12:30:39 -0700 (PDT)
Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (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 E36181293D9 for <nfsv4@ietf.org>; Tue, 18 Apr 2017 12:30:38 -0700 (PDT)
Received: by mail-io0-x229.google.com with SMTP id r16so7915545ioi.2 for <nfsv4@ietf.org>; Tue, 18 Apr 2017 12:30:38 -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=zee5VfL80SUnIvCd2TDiewKq4sILZ7fB5XUwI9JSotI=; b=uA972EcpXSTazu9Mtls4ltSC6NqNtv3i65orzY3JZ8sGtxz0muenS0hde0T0sG8P2F gUd4g6Zx/c8BUenUPc3FWPJxdf28SgrcNDF7RPzx7D4slU6TZuqo8L5xcdalIbShzMEv asJXLBCuyJLH5jD98tLyQLFSrIgt3i4M9UF5/8YWnXK1txSMwZDHM1MswNB+aUWpuAFW TzMur2Dm3LKr/0l0XvfiR+PcGZnSxHiDAJXtyI0v+rsUxVRkOmA131ChRWleENs0Oix0 xwY0B28wU6MTzUGxXSfxMZCRRB3MXrwPaSPPfBhI8ZlI3KDmYUHRQja/IjMHVQ+Pf8fh LdHQ==
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=zee5VfL80SUnIvCd2TDiewKq4sILZ7fB5XUwI9JSotI=; b=JpHmHKkrcYHyVjNQIa6emcjATTwJTSiF+8if+3hDybdjJosksAE3HLnjFYKlazC+sW zPZo1/+2rfyui8IW1Hk44Dyl5AbM6e5mgzvI+OrAqJ4cs8gU1rXlKOjX2uDUaM0JUzKP j0CQGFOz/yGU5M6tX4bnVRTkWy6Ufl4IcxUVVHuFxajairZpEiCTk47YX5UqEDKOvPXs b2WOLmLx8qvT7pNG/CwzG/fKhf9fQ3yitWwkYJ4EaYENQ/0JoZrWiUBjF+mKYPieXgTq dfbgoY4RmXTiZQ/iV65P5qK8YnYEjBWXkID3xp8Qw1uZwfrZXKW8semZttwpdKl3/16a bUhg==
X-Gm-Message-State: AN3rC/6r/UiUblDgqAFzVjR7LLtvJhN50gBPeEUo+KAPKfLpPd4j22MJ RoBzZNdJJ4Q3ZgDS0nCwTo0AX3a1PA==
X-Received: by 10.107.136.143 with SMTP id s15mr15890219ioi.224.1492543837970;  Tue, 18 Apr 2017 12:30:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Tue, 18 Apr 2017 12:30:37 -0700 (PDT)
In-Reply-To: <213DBA50-FB48-4B48-A177-22C2B6879D49@oracle.com>
References: <ED0D48EE-4618-4E07-B97F-8320C77CF1EC@oracle.com> <CADaq8jfHAF6+2AfuRGr2a=D0FX96YAVu=gGJTqGwSvhXCbntfg@mail.gmail.com> <BADB9283-3B08-49DD-A2E2-5C0C20054C45@oracle.com> <CADaq8jfhxcGqJd0U40JkyT9eT+hj24dovMmqFUtkSic_b08jDg@mail.gmail.com> <213DBA50-FB48-4B48-A177-22C2B6879D49@oracle.com>
From: David Noveck <davenoveck@gmail.com>
Date: Tue, 18 Apr 2017 15:30:37 -0400
Message-ID: <CADaq8jeuPQfUNM-QH2jEKuMRSjsEwWQU_0ZBVJH0KDU7-vipmQ@mail.gmail.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a113ed55a464dab054d75f136
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/88d4SAnTO6kdM904zc8fHO47GvE>
Subject: Re: [nfsv4] Preventing an NFSv4.1 client from destroying a migrated lease after TSM
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: Tue, 18 Apr 2017 19:30:42 -0000

--001a113ed55a464dab054d75f136
Content-Type: text/plain; charset=UTF-8

To avoid burying the lead, I'll respond waaay out of order:

> In sum, here are some options we've considered:

> 1a. destination asserts CONF_R, but client uses the
> returned contrived slot sequence anyway

Clearly, migration-issues-13 needs to take account of this issue.
I believe 1a is the best choice and will explain why below.

> We've explored this mechanism a little more, and now we seem
> to be hamstrung on the first paragraph of RFC 5661, Section
> 18.35.3:

Like much of RFCs 5661 and 7530, the paragraph in question
was written without any consideration of issues related to
transparent state migration.  Sigh!

I think I have not been as explicit about this as I should have been
but, as we have started to address a number of migration-related issues for
NFSv4.1 it appears that we will need a standards-track document,
updating RFC5661, paralleling RFC7931 for NFSv4.0.

RFC7931 had a replacement SETCLIENTID description and it now
appears that the new document will need a replacement for the
EXCHANGE_ID  description.   Coincidence? ....  or something
else? :-)

>   The client uses the EXCHANGE_ID operation to register a particular
>   client owner with the server.

However, when the client_owner has been already been registered
by other means (e.g. transparent state migration), the client may still
use EXCHANGE_ID to obtain the clientid assigned.previously.

>  The client ID returned from this
>   operation will be necessary for requests that create state on the
>   server and will serve as a parent object to sessions created by the
>   client.

OK.

>   In order to confirm the client ID it must first be used,
>   along with the returned eir_sequenceid, as arguments to
>   CREATE_SESSION.

In situations in which the registration of the clent_owner has not occurred
previously ...

> If the flag EXCHGID4_FLAG_CONFIRMED_R is set in the
> result, eir_flags, then eir_sequenceid MUST be ignored, as it has no
>  relevancy.

It is not central to my argument but I believe that the "MUST" is not in
accord with RFC2119.  The point here is that if a CREATE_SESSION
has been one, which this text assume is the case, that has already
established the proper sequence id to use.  This is explaning how the
protocol works and not establishing an interoperability REQUIREMENT>

Anyway, I would go on:

If the flag EXCHGID4_FLAG_CONFIRMED_R is set in the
result, eir_flags, then it is an indication that the the registration

of the client_owner has already occurred and that a further

CREATE_SESSION is not  needed to confirm it.  Of course,

subsequent CREATE_SESSIONs may be needed for other

reasons.

The value eir_seqenceid is used to establish an initial

sequence value associate with the clientid returned.  In cases

in which a CREATE_SESSION has already been done, there

is no need for this value, since sequencing of such request has

already been established and the client has no need for this

value and will ignore it.

> The problem is the normative requirement in the last
> sentence.

I agree that this REQUIREMENT is a problem.

> If CONFIRMED_R is set, a client is required
> to ignore the returned contrived slot sequence number.

According to RFC5661, yes.

> [ This is likely the reason that clients react to this
> flag by purging the lease and starting over ].

I believe that the reason is that if the client thinks/knows a
clientid is unconfirmed and he finds out that the server thinks
otherwise, he figure something is *really *messed up, in which
punting like this is to be preferred to a panic :-(

> Our first thought was to use the sequence number in the
> migrated lease (in other words, the sequence number that
> was established on the source server). A client knows
> that sequence number by looking at the lease it has with
> the source server.

In this case, you are moving over the single-slot
quasi-session associated with the client.

> However, there's no guarantee that the client will not
> perform additional CREATE_SESSION operations against
> the source server between the time the source server
> copies the migrating lease and the client starts trunking
> discovery for the destination server.

True.  The client can hack around this by starting with
the last sequence he has and backing up  if it is too
high.  I'd rather not go there, though.

> Another thought was to use a well-known constant, like
> zero, when creating the first session on the destination
> server.

That is probably the best option if you is committed to respect
the language of the current RFC5661 requirement.  However,
you would still need to revise the EXCHANGE_ID description
to provide a coherent description, in any case.

> We've established that trunking discovery works correctly
> when the destination server does not assert CONFIRMED_R.

:-)

> This is because the client may use the contrived slot
> sequence number provided by the destination server.

It's because he does use that slot sequence number.  To me, that is
an additional reason he should be allowed to do so.

> If the destination server does not assert CONFIRMED_R,
> then how does the client determine whether Transparent
> State Migration has occurred? Can it simply start using
> the open and lock state it has, and deal with BAD_STATEID
> if the servers did not perform TSM?

I think that may be possible.  However, it is is ugly.  if you have another
way
to find out that state was transferred, you can look at the status bits
from SEQUENCE,
and only worry about lost stateids when there is an indication  that some
state was lost.

> Confirmation of the lease means more than just that it
> is present on the queried server

Confirmation means that the client is not uncertain about
whether it is exists.  Confirmation by means of CREATE_SESSION
is one way to do that, by making sure that the EXCHANGE_ID was
not a random retry, since abandoned.

> it also means there is
> now a cached CREATE_SESSION reply, and a known good
> contrived slot sequence number.

In many situations, that is a reasonable inference bu it doesn't
change the meaning of "confirmation".

> Neither of those is true
> for a migrated lease when the client's sessions were not
> also migrated.

Yes, but I'm not certain that both of these are true in the case in which
the client's
session are migrated.

> Thus we should consider that a migrated lease is really
> not confirmed at all,

I consider it confirmed, but confirmed in a different manner.

> but in some intermediate state.

if it it were an intermediate state, there would be some way to get into
what you call the confirmed state (and I would call the
confirmed-by-CREATE_SESSION state).  You could do that by dong
a CREATE_SESSION if you knew the sequenceid but I don't see the
point in explicating the fine structure of the various confirmed clientid
sub-states.

> A more ideal solution would be to create an additional
> EXCHID4_FLAG that signifies the existence of a migrated
> lease for the querying client.

If you were starting today (or had a time machine) you might do it that way.


> In sum, here are some options we've considered:

> 1a. destination asserts CONF_R, but client uses the
> returned contrived slot sequence anyway


My first choice.

> 1b. destination asserts CONF_R, and client uses a fixed
> constant starting slot sequence

My second choice.

> 2. destination does not assert CONF_R, and client is
> prepared for BAD_STATEID if TSM did not occur

a real drag.

> 3. destination asserts a new EXCHID4_FLAG that signifies
> a TSM has made the client's lease available on that
> server

Unfortunately, NFSv4.1 is not an extensible minor version.

> 4. NFSv4.1 TSM cannot occur unless the client's sessions
> are also migrated


> Are there others?

There are others but none come to mind right now.

On Mon, Apr 17, 2017 at 2:45 PM, Chuck Lever <chuck.lever@oracle.com> wrote:

>
> > On Mar 9, 2017, at 2:00 PM, David Noveck <davenoveck@gmail.com> wrote:
> >
> > > I'm not certain what you mean by "handled ... as it
> > > would have been in 4.0". Server trunking discovery in
> > > NFSv4.0 requires an elaborate dance. In NFSv4.1,
> > > trunking discovery can be done by a single operation
> > > (EXCHANGE_ID).
> >
> > What I meant was that, apart from the greater
> > calories expended in v4.0 case, the result should have
> > been the same, i.e. that there is no trunking.
> >
> > > I'm speculating that if the server hadn't asserted
> > > CONFIRMED_R, this client could have recovered
> > > correctly from the migration event. Is that what you
> > > mean?
> >
> > It wasn't what I meant, but, now that you say it, I think is
> > probably right.
>
> We've explored this mechanism a little more, and now we seem
> to be hamstrung on the first paragraph of RFC 5661, Section
> 18.35.3:
>
>    The client uses the EXCHANGE_ID operation to register a particular
>    client owner with the server.  The client ID returned from this
>    operation will be necessary for requests that create state on the
>    server and will serve as a parent object to sessions created by the
>    client.  In order to confirm the client ID it must first be used,
>    along with the returned eir_sequenceid, as arguments to
>    CREATE_SESSION.  If the flag EXCHGID4_FLAG_CONFIRMED_R is set in the
>    result, eir_flags, then eir_sequenceid MUST be ignored, as it has no
>    relevancy.
>
> The problem is the normative requirement in the last
> sentence. If CONFIRMED_R is set, a client is required
> to ignore the returned contrived slot sequence number.
> [ This is likely the reason that clients react to this
> flag by purging the lease and starting over ].
>
> Our first thought was to use the sequence number in the
> migrated lease (in other words, the sequence number that
> was established on the source server). A client knows
> that sequence number by looking at the lease it has with
> the source server.
>
> However, there's no guarantee that the client will not
> perform additional CREATE_SESSION operations against
> the source server between the time the source server
> copies the migrating lease and the client starts trunking
> discovery for the destination server.
>
> Another thought was to use a well-known constant, like
> zero, when creating the first session on the destination
> server.
>
> What sequence number should be used for the first
> CREATE_SESSSION with the destination server? If it is
> the copied sequence number, what can prevent mutation
> of that sequence number while migration of that lease
> is not yet complete?
>
> We've established that trunking discovery works correctly
> when the destination server does not assert CONFIRMED_R.
> This is because the client may use the contrived slot
> sequence number provided by the destination server.
>
> If the destination server does not assert CONFIRMED_R,
> then how does the client determine whether Transparent
> State Migration has occurred? Can it simply start using
> the open and lock state it has, and deal with BAD_STATEID
> if the servers did not perform TSM?
>
>
> Confirmation of the lease means more than just that it
> is present on the queried server: it also means there is
> now a cached CREATE_SESSION reply, and a known good
> contrived slot sequence number. Neither of those is true
> for a migrated lease when the client's sessions were not
> also migrated.
>
> Thus we should consider that a migrated lease is really
> not confirmed at all, but in some intermediate state.
> A more ideal solution would be to create an additional
> EXCHID4_FLAG that signifies the existence of a migrated
> lease for the querying client.
>
>
> In sum, here are some options we've considered:
>
> 1a. destination asserts CONF_R, but client uses the
> returned contrived slot sequence anyway
>
> 1b. destination asserts CONF_R, and client uses a fixed
> constant starting slot sequence
>
> 2. destination does not assert CONF_R, and client is
> prepared for BAD_STATEID if TSM did not occur
>
> 3. destination asserts a new EXCHID4_FLAG that signifies
> a TSM has made the client's lease available on that
> server
>
> 4. NFSv4.1 TSM cannot occur unless the client's sessions
> are also migrated
>
> Are there others?
>
> --
> Chuck Lever
>
>
>
>

--001a113ed55a464dab054d75f136
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">To avoid burying the lead, I&#39;ll respond waaay out of o=
rder:<div><br></div><div><span style=3D"font-size:16px">&gt; In sum, here a=
re some options we&#39;ve considered:</span><br style=3D"font-size:16px"><b=
r style=3D"font-size:16px"><span style=3D"font-size:16px">&gt; 1a. destinat=
ion asserts CONF_R, but client uses the</span><br style=3D"font-size:16px">=
<span style=3D"font-size:16px">&gt; returned contrived slot sequence anyway=
</span><br></div><div><span style=3D"font-size:16px"><br></span></div><div>=
<span style=3D"font-size:16px">Clearly, migration-issues-13 needs to take a=
ccount of this issue.</span></div><div><span style=3D"font-size:16px">I bel=
ieve 1a is the best choice and will explain why below.</span></div><div><sp=
an style=3D"font-size:16px"><br></span></div><div><span style=3D"font-size:=
16px">&gt; We&#39;ve explored this mechanism a little more, and now we seem=
</span><br style=3D"font-size:16px"><span style=3D"font-size:16px">&gt; to =
be hamstrung on the first paragraph of RFC 5661, Section</span><br style=3D=
"font-size:16px"><span style=3D"font-size:16px">&gt; 18.35.3:</span><span s=
tyle=3D"font-size:16px"><br></span></div><div><span style=3D"font-size:16px=
"><br></span></div><div><span style=3D"font-size:16px">Like much of RFCs 56=
61 and 7530, the paragraph in question</span></div><div><span style=3D"font=
-size:16px">was written without any consideration of issues related to=C2=
=A0</span></div><div><span style=3D"font-size:16px">transparent state migra=
tion.=C2=A0 Sigh!</span></div><div><span style=3D"font-size:16px"><br></spa=
n></div><div><span style=3D"font-size:16px">I think I have not been as expl=
icit about this as I should have been</span></div><div><span style=3D"font-=
size:16px">but, as we have started to address a number of migration-related=
 issues for</span></div><div><span style=3D"font-size:16px">NFSv4.1 it appe=
ars that we will need a standards-track document,</span></div><div><span st=
yle=3D"font-size:16px">updating RFC5661, paralleling RFC7931 for NFSv4.0.</=
span></div><div><span style=3D"font-size:16px"><br></span></div><div><span =
style=3D"font-size:16px">RFC7931 had a replacement SETCLIENTID description =
and it now=C2=A0</span></div><div><span style=3D"font-size:16px">appears=C2=
=A0</span><span style=3D"font-size:16px">that the new document will need a =
replacement for the</span></div><div><span style=3D"font-size:16px">EXCHANG=
E_ID =C2=A0</span><span style=3D"font-size:16px">description. =C2=A0 Coinci=
dence? .... =C2=A0or something=C2=A0</span></div><div><span style=3D"font-s=
ize:16px">else? :-)</span></div><div><span style=3D"font-size:16px"><br></s=
pan></div><div><span style=3D"font-size:16px">&gt; =C2=A0 The client uses t=
he EXCHANGE_ID operation to register a particular</span><br style=3D"font-s=
ize:16px"><span style=3D"font-size:16px">&gt; =C2=A0 client owner with the =
server.=C2=A0=C2=A0</span></div><div><span style=3D"font-size:16px"><br></s=
pan></div><div><span style=3D"font-size:16px">However, when the client_owne=
r has been already been registered</span></div><div><span style=3D"font-siz=
e:16px">by other means (e.g. transparent state migration), the client may s=
till</span></div><div><span style=3D"font-size:16px">use EXCHANGE_ID to obt=
ain the clientid assigned.previously.</span></div><div><span style=3D"font-=
size:16px"><br></span></div><div><span style=3D"font-size:16px">&gt; =C2=A0=
The client ID returned from this</span><br style=3D"font-size:16px"><span s=
tyle=3D"font-size:16px">&gt; =C2=A0 operation will be necessary for request=
s that create state on the</span><br style=3D"font-size:16px"><span style=
=3D"font-size:16px">&gt; =C2=A0 server and will serve as a parent object to=
 sessions created by the</span><br style=3D"font-size:16px"><span style=3D"=
font-size:16px">&gt; =C2=A0 client.=C2=A0=C2=A0</span></div><div><span styl=
e=3D"font-size:16px"><br></span></div><div><span style=3D"font-size:16px">O=
K.</span></div><div><span style=3D"font-size:16px"><br></span></div><div><s=
pan style=3D"font-size:16px">&gt; =C2=A0 In order to confirm the client ID =
it must first be used,</span><br style=3D"font-size:16px"><span style=3D"fo=
nt-size:16px">&gt; =C2=A0 along with the returned eir_sequenceid, as argume=
nts to</span><br style=3D"font-size:16px"><span style=3D"font-size:16px">&g=
t; =C2=A0 CREATE_SESSION.=C2=A0=C2=A0</span></div><div><span style=3D"font-=
size:16px"><br></span></div><div><span style=3D"font-size:16px">In situatio=
ns in which the registration of the clent_owner has not occurred=C2=A0</spa=
n></div><div><span style=3D"font-size:16px">previously ...</span></div><div=
><span style=3D"font-size:16px"><br></span></div><div><span style=3D"font-s=
ize:16px">&gt; If the flag EXCHGID4_FLAG_CONFIRMED_R is set in the</span><b=
r style=3D"font-size:16px"><span style=3D"font-size:16px">&gt; result, eir_=
flags, then eir_sequenceid MUST be ignored, as it has no</span><br style=3D=
"font-size:16px"><span style=3D"font-size:16px">&gt; =C2=A0relevancy.</span=
><span style=3D"font-size:16px"><br></span></div><div><span style=3D"font-s=
ize:16px"><br></span></div><div><span style=3D"font-size:16px">It is not ce=
ntral to my argument but I believe that the &quot;MUST&quot; is not in</spa=
n></div><div><span style=3D"font-size:16px">accord with RFC2119.=C2=A0 The =
point here is that if a CREATE_SESSION=C2=A0</span></div><div><span style=
=3D"font-size:16px">has been one, which this text assume is the case, that =
has already=C2=A0</span></div><div><span style=3D"font-size:16px">establish=
ed the proper sequence id to use.=C2=A0 This is explaning how the</span></d=
iv><div><span style=3D"font-size:16px">protocol works and not establishing =
an interoperability REQUIREMENT&gt;</span></div><div><span style=3D"font-si=
ze:16px"><br></span></div><div><span style=3D"font-size:16px">Anyway, I wou=
ld go on:</span></div><div><span style=3D"font-size:16px"><br></span></div>=
<blockquote style=3D"margin:0px 0px 0px 40px;border:none;padding:0px"><div>=
<span style=3D"font-size:16px">If the flag EXCHGID4_FLAG_CONFIRMED_R is set=
 in the</span><br style=3D"font-size:16px"><span style=3D"font-size:16px">r=
esult, eir_flags, then it is an indication that the the registration</span>=
<span style=3D"font-size:16px"><br></span></div></blockquote><blockquote st=
yle=3D"margin:0px 0px 0px 40px;border:none;padding:0px"><div><span style=3D=
"font-size:16px">of the client_owner has already occurred and that a furthe=
r</span></div></blockquote><blockquote style=3D"margin:0px 0px 0px 40px;bor=
der:none;padding:0px"><div><span style=3D"font-size:16px">CREATE_SESSION is=
 not =C2=A0needed to confirm it.=C2=A0 Of course,</span></div></blockquote>=
<blockquote style=3D"margin:0px 0px 0px 40px;border:none;padding:0px"><div>=
<span style=3D"font-size:16px">subsequent CREATE_SESSIONs may be needed for=
 other</span></div></blockquote><blockquote style=3D"margin:0px 0px 0px 40p=
x;border:none;padding:0px"><div><span style=3D"font-size:16px">reasons.</sp=
an></div><div><span style=3D"font-size:16px"><br></span></div></blockquote>=
<blockquote style=3D"margin:0px 0px 0px 40px;border:none;padding:0px"><div>=
<span style=3D"font-size:16px">The value eir_seqenceid is used to establish=
 an initial</span></div></blockquote><blockquote style=3D"margin:0px 0px 0p=
x 40px;border:none;padding:0px"><div><span style=3D"font-size:16px">sequenc=
e value associate with the clientid returned.=C2=A0 In cases</span></div></=
blockquote><blockquote style=3D"margin:0px 0px 0px 40px;border:none;padding=
:0px"><div><span style=3D"font-size:16px">in which a CREATE_SESSION has alr=
eady been done, there</span></div></blockquote><blockquote style=3D"margin:=
0px 0px 0px 40px;border:none;padding:0px"><div><span style=3D"font-size:16p=
x">is no need for this value, since sequencing of such request has=C2=A0</s=
pan></div></blockquote><blockquote style=3D"margin:0px 0px 0px 40px;border:=
none;padding:0px"><div><span style=3D"font-size:16px">already been establis=
hed and the client has no need for this</span></div></blockquote><blockquot=
e style=3D"margin:0px 0px 0px 40px;border:none;padding:0px"><div><span styl=
e=3D"font-size:16px">value and will ignore it.</span></div><div><span style=
=3D"font-size:16px"><br></span></div></blockquote><span style=3D"font-size:=
16px">&gt; The problem is the normative requirement in the last</span><br s=
tyle=3D"font-size:16px"><span style=3D"font-size:16px">&gt; sentence.=C2=A0=
</span><div><span style=3D"font-size:16px"><br></span></div><div><span styl=
e=3D"font-size:16px">I agree that this REQUIREMENT is a problem.</span></di=
v><div><span style=3D"font-size:16px"><br></span></div><div><span style=3D"=
font-size:16px">&gt; If CONFIRMED_R is set, a client is required</span><br =
style=3D"font-size:16px"><span style=3D"font-size:16px">&gt; to ignore the =
returned contrived slot sequence number.</span></div><div><br></div><div>Ac=
cording to RFC5661, yes.</div><div><br><span style=3D"font-size:16px">&gt; =
[ This is likely the reason that clients react to this</span><br style=3D"f=
ont-size:16px"><span style=3D"font-size:16px">&gt; flag by purging the leas=
e and starting over ].</span></div><div><span style=3D"font-size:16px"><br>=
</span></div><div><span style=3D"font-size:16px">I believe that the reason =
is that if the client thinks/knows a</span></div><div><span style=3D"font-s=
ize:16px">clientid is unconfirmed and he finds out that the server thinks</=
span></div><div><span style=3D"font-size:16px">otherwise, he figure somethi=
ng is <i>really </i>messed up, in which</span></div><div><span style=3D"fon=
t-size:16px">punting like this is to be preferred to a panic :-(<br></span>=
<div><br></div><div><span style=3D"font-size:16px">&gt; Our first thought w=
as to use the sequence number in the</span><br style=3D"font-size:16px"><sp=
an style=3D"font-size:16px">&gt; migrated lease (in other words, the sequen=
ce number that</span><br style=3D"font-size:16px"><span style=3D"font-size:=
16px">&gt; was established on the source server). A client knows</span><br =
style=3D"font-size:16px"><span style=3D"font-size:16px">&gt; that sequence =
number by looking at the lease it has with</span><br style=3D"font-size:16p=
x"><span style=3D"font-size:16px">&gt; the source server.</span></div><div>=
<br></div><div>In this case, you are moving over the single-slot=C2=A0</div=
><div>quasi-session associated with the client.</div><div><br style=3D"font=
-size:16px"><span style=3D"font-size:16px">&gt; However, there&#39;s no gua=
rantee that the client will not</span><br style=3D"font-size:16px"><span st=
yle=3D"font-size:16px">&gt; perform additional CREATE_SESSION operations ag=
ainst</span><br style=3D"font-size:16px"><span style=3D"font-size:16px">&gt=
; the source server between the time the source server</span><br style=3D"f=
ont-size:16px"><span style=3D"font-size:16px">&gt; copies the migrating lea=
se and the client starts trunking</span><br style=3D"font-size:16px"><span =
style=3D"font-size:16px">&gt; discovery for the destination server.</span><=
/div><div><br></div><div>True.=C2=A0 The client can hack around this by sta=
rting with=C2=A0</div><div>the last sequence he has and backing up =C2=A0if=
 it is too</div><div>high.=C2=A0 I&#39;d rather not go there, though.<br><b=
r style=3D"font-size:16px"><span style=3D"font-size:16px">&gt; Another thou=
ght was to use a well-known constant, like</span><br style=3D"font-size:16p=
x"><span style=3D"font-size:16px">&gt; zero, when creating the first sessio=
n on the destination</span><br style=3D"font-size:16px"><span style=3D"font=
-size:16px">&gt; server.</span><span style=3D"font-size:16px"><br></span></=
div><div><span style=3D"font-size:16px"><br></span></div><div><span style=
=3D"font-size:16px">That is probably the best option if you is committed to=
 respect</span></div><div><span style=3D"font-size:16px">the language of th=
e current RFC5661 requirement.=C2=A0 However,</span></div><div><span style=
=3D"font-size:16px">you would still need to revise the EXCHANGE_ID descript=
ion</span></div><div><span style=3D"font-size:16px">to provide a coherent d=
escription, in any case.</span></div><div><span style=3D"font-size:16px"><b=
r></span></div><div><span style=3D"font-size:16px">&gt; We&#39;ve establish=
ed that trunking discovery works correctly</span><br style=3D"font-size:16p=
x"><span style=3D"font-size:16px">&gt; when the destination server does not=
 assert CONFIRMED_R.</span></div><div><br></div><div>:-)</div><div><br><spa=
n style=3D"font-size:16px">&gt; This is because the client may use the cont=
rived slot</span><br style=3D"font-size:16px"><span style=3D"font-size:16px=
">&gt; sequence number provided by the destination server.</span></div><div=
><br></div><div>It&#39;s because he does use that slot sequence number.=C2=
=A0 To me, that is</div><div>an additional reason he should be allowed to d=
o so.<br><br style=3D"font-size:16px"><span style=3D"font-size:16px">&gt; I=
f the destination server does not assert CONFIRMED_R,</span><br style=3D"fo=
nt-size:16px"><span style=3D"font-size:16px">&gt; then how does the client =
determine whether Transparent</span><br style=3D"font-size:16px"><span styl=
e=3D"font-size:16px">&gt; State Migration has occurred? Can it simply start=
 using</span><br style=3D"font-size:16px"><span style=3D"font-size:16px">&g=
t; the open and lock state it has, and deal with BAD_STATEID</span><br styl=
e=3D"font-size:16px"><span style=3D"font-size:16px">&gt; if the servers did=
 not perform TSM?</span></div><div><br></div><div>I think that may be possi=
ble.=C2=A0 However, it is is ugly. =C2=A0if you have another way</div><div>=
to find out that state was transferred, you can look at the status bits fro=
m SEQUENCE,</div><div>and only worry about lost stateids when there is an i=
ndication =C2=A0that some</div><div>state was lost.<br><br style=3D"font-si=
ze:16px"><span style=3D"font-size:16px">&gt; Confirmation of the lease mean=
s more than just that it</span><br style=3D"font-size:16px"><span style=3D"=
font-size:16px">&gt; is present on the queried server</span></div><div><spa=
n style=3D"font-size:16px"><br></span></div><div><span style=3D"font-size:1=
6px">Confirmation means that the client is not uncertain about=C2=A0</span>=
</div><div><span style=3D"font-size:16px">whether it is exists.=C2=A0 Confi=
rmation=C2=A0by means of CREATE_SESSION</span><br><span style=3D"font-size:=
16px">is one way to do that, by making sure that the EXCHANGE_ID was</span>=
</div><div><span style=3D"font-size:16px">not a random retry, since abandon=
ed.=C2=A0</span></div><div><span style=3D"font-size:16px"><br></span></div>=
<div><span style=3D"font-size:16px">&gt; it also means there is</span><br s=
tyle=3D"font-size:16px"><span style=3D"font-size:16px">&gt; now a cached CR=
EATE_SESSION reply, and a known good</span><br style=3D"font-size:16px"><sp=
an style=3D"font-size:16px">&gt; contrived slot sequence number.=C2=A0</spa=
n></div><div><span style=3D"font-size:16px"><br></span></div><div><span sty=
le=3D"font-size:16px">In many situations, that is a reasonable inference bu=
 it doesn&#39;t</span></div><div><span style=3D"font-size:16px">change the =
meaning of &quot;confirmation&quot;.</span></div><div><span style=3D"font-s=
ize:16px"><br></span></div><div><span style=3D"font-size:16px">&gt; Neither=
 of those is true</span><br style=3D"font-size:16px"><span style=3D"font-si=
ze:16px">&gt; for a migrated lease when the client&#39;s sessions were not<=
/span><br style=3D"font-size:16px"><span style=3D"font-size:16px">&gt; also=
 migrated.</span></div><div><br></div><div>Yes, but I&#39;m not certain tha=
t both of these are true in the case in which the client&#39;s</div><div>se=
ssion are migrated.<br><br style=3D"font-size:16px"><span style=3D"font-siz=
e:16px">&gt; Thus we should consider that a migrated lease is really</span>=
<br style=3D"font-size:16px"><span style=3D"font-size:16px">&gt; not confir=
med at all,=C2=A0</span></div><div><span style=3D"font-size:16px"><br></spa=
n></div><div><span style=3D"font-size:16px">I consider it confirmed, but co=
nfirmed in a different manner.</span></div><div><span style=3D"font-size:16=
px"><br></span></div><div><span style=3D"font-size:16px">&gt; but in some i=
ntermediate state.</span></div><div><br></div><div>if it it were an interme=
diate state, there would be some way to get into=C2=A0</div><div>what you c=
all the confirmed state (and I would call the=C2=A0</div><div>confirmed-by-=
CREATE_SESSION state).=C2=A0 You could do that by dong</div><div>a CREATE_S=
ESSION if you knew the sequenceid but I don&#39;t see the</div><div>point i=
n explicating the fine structure of the various confirmed clientid</div><di=
v>sub-states.</div><div><br><span style=3D"font-size:16px">&gt; A more idea=
l solution would be to create an additional</span><br style=3D"font-size:16=
px"><span style=3D"font-size:16px">&gt; EXCHID4_FLAG that signifies the exi=
stence of a migrated</span><br style=3D"font-size:16px"><span style=3D"font=
-size:16px">&gt; lease for the querying client.</span></div><div><br></div>=
<div>If you were starting today (or had a time machine) you might do it tha=
t way.<br style=3D"font-size:16px"><br style=3D"font-size:16px"><br style=
=3D"font-size:16px"><span style=3D"font-size:16px">&gt; In sum, here are so=
me options we&#39;ve considered:</span><br style=3D"font-size:16px"><br sty=
le=3D"font-size:16px"><span style=3D"font-size:16px">&gt; 1a. destination a=
sserts CONF_R, but client uses the</span><br style=3D"font-size:16px"><span=
 style=3D"font-size:16px">&gt; returned contrived slot sequence anyway</spa=
n><br style=3D"font-size:16px"><br><br>My first choice.</div><div><br><span=
 style=3D"font-size:16px">&gt; 1b. destination asserts CONF_R, and client u=
ses a fixed</span><br style=3D"font-size:16px"><span style=3D"font-size:16p=
x">&gt; constant starting slot sequence</span><br style=3D"font-size:16px">=
<br>My second choice.</div><div><br><span style=3D"font-size:16px">&gt; 2. =
destination does not assert CONF_R, and client is</span><br style=3D"font-s=
ize:16px"><span style=3D"font-size:16px">&gt; prepared for BAD_STATEID if T=
SM did not occur</span></div><div><br></div><div>a real drag.<br style=3D"f=
ont-size:16px"><br style=3D"font-size:16px"><span style=3D"font-size:16px">=
&gt; 3. destination asserts a new EXCHID4_FLAG that signifies</span><br sty=
le=3D"font-size:16px"><span style=3D"font-size:16px">&gt; a TSM has made th=
e client&#39;s lease available on that</span><br style=3D"font-size:16px"><=
span style=3D"font-size:16px">&gt; server</span></div><div><br></div><div>U=
nfortunately, NFSv4.1 is not an extensible minor version.<br><br style=3D"f=
ont-size:16px"><span style=3D"font-size:16px">&gt; 4. NFSv4.1 TSM cannot oc=
cur unless the client&#39;s sessions</span><br style=3D"font-size:16px"><sp=
an style=3D"font-size:16px">&gt; are also migrated</span></div><div><br></d=
iv><div><br style=3D"font-size:16px"><span style=3D"font-size:16px">&gt; Ar=
e there others?</span></div></div><div><span style=3D"font-size:16px"><br><=
/span></div><div><span style=3D"font-size:16px">There are others but none c=
ome to mind right now.</span></div></div><div class=3D"gmail_extra"><br><di=
v class=3D"gmail_quote">On Mon, Apr 17, 2017 at 2:45 PM, Chuck Lever <span =
dir=3D"ltr">&lt;<a href=3D"mailto:chuck.lever@oracle.com" target=3D"_blank"=
>chuck.lever@oracle.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex"><span class=3D""><br>
&gt; On Mar 9, 2017, at 2:00 PM, David Noveck &lt;<a href=3D"mailto:davenov=
eck@gmail.com">davenoveck@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; I&#39;m not certain what you mean by &quot;handled ... as it<br>
&gt; &gt; would have been in 4.0&quot;. Server trunking discovery in<br>
&gt; &gt; NFSv4.0 requires an elaborate dance. In NFSv4.1,<br>
&gt; &gt; trunking discovery can be done by a single operation<br>
&gt; &gt; (EXCHANGE_ID).<br>
&gt;<br>
&gt; What I meant was that, apart from the greater<br>
&gt; calories expended in v4.0 case, the result should have<br>
&gt; been the same, i.e. that there is no trunking.<br>
&gt;<br>
&gt; &gt; I&#39;m speculating that if the server hadn&#39;t asserted<br>
&gt; &gt; CONFIRMED_R, this client could have recovered<br>
&gt; &gt; correctly from the migration event. Is that what you<br>
&gt; &gt; mean?<br>
&gt;<br>
&gt; It wasn&#39;t what I meant, but, now that you say it, I think is<br>
&gt; probably right.<br>
<br>
</span>We&#39;ve explored this mechanism a little more, and now we seem<br>
to be hamstrung on the first paragraph of RFC 5661, Section<br>
18.35.3:<br>
<br>
=C2=A0 =C2=A0The client uses the EXCHANGE_ID operation to register a partic=
ular<br>
=C2=A0 =C2=A0client owner with the server.=C2=A0 The client ID returned fro=
m this<br>
=C2=A0 =C2=A0operation will be necessary for requests that create state on =
the<br>
=C2=A0 =C2=A0server and will serve as a parent object to sessions created b=
y the<br>
=C2=A0 =C2=A0client.=C2=A0 In order to confirm the client ID it must first =
be used,<br>
=C2=A0 =C2=A0along with the returned eir_sequenceid, as arguments to<br>
=C2=A0 =C2=A0CREATE_SESSION.=C2=A0 If the flag EXCHGID4_FLAG_CONFIRMED_R is=
 set in the<br>
=C2=A0 =C2=A0result, eir_flags, then eir_sequenceid MUST be ignored, as it =
has no<br>
=C2=A0 =C2=A0relevancy.<br>
<br>
The problem is the normative requirement in the last<br>
sentence. If CONFIRMED_R is set, a client is required<br>
to ignore the returned contrived slot sequence number.<br>
[ This is likely the reason that clients react to this<br>
flag by purging the lease and starting over ].<br>
<br>
Our first thought was to use the sequence number in the<br>
migrated lease (in other words, the sequence number that<br>
was established on the source server). A client knows<br>
that sequence number by looking at the lease it has with<br>
the source server.<br>
<br>
However, there&#39;s no guarantee that the client will not<br>
perform additional CREATE_SESSION operations against<br>
the source server between the time the source server<br>
copies the migrating lease and the client starts trunking<br>
discovery for the destination server.<br>
<br>
Another thought was to use a well-known constant, like<br>
zero, when creating the first session on the destination<br>
server.<br>
<br>
What sequence number should be used for the first<br>
CREATE_SESSSION with the destination server? If it is<br>
the copied sequence number, what can prevent mutation<br>
of that sequence number while migration of that lease<br>
is not yet complete?<br>
<br>
We&#39;ve established that trunking discovery works correctly<br>
when the destination server does not assert CONFIRMED_R.<br>
This is because the client may use the contrived slot<br>
sequence number provided by the destination server.<br>
<br>
If the destination server does not assert CONFIRMED_R,<br>
then how does the client determine whether Transparent<br>
State Migration has occurred? Can it simply start using<br>
the open and lock state it has, and deal with BAD_STATEID<br>
if the servers did not perform TSM?<br>
<br>
<br>
Confirmation of the lease means more than just that it<br>
is present on the queried server: it also means there is<br>
now a cached CREATE_SESSION reply, and a known good<br>
contrived slot sequence number. Neither of those is true<br>
for a migrated lease when the client&#39;s sessions were not<br>
also migrated.<br>
<br>
Thus we should consider that a migrated lease is really<br>
not confirmed at all, but in some intermediate state.<br>
A more ideal solution would be to create an additional<br>
EXCHID4_FLAG that signifies the existence of a migrated<br>
lease for the querying client.<br>
<br>
<br>
In sum, here are some options we&#39;ve considered:<br>
<br>
1a. destination asserts CONF_R, but client uses the<br>
returned contrived slot sequence anyway<br>
<br>
1b. destination asserts CONF_R, and client uses a fixed<br>
constant starting slot sequence<br>
<br>
2. destination does not assert CONF_R, and client is<br>
prepared for BAD_STATEID if TSM did not occur<br>
<br>
3. destination asserts a new EXCHID4_FLAG that signifies<br>
a TSM has made the client&#39;s lease available on that<br>
server<br>
<br>
4. NFSv4.1 TSM cannot occur unless the client&#39;s sessions<br>
are also migrated<br>
<br>
Are there others?<br>
<br>
--<br>
Chuck Lever<br>
<br>
<br>
<br>
</blockquote></div><br></div>

--001a113ed55a464dab054d75f136--


From nobody Tue Apr 18 15:31:47 2017
Return-Path: <karen.deitke@oracle.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 D2F3E1314BA for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 15:31:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 JBhmMdjcQgEv for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 15:31:43 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B0DE11292F5 for <nfsv4@ietf.org>; Tue, 18 Apr 2017 15:31:43 -0700 (PDT)
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3IMVgQD007159 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Tue, 18 Apr 2017 22:31:43 GMT
Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v3IMVgQV013426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Tue, 18 Apr 2017 22:31:42 GMT
Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3IMVg9i027661 for <nfsv4@ietf.org>; Tue, 18 Apr 2017 22:31:42 GMT
Received: from [10.159.95.63] (/10.159.95.63) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 18 Apr 2017 15:31:42 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com>
From: karen deitke <karen.deitke@oracle.com>
Organization: Oracle Corporation
Message-ID: <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com>
Date: Tue, 18 Apr 2017 16:32:09 -0600
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------E99B78258F729D41B3ADA333"
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/csdzvGzCyhqqGGNc0mRnL6uKqAY>
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: Tue, 18 Apr 2017 22:31:46 -0000

This is a multi-part message in MIME format.
--------------E99B78258F729D41B3ADA333
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Hi Chuck, its unclear what you mean by "is prepared to process" in the text below.
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*
> Giventhat 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


--------------E99B78258F729D41B3ADA333
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <pre class="newpage">Hi Chuck, its unclear what you mean by "is prepared to process" in the text below. 
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.

</pre>
    <br>
    <div class="moz-cite-prefix">On 4/18/2017 1:21 PM, David Noveck
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com"
      type="cite">
      <div dir="ltr"><font size="4"><b>Overall Evaluation</b></font>
        <div><font size="4"><b><br>
            </b></font></div>
        <div>Major improvement over RFC5667.  Almost ready to ship.  No
          technical issues.</div>
        <div><br>
        </div>
        <div>A lot of my comments are basically editorial and are
          offered on a take-it-or-lease-it basis.</div>
        <div><br>
        </div>
        <div>I think some clarification in Section 5.4.1 is needed
          although not necessarily in the ways suggested below, </div>
        <div><br>
        </div>
        <div><font size="4"><b>Comments by Section</b></font></div>
        <div>
          <pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif"><b>5.4.1.  Multiple DDP-eligible Data Items</b></font></pre>
          <pre style="word-wrap:break-word"><font face="arial, helvetica, sans-serif" color="#000000"><span style="white-space:pre-wrap">Given</span></font><font style="color:rgb(0,0,0);white-space:pre-wrap" face="arial, helvetica, sans-serif"> 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.</font></pre>
          <pre style="word-wrap:break-word"><font face="arial, helvetica, sans-serif"><font color="#000000"><span style="white-space:pre-wrap">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:</span></font></font></pre>
        </div>
        <blockquote style="margin:0px 0px 0px
          40px;border:none;padding:0px">
          <pre style="word-wrap:break-word"><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">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</font>.</pre></pre>
        </blockquote>
        <font face="arial, helvetica, sans-serif" color="#000000"><span style="white-space:pre-wrap">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.</span></font>
        <blockquote style="margin:0px 0px 0px
          40px;border:none;padding:0px">
          <pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">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]. </font><font face="arial, helvetica, sans-serif">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</font><span style="font-family:arial,sans-serif">.</span></pre>
        </blockquote>
        <pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif"><b>5.6.  Session-Related Considerations</b></font></pre>
        <pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">In the third sentence of the second paragraph, suggest replacing "no different" by "not different".</font></pre>
        <pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><pre style="word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">In the last sentence of the last  paragraph, suggest replacing "is not" by "were not"</font></pre></pre>
        <div><font face="arial, helvetica, sans-serif" color="#000000"><span style="white-space:pre-wrap">
</span></font></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
nfsv4 mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nfsv4@ietf.org">nfsv4@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/nfsv4">https://www.ietf.org/mailman/listinfo/nfsv4</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------E99B78258F729D41B3ADA333--


From nobody Tue Apr 18 20:09:27 2017
Return-Path: <tom@talpey.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 4951812EBD1 for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 20:09:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 1FfnLWGiDtTv for <nfsv4@ietfa.amsl.com>; Tue, 18 Apr 2017 20:09:23 -0700 (PDT)
Received: from p3plsmtpa12-03.prod.phx3.secureserver.net (p3plsmtpa12-03.prod.phx3.secureserver.net [68.178.252.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8DD4712708C for <nfsv4@ietf.org>; Tue, 18 Apr 2017 20:09:23 -0700 (PDT)
Received: from [192.168.0.56] ([24.218.182.144]) by :SMTPAUTH: with SMTP id 0fzAdpcAWBs8Z0fzAdarSv; Tue, 18 Apr 2017 20:08:52 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com>
From: Tom Talpey <tom@talpey.com>
Message-ID: <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com>
Date: Tue, 18 Apr 2017 23:08:52 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfMJlKeRSn7SChO9w5hfRMTDhoAFPkTpwlt5JTCAdVl+i6sQ6HozwaCtLdxlZK/uixdyCNqdcig6Vk7UKtB7KSORkzdSAR53Qp9xGESGIwhwem3GZalbE crrT6FwmHIUAEkI4l/BdLKa6SDNQk+I34vMLmhBX1zRXlVd//R6f/qj+
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/LWx5l3DTgvf8Nfnf4ANFF2uhr1k>
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 03:09:25 -0000

I noticed the same thing, and I'll add that the MUST reject condition
is very confusing because it allows an "or". In my opinion a MUST is
always a single requirement, never ambiguous.

Is there some reason you want to allow such a choice? I think you'll
find that, worded properly, it becomes actually much less implementable
and interoperable than you may think.

Tom.

On 4/18/2017 6:32 PM, karen deitke wrote:
> Hi Chuck, its unclear what you mean by "is prepared to process" in the text below.
> 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*
>> Giventhat 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
>


From nobody Wed Apr 19 08:14:31 2017
Return-Path: <chuck.lever@oracle.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 4D53C129AEA for <nfsv4@ietfa.amsl.com>; Wed, 19 Apr 2017 08:14:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level: 
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 7UPiW6wYcXUQ for <nfsv4@ietfa.amsl.com>; Wed, 19 Apr 2017 08:14:27 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9A25E1201FA for <nfsv4@ietf.org>; Wed, 19 Apr 2017 08:14:25 -0700 (PDT)
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3JFENwf021139 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 19 Apr 2017 15:14:23 GMT
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v3JFENlA029074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 19 Apr 2017 15:14:23 GMT
Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v3JFEMVh023331; Wed, 19 Apr 2017 15:14:23 GMT
Received: from anon-dhcp-171.1015granger.net (/68.46.169.226) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 19 Apr 2017 08:14:22 -0700
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com>
Date: Wed, 19 Apr 2017 11:14:21 -0400
Cc: nfsv4@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com>
To: Tom Talpey <tom@talpey.com>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: userv0021.oracle.com [156.151.31.71]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/9xTN3LcSvlRurithRZQd7EOuk0I>
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:14:29 -0000

Hi Tom-

> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>=20
> I noticed the same thing, and I'll add that the MUST reject condition
> is very confusing because it allows an "or". In my opinion a MUST is
> always a single requirement, never ambiguous.

I agree this kind of thing is tricky. I wrote it as "the server MUST
reject the RPC". That's the single requirement. The choice is how the
rejection is conveyed to the client.


> Is there some reason you want to allow such a choice? I think you'll
> find that, worded properly, it becomes actually much less =
implementable
> and interoperable than you may think.

The Solaris server can return an RPC-level error in cases like this.
I think there are similar choices allowed in rfc5666bis. Let's say
that in a perfect world, I would go with only ERR_CHUNK, but I'm
documenting existing implementation behavior here.

I'm not sure it matters to the client: both errors are permanent and
the RPC is terminated on the client.

I'm open to alternatives.


> Tom.
>=20
> On 4/18/2017 6:32 PM, karen deitke wrote:
>> Hi Chuck, its unclear what you mean by "is prepared to process" in =
the text below.
>> Other than that, looks good.
>>=20
>> Karen
>>=20
>> 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.
>>=20
>>=20
>>   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.
>>=20
>>=20
>> On 4/18/2017 1:21 PM, David Noveck wrote:
>>> *Overall Evaluation*
>>> *
>>> *
>>> Major improvement over RFC5667.  Almost ready to ship.  No technical
>>> issues.
>>>=20
>>> A lot of my comments are basically editorial and are offered on a
>>> take-it-or-lease-it basis.
>>>=20
>>> I think some clarification in Section 5.4.1 is needed although not
>>> necessarily in the ways suggested below,
>>>=20
>>> *Comments by Section*
>>> *5.4.1. Multiple DDP-eligible Data Items*
>>> Giventhat 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:
>>>=20
>>>    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.
>>>=20
>>> 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.
>>>=20
>>>    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.
>>>=20
>>> *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"
>>>=20
>>>=20
>>> _______________________________________________
>>> nfsv4 mailing list
>>> nfsv4@ietf.org
>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>=20
>>=20
>>=20
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
>>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

--
Chuck Lever




From nobody Wed Apr 19 08:18:12 2017
Return-Path: <chuck.lever@oracle.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 0A2EA129513 for <nfsv4@ietfa.amsl.com>; Wed, 19 Apr 2017 08:18:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level: 
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 8BQ26yI80Nbz for <nfsv4@ietfa.amsl.com>; Wed, 19 Apr 2017 08:18:06 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CE75B1201FA for <nfsv4@ietf.org>; Wed, 19 Apr 2017 08:18:06 -0700 (PDT)
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3JFI5lY026870 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Wed, 19 Apr 2017 15:18:06 GMT
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v3JFI5Ot027283 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Wed, 19 Apr 2017 15:18:05 GMT
Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v3JFI5VE025720 for <nfsv4@ietf.org>; Wed, 19 Apr 2017 15:18:05 GMT
Received: from anon-dhcp-171.1015granger.net (/68.46.169.226) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 19 Apr 2017 08:18:04 -0700
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com>
Date: Wed, 19 Apr 2017 11:18:04 -0400
Cc: nfsv4@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <F23EE00E-1EA4-430F-B9C2-7B81C0C9CB86@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com>
To: karen deitke <karen.deitke@oracle.com>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: aserv0022.oracle.com [141.146.126.234]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/pbweuG3LmP0nr4oa-suzP1fEWsU>
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:18:10 -0000

Hi Karen-


> On Apr 18, 2017, at 6:32 PM, karen deitke <karen.deitke@oracle.com> =
wrote:
>=20
> Hi Chuck, its unclear what you mean by "is prepared to process" in the =
text below.=20

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.
>=20
> Karen
>=20
>  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.
>   =20
>=20
>    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.
>=20
>=20
>=20
> On 4/18/2017 1:21 PM, David Noveck wrote:
>> Overall Evaluation
>>=20
>> Major improvement over RFC5667.  Almost ready to ship.  No technical =
issues.
>>=20
>> A lot of my comments are basically editorial and are offered on a =
take-it-or-lease-it basis.
>>=20
>> I think some clarification in Section 5.4.1 is needed although not =
necessarily in the ways suggested below,=20
>>=20
>> 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"
>>=20
>>=20
>>=20
>> _______________________________________________
>> nfsv4 mailing list
>>=20
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

--
Chuck Lever




From nobody Wed Apr 19 08:24:55 2017
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

--001a11404158142d84054d86a050
Content-Type: text/plain; charset=UTF-8

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
>

--001a11404158142d84054d86a050
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">My interpretation was that, since chunks direct the placem=
ent of DDP-eligible data items, the error was to be returned in cases in wh=
ich the server was unable to obtain or return the data item, in the fashion=
 specified by rfc5666bis. =C2=A0=C2=A0</div><div class=3D"gmail_extra"><br>=
<div class=3D"gmail_quote">On Wed, Apr 19, 2017 at 11:18 AM, Chuck Lever <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:chuck.lever@oracle.com" target=3D"_bl=
ank">chuck.lever@oracle.com</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">Hi Karen-<br>
<span class=3D""><br>
<br>
&gt; On Apr 18, 2017, at 6:32 PM, karen deitke &lt;<a href=3D"mailto:karen.=
deitke@oracle.com">karen.deitke@oracle.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Chuck, its unclear what you mean by &quot;is prepared to process&qu=
ot; in the text below.<br>
<br>
</span>Fair enough, that&#39;s an awkward turn of phrase, and I had some<br=
>
difficulty coming up with the right language.<br>
<br>
Suppose this limit is based on what&#39;s in the COMPOUND? Like the<br>
server supports 6 Read chunks for WRITE operations, but only 1<br>
Read chunk for SYMLINK operations?<br>
<br>
Can you give some alternatives? That would help me understand<br>
what other readers find ambiguous.<br>
<div><div class=3D"h5"><br>
<br>
&gt; Other than that, looks good.<br>
&gt;<br>
&gt; Karen<br>
&gt;<br>
&gt;=C2=A0 5.4.1<br>
&gt;=C2=A0 =C2=A0 If an NFS version 4 client sends an RPC Call with a Write=
 list that<br>
&gt;=C2=A0 =C2=A0 contains more chunks than an NFS version 4 server is prep=
ared to<br>
&gt;=C2=A0 =C2=A0 process, the server MUST reject the RPC by responding wit=
h an<br>
&gt;=C2=A0 =C2=A0 RDMA_ERROR message with the rdma_err value set to ERR_CHU=
NK.<br>
&gt;<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 If an NFS version 4 client sends an RPC Call with a Read =
list that<br>
&gt;=C2=A0 =C2=A0 contains more chunks than an NFS version 4 server is prep=
ared to<br>
&gt;=C2=A0 =C2=A0 process, the server MUST reject the RPC by responding wit=
h an<br>
&gt;=C2=A0 =C2=A0 RDMA_MSG message containing an RPC Reply with an accept s=
tatus of<br>
&gt;=C2=A0 =C2=A0 GARBAGE_ARGS, or with an RDMA_ERROR message with the rdma=
_err value<br>
&gt;=C2=A0 =C2=A0 set to ERR_CHUNK.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On 4/18/2017 1:21 PM, David Noveck wrote:<br>
&gt;&gt; Overall Evaluation<br>
&gt;&gt;<br>
&gt;&gt; Major improvement over RFC5667.=C2=A0 Almost ready to ship.=C2=A0 =
No technical issues.<br>
&gt;&gt;<br>
&gt;&gt; A lot of my comments are basically editorial and are offered on a =
take-it-or-lease-it basis.<br>
&gt;&gt;<br>
&gt;&gt; I think some clarification in Section 5.4.1 is needed although not=
 necessarily in the ways suggested below,<br>
&gt;&gt;<br>
&gt;&gt; Comments by Section<br>
&gt;&gt; 5.4.1.=C2=A0 Multiple DDP-eligible Data Items<br>
&gt;&gt; Given that READ_PLUS no longer has any DDP-eligible data items, th=
e situation described in the fifth bullet can no longer arise.=C2=A0 I sugg=
est deleting the bullet.<br>
&gt;&gt; The penultimate paragraph can be read as applying to some situatio=
ns in which it shouldn&#39;t and where the extra chunks would very naturall=
y ignored.=C2=A0 For example, if you had on write chunk together with a REA=
D operation which failed, the server would have more chunks (i.e. one) than=
 the number it is prepared to process (i.e. zero).=C2=A0 Suggest, as a poss=
ible replacement:<br>
&gt;&gt; Normally, when an NFS version 4 client sends an RPC Call with a Wr=
ite 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].=C2=A0 When there are DDP-eligible =
data items matched to write chunks that an NFS version 4 server is not prep=
ared to process, the server MUST reject the RPC=C2=A0 by responding with an=
 RDMA_ERROR message with the rdma_err value set to ERR_CHUNK.<br>
&gt;&gt; With regard to the last paragraph, I am curious that this paragrap=
h, unlike the previous one, allows GARBGEARGS.=C2=A0 Is this so because tha=
t would be allowed if the chunks in question had offsets other than those t=
hat correspond to DDP-eligible data items?=C2=A0 If so, please consider the=
 following possible replacement.<br>
&gt;&gt; Normally, when an NFS version 4 client sends an RPC Call with a Re=
ad list that contains multiple chunks, each such, when properly matched wit=
h 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-elig=
ible data items matched to read chunks that an NFS version 4 server is not =
prepared to process, the server MUST reject the RPC=C2=A0 by responding wit=
h an RDMA_ERROR message with the rdma_err value set to ERR_CHUNK.<br>
&gt;&gt; 5.6.=C2=A0 Session-Related Considerations<br>
&gt;&gt; In the third sentence of the second paragraph, suggest replacing &=
quot;no different&quot; by &quot;not different&quot;.<br>
&gt;&gt; In the last sentence of the last=C2=A0 paragraph, suggest replacin=
g &quot;is not&quot; by &quot;were not&quot;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;<br>
&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"nor=
eferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4=
</a><br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; nfsv4 mailing list<br>
&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"norefer=
rer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4</a>=
<br>
<br>
</div></div>--<br>
Chuck Lever<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4</a><br>
</div></div></blockquote></div><br></div>

--001a11404158142d84054d86a050--


From nobody Wed Apr 19 08:44:21 2017
Return-Path: <chucklever@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 15F39129B14 for <nfsv4@ietfa.amsl.com>; Wed, 19 Apr 2017 08:44:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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, 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 8Rbeyc9mQ5sA for <nfsv4@ietfa.amsl.com>; Wed, 19 Apr 2017 08:44:14 -0700 (PDT)
Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (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 9F9A1128BBB for <nfsv4@ietf.org>; Wed, 19 Apr 2017 08:44:14 -0700 (PDT)
Received: by mail-io0-x231.google.com with SMTP id a103so26143987ioj.1 for <nfsv4@ietf.org>; Wed, 19 Apr 2017 08:44:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=/cNP9vPrUz5yV25pGDnK9DiELqDAc9gMJsewWB9/5Hc=; b=dsN5QiuSM8db7wuhZfcGXGB4DUN6WVEwHim5Uh/zfVpPfsXcO4+Kbl/yYSL7NNGhIJ bA0YA/Nh54Z3D+4VeD0f2Yte0NIrFNMvNvy4SvKKJjUsniD8RNKspOXCG5grgcBdgiXt 16NhtxwYJi298sjoBrO4KUtOD9TKNGN/+JsPpsXgKsB55WNyGeiKuOUrNsK+FkEyWT6F w/lcC9xLtl8E4yWzgRbOpg3SIRE3BQMIulzxa9CvE9+MeV4y6ddrq2H6HT6VzKA4Bvgs h4I5Hr19N+VQWqIe38pihu4GUaUfM4oS0drVwbHQpiYHQd+ZARc8yckD3RZsm0DrJX71 0xIw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=/cNP9vPrUz5yV25pGDnK9DiELqDAc9gMJsewWB9/5Hc=; b=B2SrIfUcG1fiq5twbfHdXnoF5yGhtdsL/XoR3W4V5yfC8BKw/zsTMn7Q3Ob92tYTiC JmgWc3JdokXMCbyOCQyyQy6RPzCDQ8KCjjyrXERo4ORKHlmvt6u1wY7hlBkvrlb5VK8j ykQfei8xXnsxbQ5zz1RLK+BeUwypuhg0GD1BWkP7Orz7cjgfzxRa26KmVk/qFYyW8cm1 wMAQTcDyWA4I37TcKhIT3XkL0QFfYgjQl1zzF1k3vB9wgo9PMVXZgtGMKuM7XRzxGmBN amsGppUbTJcqtAV82/rbtoLjZ0R4YuEqmcjVdbc0If/XVy3DxKVGoHfhAS0yDc9Xx50u NXFg==
X-Gm-Message-State: AN3rC/6ac+ioE9BYT6AOwMCDrx6Bj4gAN2OBMc84KEa/+lhFZ5lNnTsJ gY2t3H+3qjeumiNDlEI=
X-Received: by 10.107.130.211 with SMTP id m80mr3635277ioi.27.1492616653881; Wed, 19 Apr 2017 08:44:13 -0700 (PDT)
Received: from anon-dhcp-171.1015granger.net (c-68-46-169-226.hsd1.mi.comcast.net. [68.46.169.226]) by smtp.gmail.com with ESMTPSA id t69sm1486728ioi.54.2017.04.19.08.44.13 for <nfsv4@ietf.org> (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 19 Apr 2017 08:44:13 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chucklever@gmail.com>
In-Reply-To: <20170415034907.GO30306@kduck.kaduk.org>
Date: Wed, 19 Apr 2017 11:44:12 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <DFAC420B-6715-468B-BE90-14FEB9ED9012@gmail.com>
References: <CAFt6BakDUWqhiB-4dFmvoBFDM2GFST25pp8BMuM6n+8mgrOU0A@mail.gmail.com> <CAFt6Bak5X8fAY6GgCyeZO_dCe-s=t_POnM43ZVR=eyzzQiAVGw@mail.gmail.com> <28BA50D3-1A64-4914-B918-B834F23FB342@gmail.com> <20170415034907.GO30306@kduck.kaduk.org>
To: "nfsv4@ietf.org" <nfsv4@ietf.org>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/xB6uEsDtUnN-yQ9T4_fGgMf8KxM>
Subject: Re: [nfsv4] Last call for draft-ietf-nfsv4-rfc5667bis-09 - ends May 5th
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:44:17 -0000

> On Apr 14, 2017, at 11:49 PM, Benjamin Kaduk <kaduk@MIT.EDU> wrote:
>=20
> On Fri, Apr 14, 2017 at 03:03:13PM -0400, Chuck Lever wrote:
>> Hello all-
>>=20
>>> On Apr 14, 2017, at 2:44 PM, spencer shepler =
<spencer.shepler@gmail.com> wrote:
>>>=20
>>>=20
>>> Apologies but there seems to be an issue with the html'ized version =
of the document.
>>=20
>> I submitted only an XML version. The HTML version is generated by the
>> datatracker automatically. I'm not sure whom to poke to get this
>> corrected.
>=20
> It's probably worth asking on tools-discuss@ietf.org
> (https://www.ietf.org/mailman/listinfo/tools-discuss).
>=20
> There was a datatracker update that went out in the past day or two,
> and the changelog indicated something affecting the display of
> HTMLized documents.

I don't see any problems now when clicking on the "HTML" format
button. If anyone is still having an issue, please contact me
privately and I will reach out to tools-discuss for a resolution.


--
Chuck Lever
chucklever@gmail.com




From nobody Wed Apr 19 09:16:13 2017
Return-Path: <chuck.lever@oracle.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 312361287A7 for <nfsv4@ietfa.amsl.com>; Wed, 19 Apr 2017 09:16:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level: 
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
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 tXGTOqA3WgrX for <nfsv4@ietfa.amsl.com>; Wed, 19 Apr 2017 09:16:10 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4230F128896 for <nfsv4@ietf.org>; Wed, 19 Apr 2017 09:09:19 -0700 (PDT)
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3JG9HG1006007 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 19 Apr 2017 16:09:17 GMT
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v3JG9HxU021001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 19 Apr 2017 16:09:17 GMT
Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v3JG9GsD026814; Wed, 19 Apr 2017 16:09:17 GMT
Received: from anon-dhcp-171.1015granger.net (/68.46.169.226) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 19 Apr 2017 09:09:16 -0700
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <CADaq8jeuPQfUNM-QH2jEKuMRSjsEwWQU_0ZBVJH0KDU7-vipmQ@mail.gmail.com>
Date: Wed, 19 Apr 2017 12:09:15 -0400
Cc: NFSv4 <nfsv4@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <0C02F2F9-A202-45A7-844B-55CA6D308CCC@oracle.com>
References: <ED0D48EE-4618-4E07-B97F-8320C77CF1EC@oracle.com> <CADaq8jfHAF6+2AfuRGr2a=D0FX96YAVu=gGJTqGwSvhXCbntfg@mail.gmail.com> <BADB9283-3B08-49DD-A2E2-5C0C20054C45@oracle.com> <CADaq8jfhxcGqJd0U40JkyT9eT+hj24dovMmqFUtkSic_b08jDg@mail.gmail.com> <213DBA50-FB48-4B48-A177-22C2B6879D49@oracle.com> <CADaq8jeuPQfUNM-QH2jEKuMRSjsEwWQU_0ZBVJH0KDU7-vipmQ@mail.gmail.com>
To: David Noveck <davenoveck@gmail.com>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: userv0021.oracle.com [156.151.31.71]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/D30WINMYWGOURbbQKLUE_AEHwT4>
Subject: Re: [nfsv4] Preventing an NFSv4.1 client from destroying a migrated lease after TSM
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 16:16:12 -0000

> On Apr 18, 2017, at 3:30 PM, David Noveck <davenoveck@gmail.com> =
wrote:
>=20
> To avoid burying the lead, I'll respond waaay out of order:
>=20
> > In sum, here are some options we've considered:
>=20
> > 1a. destination asserts CONF_R, but client uses the
> > returned contrived slot sequence anyway
>=20
> Clearly, migration-issues-13 needs to take account of this issue.
> I believe 1a is the best choice and will explain why below.
>=20
> > We've explored this mechanism a little more, and now we seem
> > to be hamstrung on the first paragraph of RFC 5661, Section
> > 18.35.3:
>=20
> Like much of RFCs 5661 and 7530, the paragraph in question
> was written without any consideration of issues related to=20
> transparent state migration.  Sigh!
>=20
> I think I have not been as explicit about this as I should have been
> but, as we have started to address a number of migration-related =
issues for
> NFSv4.1 it appears that we will need a standards-track document,
> updating RFC5661, paralleling RFC7931 for NFSv4.0.
>=20
> RFC7931 had a replacement SETCLIENTID description and it now=20
> appears that the new document will need a replacement for the
> EXCHANGE_ID  description.   Coincidence? ....  or something=20
> else? :-)
>=20
> >   The client uses the EXCHANGE_ID operation to register a particular
> >   client owner with the server. =20
>=20
> However, when the client_owner has been already been registered
> by other means (e.g. transparent state migration), the client may =
still
> use EXCHANGE_ID to obtain the clientid assigned.previously.
>=20
> >  The client ID returned from this
> >   operation will be necessary for requests that create state on the
> >   server and will serve as a parent object to sessions created by =
the
> >   client. =20
>=20
> OK.
>=20
> >   In order to confirm the client ID it must first be used,
> >   along with the returned eir_sequenceid, as arguments to
> >   CREATE_SESSION. =20
>=20
> In situations in which the registration of the clent_owner has not =
occurred=20
> previously ...
>=20
> > If the flag EXCHGID4_FLAG_CONFIRMED_R is set in the
> > result, eir_flags, then eir_sequenceid MUST be ignored, as it has no
> >  relevancy.
>=20
> It is not central to my argument but I believe that the "MUST" is not =
in
> accord with RFC2119.  The point here is that if a CREATE_SESSION=20
> has been one, which this text assume is the case, that has already=20
> established the proper sequence id to use.  This is explaning how the
> protocol works and not establishing an interoperability REQUIREMENT>
>=20
> Anyway, I would go on:
>=20
> If the flag EXCHGID4_FLAG_CONFIRMED_R is set in the
> result, eir_flags, then it is an indication that the the registration
> of the client_owner has already occurred and that a further
> CREATE_SESSION is not  needed to confirm it.  Of course,
> subsequent CREATE_SESSIONs may be needed for other
> reasons.
>=20
> The value eir_seqenceid is used to establish an initial
> sequence value associate with the clientid returned.  In cases
> in which a CREATE_SESSION has already been done, there
> is no need for this value, since sequencing of such request has=20
> already been established and the client has no need for this
> value and will ignore it.
>=20
> > The problem is the normative requirement in the last
> > sentence.=20
>=20
> I agree that this REQUIREMENT is a problem.
>=20
> > If CONFIRMED_R is set, a client is required
> > to ignore the returned contrived slot sequence number.
>=20
> According to RFC5661, yes.
>=20
> > [ This is likely the reason that clients react to this
> > flag by purging the lease and starting over ].
>=20
> I believe that the reason is that if the client thinks/knows a
> clientid is unconfirmed and he finds out that the server thinks
> otherwise, he figure something is really messed up, in which
> punting like this is to be preferred to a panic :-(
>=20
> > Our first thought was to use the sequence number in the
> > migrated lease (in other words, the sequence number that
> > was established on the source server). A client knows
> > that sequence number by looking at the lease it has with
> > the source server.
>=20
> In this case, you are moving over the single-slot=20
> quasi-session associated with the client.
>=20
> > However, there's no guarantee that the client will not
> > perform additional CREATE_SESSION operations against
> > the source server between the time the source server
> > copies the migrating lease and the client starts trunking
> > discovery for the destination server.
>=20
> True.  The client can hack around this by starting with=20
> the last sequence he has and backing up  if it is too
> high.  I'd rather not go there, though.
>=20
> > Another thought was to use a well-known constant, like
> > zero, when creating the first session on the destination
> > server.
>=20
> That is probably the best option if you is committed to respect
> the language of the current RFC5661 requirement.  However,
> you would still need to revise the EXCHANGE_ID description
> to provide a coherent description, in any case.
>=20
> > We've established that trunking discovery works correctly
> > when the destination server does not assert CONFIRMED_R.
>=20
> :-)
>=20
> > This is because the client may use the contrived slot
> > sequence number provided by the destination server.
>=20
> It's because he does use that slot sequence number.  To me, that is
> an additional reason he should be allowed to do so.
>=20
> > If the destination server does not assert CONFIRMED_R,
> > then how does the client determine whether Transparent
> > State Migration has occurred? Can it simply start using
> > the open and lock state it has, and deal with BAD_STATEID
> > if the servers did not perform TSM?
>=20
> I think that may be possible.  However, it is is ugly.  if you have =
another way
> to find out that state was transferred, you can look at the status =
bits from SEQUENCE,
> and only worry about lost stateids when there is an indication  that =
some
> state was lost.
>=20
> > Confirmation of the lease means more than just that it
> > is present on the queried server
>=20
> Confirmation means that the client is not uncertain about=20
> whether it is exists.  Confirmation by means of CREATE_SESSION
> is one way to do that, by making sure that the EXCHANGE_ID was
> not a random retry, since abandoned.=20
>=20
> > it also means there is
> > now a cached CREATE_SESSION reply, and a known good
> > contrived slot sequence number.=20
>=20
> In many situations, that is a reasonable inference bu it doesn't
> change the meaning of "confirmation".
>=20
> > Neither of those is true
> > for a migrated lease when the client's sessions were not
> > also migrated.
>=20
> Yes, but I'm not certain that both of these are true in the case in =
which the client's
> session are migrated.
>=20
> > Thus we should consider that a migrated lease is really
> > not confirmed at all,=20
>=20
> I consider it confirmed, but confirmed in a different manner.
>=20
> > but in some intermediate state.
>=20
> if it it were an intermediate state, there would be some way to get =
into=20
> what you call the confirmed state (and I would call the=20
> confirmed-by-CREATE_SESSION state).  You could do that by dong
> a CREATE_SESSION if you knew the sequenceid but I don't see the
> point in explicating the fine structure of the various confirmed =
clientid
> sub-states.
>=20
> > A more ideal solution would be to create an additional
> > EXCHID4_FLAG that signifies the existence of a migrated
> > lease for the querying client.
>=20
> If you were starting today (or had a time machine) you might do it =
that way.
>=20
>=20
> > In sum, here are some options we've considered:
>=20
> > 1a. destination asserts CONF_R, but client uses the
> > returned contrived slot sequence anyway
>=20
>=20
> My first choice.

I believe that is what I have prototyped in the Linux
client, currently, and it is known to work as well as
a non-migration EXCHANGE_ID / CREATE_SESSION.

I don't object to this as long as the WG has blessed
this mechanism and documents it in an "NFSv4.1
migration update" as mentioned above.


> > 1b. destination asserts CONF_R, and client uses a fixed
> > constant starting slot sequence
>=20
> My second choice.
>=20
> > 2. destination does not assert CONF_R, and client is
> > prepared for BAD_STATEID if TSM did not occur
>=20
> a real drag.
>=20
> > 3. destination asserts a new EXCHID4_FLAG that signifies
> > a TSM has made the client's lease available on that
> > server
>=20
> Unfortunately, NFSv4.1 is not an extensible minor version.
>=20
> > 4. NFSv4.1 TSM cannot occur unless the client's sessions
> > are also migrated
>=20
>=20
> > Are there others?
>=20
> There are others but none come to mind right now.
>=20
> On Mon, Apr 17, 2017 at 2:45 PM, Chuck Lever <chuck.lever@oracle.com> =
wrote:
>=20
> > On Mar 9, 2017, at 2:00 PM, David Noveck <davenoveck@gmail.com> =
wrote:
> >
> > > I'm not certain what you mean by "handled ... as it
> > > would have been in 4.0". Server trunking discovery in
> > > NFSv4.0 requires an elaborate dance. In NFSv4.1,
> > > trunking discovery can be done by a single operation
> > > (EXCHANGE_ID).
> >
> > What I meant was that, apart from the greater
> > calories expended in v4.0 case, the result should have
> > been the same, i.e. that there is no trunking.
> >
> > > I'm speculating that if the server hadn't asserted
> > > CONFIRMED_R, this client could have recovered
> > > correctly from the migration event. Is that what you
> > > mean?
> >
> > It wasn't what I meant, but, now that you say it, I think is
> > probably right.
>=20
> We've explored this mechanism a little more, and now we seem
> to be hamstrung on the first paragraph of RFC 5661, Section
> 18.35.3:
>=20
>    The client uses the EXCHANGE_ID operation to register a particular
>    client owner with the server.  The client ID returned from this
>    operation will be necessary for requests that create state on the
>    server and will serve as a parent object to sessions created by the
>    client.  In order to confirm the client ID it must first be used,
>    along with the returned eir_sequenceid, as arguments to
>    CREATE_SESSION.  If the flag EXCHGID4_FLAG_CONFIRMED_R is set in =
the
>    result, eir_flags, then eir_sequenceid MUST be ignored, as it has =
no
>    relevancy.
>=20
> The problem is the normative requirement in the last
> sentence. If CONFIRMED_R is set, a client is required
> to ignore the returned contrived slot sequence number.
> [ This is likely the reason that clients react to this
> flag by purging the lease and starting over ].
>=20
> Our first thought was to use the sequence number in the
> migrated lease (in other words, the sequence number that
> was established on the source server). A client knows
> that sequence number by looking at the lease it has with
> the source server.
>=20
> However, there's no guarantee that the client will not
> perform additional CREATE_SESSION operations against
> the source server between the time the source server
> copies the migrating lease and the client starts trunking
> discovery for the destination server.
>=20
> Another thought was to use a well-known constant, like
> zero, when creating the first session on the destination
> server.
>=20
> What sequence number should be used for the first
> CREATE_SESSSION with the destination server? If it is
> the copied sequence number, what can prevent mutation
> of that sequence number while migration of that lease
> is not yet complete?
>=20
> We've established that trunking discovery works correctly
> when the destination server does not assert CONFIRMED_R.
> This is because the client may use the contrived slot
> sequence number provided by the destination server.
>=20
> If the destination server does not assert CONFIRMED_R,
> then how does the client determine whether Transparent
> State Migration has occurred? Can it simply start using
> the open and lock state it has, and deal with BAD_STATEID
> if the servers did not perform TSM?
>=20
>=20
> Confirmation of the lease means more than just that it
> is present on the queried server: it also means there is
> now a cached CREATE_SESSION reply, and a known good
> contrived slot sequence number. Neither of those is true
> for a migrated lease when the client's sessions were not
> also migrated.
>=20
> Thus we should consider that a migrated lease is really
> not confirmed at all, but in some intermediate state.
> A more ideal solution would be to create an additional
> EXCHID4_FLAG that signifies the existence of a migrated
> lease for the querying client.
>=20
>=20
> In sum, here are some options we've considered:
>=20
> 1a. destination asserts CONF_R, but client uses the
> returned contrived slot sequence anyway
>=20
> 1b. destination asserts CONF_R, and client uses a fixed
> constant starting slot sequence
>=20
> 2. destination does not assert CONF_R, and client is
> prepared for BAD_STATEID if TSM did not occur
>=20
> 3. destination asserts a new EXCHID4_FLAG that signifies
> a TSM has made the client's lease available on that
> server
>=20
> 4. NFSv4.1 TSM cannot occur unless the client's sessions
> are also migrated
>=20
> Are there others?
>=20
> --
> Chuck Lever
>=20
>=20
>=20
>=20

--
Chuck Lever




From nobody Wed Apr 19 09:37:31 2017
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 C40D0129B2F for <nfsv4@ietfa.amsl.com>; Wed, 19 Apr 2017 09:37:29 -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 wUViGUMRitq9 for <nfsv4@ietfa.amsl.com>; Wed, 19 Apr 2017 09:37:26 -0700 (PDT)
Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (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 2BCC2129B2A for <nfsv4@ietf.org>; Wed, 19 Apr 2017 09:37:26 -0700 (PDT)
Received: by mail-io0-x236.google.com with SMTP id a103so28064318ioj.1 for <nfsv4@ietf.org>; Wed, 19 Apr 2017 09:37:26 -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=s4kUH+UdvoywAzNSWXAsYSp929e1j2fKkrXEd9UXHCQ=; b=EDdX/VTFVcC/cEqxMNwM5SyAb+zf8BL/JVwmC217K6bB7u7hEp7HpF1pOcx93iGzVh Ihqk22JGYu3rmvyeCm6dqtQwZtZ8DnaVboyMUBziuTVghiG8vjlkNW9Qch+hXaOJIFyQ NWS52Zy5ylxD4S8IeH15xz6VqHDtozfYn0iCXhyJfhWqv0WgjlBapRXpiTrr4J1oghba WUUCWOflhdTE4HeX+E3bTHJ38BBDbYLehvptuboy3GWBwgwNYdfi+3L0xcFNWU3EazFm mJPsHricv1ylXqZ08xG239Eq5fIdLZYcC2Z87p0URPql2U0xf4H3JzandoRAQFa03nW4 QmrQ==
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=s4kUH+UdvoywAzNSWXAsYSp929e1j2fKkrXEd9UXHCQ=; b=dP3AwSlTQU10oDZvkhLPEf5nr5KPiO1i6fHOvaSudsd3EjEF1pgfWkXtOs3iqCcrtZ RoLN4f0BeSzgSP0HREc81znclqgSy1SicyJvIhe95qob8zPPnmAq+0vFLuTIg/ZYpANm L7st4vHSwdPb6t4vtbQvKjrH4fcaov4d/TguzUTgY6ApNs7i69b4rxt843b2Oa5Ej1fP XynT3+8MjsDLF+XWaK4AvTpZJCoYTtnwEBn3W1HMZ0OpH+QYHIaq0rFkySG8Vuokmi+J fuMZKFF0OqiA6LtxRMx6aUxBM4+V1LqGWFDRkkhb5kggu7Q6verrPtuuYpYL9lWtGrI0 nHIQ==
X-Gm-Message-State: AN3rC/5A32SLblnM2cPtP031qqePaqMAIAGS0v2I8aMFSXA2VNKVqtqE L4Q9AXvLHZRCUp39Sy/j0eTTSZb5/ud0
X-Received: by 10.36.22.85 with SMTP id a82mr21288183ita.83.1492619844015; Wed, 19 Apr 2017 09:37:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Wed, 19 Apr 2017 09:37:23 -0700 (PDT)
In-Reply-To: <0C02F2F9-A202-45A7-844B-55CA6D308CCC@oracle.com>
References: <ED0D48EE-4618-4E07-B97F-8320C77CF1EC@oracle.com> <CADaq8jfHAF6+2AfuRGr2a=D0FX96YAVu=gGJTqGwSvhXCbntfg@mail.gmail.com> <BADB9283-3B08-49DD-A2E2-5C0C20054C45@oracle.com> <CADaq8jfhxcGqJd0U40JkyT9eT+hj24dovMmqFUtkSic_b08jDg@mail.gmail.com> <213DBA50-FB48-4B48-A177-22C2B6879D49@oracle.com> <CADaq8jeuPQfUNM-QH2jEKuMRSjsEwWQU_0ZBVJH0KDU7-vipmQ@mail.gmail.com> <0C02F2F9-A202-45A7-844B-55CA6D308CCC@oracle.com>
From: David Noveck <davenoveck@gmail.com>
Date: Wed, 19 Apr 2017 12:37:23 -0400
Message-ID: <CADaq8jdcYN3JZGLgqs3JGmPyQdyQ8OubPj4i9jRVhW5Uk7ZHHQ@mail.gmail.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a11452daa965e79054d87a33a
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/kLNx_5RJiLzufn7PBzs86yib1i8>
Subject: Re: [nfsv4] Preventing an NFSv4.1 client from destroying a migrated lease after TSM
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 16:37:30 -0000

--001a11452daa965e79054d87a33a
Content-Type: text/plain; charset=UTF-8

> I believe that is what I have prototyped in the Linux
> client, currently, and it is known to work as well as
> a non-migration EXCHANGE_ID / CREATE_SESSION.

Good  to know.

> I don't object to this as long as the WG has blessed
> this mechanism

I don't know exactly what is involved in the WG
"bless[ing]" this mechanism.  Perhaps it is not distinct from:

> documents it in an "NFSv4.1
> migration update" as mentioned above.

In any case, we'll discuss the possibility of moving forward on
a standards-track document once migration-issues-13 is out.




On Wed, Apr 19, 2017 at 12:09 PM, Chuck Lever <chuck.lever@oracle.com>
wrote:

>
> > On Apr 18, 2017, at 3:30 PM, David Noveck <davenoveck@gmail.com> wrote:
> >
> > To avoid burying the lead, I'll respond waaay out of order:
> >
> > > In sum, here are some options we've considered:
> >
> > > 1a. destination asserts CONF_R, but client uses the
> > > returned contrived slot sequence anyway
> >
> > Clearly, migration-issues-13 needs to take account of this issue.
> > I believe 1a is the best choice and will explain why below.
> >
> > > We've explored this mechanism a little more, and now we seem
> > > to be hamstrung on the first paragraph of RFC 5661, Section
> > > 18.35.3:
> >
> > Like much of RFCs 5661 and 7530, the paragraph in question
> > was written without any consideration of issues related to
> > transparent state migration.  Sigh!
> >
> > I think I have not been as explicit about this as I should have been
> > but, as we have started to address a number of migration-related issues
> for
> > NFSv4.1 it appears that we will need a standards-track document,
> > updating RFC5661, paralleling RFC7931 for NFSv4.0.
> >
> > RFC7931 had a replacement SETCLIENTID description and it now
> > appears that the new document will need a replacement for the
> > EXCHANGE_ID  description.   Coincidence? ....  or something
> > else? :-)
> >
> > >   The client uses the EXCHANGE_ID operation to register a particular
> > >   client owner with the server.
> >
> > However, when the client_owner has been already been registered
> > by other means (e.g. transparent state migration), the client may still
> > use EXCHANGE_ID to obtain the clientid assigned.previously.
> >
> > >  The client ID returned from this
> > >   operation will be necessary for requests that create state on the
> > >   server and will serve as a parent object to sessions created by the
> > >   client.
> >
> > OK.
> >
> > >   In order to confirm the client ID it must first be used,
> > >   along with the returned eir_sequenceid, as arguments to
> > >   CREATE_SESSION.
> >
> > In situations in which the registration of the clent_owner has not
> occurred
> > previously ...
> >
> > > If the flag EXCHGID4_FLAG_CONFIRMED_R is set in the
> > > result, eir_flags, then eir_sequenceid MUST be ignored, as it has no
> > >  relevancy.
> >
> > It is not central to my argument but I believe that the "MUST" is not in
> > accord with RFC2119.  The point here is that if a CREATE_SESSION
> > has been one, which this text assume is the case, that has already
> > established the proper sequence id to use.  This is explaning how the
> > protocol works and not establishing an interoperability REQUIREMENT>
> >
> > Anyway, I would go on:
> >
> > If the flag EXCHGID4_FLAG_CONFIRMED_R is set in the
> > result, eir_flags, then it is an indication that the the registration
> > of the client_owner has already occurred and that a further
> > CREATE_SESSION is not  needed to confirm it.  Of course,
> > subsequent CREATE_SESSIONs may be needed for other
> > reasons.
> >
> > The value eir_seqenceid is used to establish an initial
> > sequence value associate with the clientid returned.  In cases
> > in which a CREATE_SESSION has already been done, there
> > is no need for this value, since sequencing of such request has
> > already been established and the client has no need for this
> > value and will ignore it.
> >
> > > The problem is the normative requirement in the last
> > > sentence.
> >
> > I agree that this REQUIREMENT is a problem.
> >
> > > If CONFIRMED_R is set, a client is required
> > > to ignore the returned contrived slot sequence number.
> >
> > According to RFC5661, yes.
> >
> > > [ This is likely the reason that clients react to this
> > > flag by purging the lease and starting over ].
> >
> > I believe that the reason is that if the client thinks/knows a
> > clientid is unconfirmed and he finds out that the server thinks
> > otherwise, he figure something is really messed up, in which
> > punting like this is to be preferred to a panic :-(
> >
> > > Our first thought was to use the sequence number in the
> > > migrated lease (in other words, the sequence number that
> > > was established on the source server). A client knows
> > > that sequence number by looking at the lease it has with
> > > the source server.
> >
> > In this case, you are moving over the single-slot
> > quasi-session associated with the client.
> >
> > > However, there's no guarantee that the client will not
> > > perform additional CREATE_SESSION operations against
> > > the source server between the time the source server
> > > copies the migrating lease and the client starts trunking
> > > discovery for the destination server.
> >
> > True.  The client can hack around this by starting with
> > the last sequence he has and backing up  if it is too
> > high.  I'd rather not go there, though.
> >
> > > Another thought was to use a well-known constant, like
> > > zero, when creating the first session on the destination
> > > server.
> >
> > That is probably the best option if you is committed to respect
> > the language of the current RFC5661 requirement.  However,
> > you would still need to revise the EXCHANGE_ID description
> > to provide a coherent description, in any case.
> >
> > > We've established that trunking discovery works correctly
> > > when the destination server does not assert CONFIRMED_R.
> >
> > :-)
> >
> > > This is because the client may use the contrived slot
> > > sequence number provided by the destination server.
> >
> > It's because he does use that slot sequence number.  To me, that is
> > an additional reason he should be allowed to do so.
> >
> > > If the destination server does not assert CONFIRMED_R,
> > > then how does the client determine whether Transparent
> > > State Migration has occurred? Can it simply start using
> > > the open and lock state it has, and deal with BAD_STATEID
> > > if the servers did not perform TSM?
> >
> > I think that may be possible.  However, it is is ugly.  if you have
> another way
> > to find out that state was transferred, you can look at the status bits
> from SEQUENCE,
> > and only worry about lost stateids when there is an indication  that some
> > state was lost.
> >
> > > Confirmation of the lease means more than just that it
> > > is present on the queried server
> >
> > Confirmation means that the client is not uncertain about
> > whether it is exists.  Confirmation by means of CREATE_SESSION
> > is one way to do that, by making sure that the EXCHANGE_ID was
> > not a random retry, since abandoned.
> >
> > > it also means there is
> > > now a cached CREATE_SESSION reply, and a known good
> > > contrived slot sequence number.
> >
> > In many situations, that is a reasonable inference bu it doesn't
> > change the meaning of "confirmation".
> >
> > > Neither of those is true
> > > for a migrated lease when the client's sessions were not
> > > also migrated.
> >
> > Yes, but I'm not certain that both of these are true in the case in
> which the client's
> > session are migrated.
> >
> > > Thus we should consider that a migrated lease is really
> > > not confirmed at all,
> >
> > I consider it confirmed, but confirmed in a different manner.
> >
> > > but in some intermediate state.
> >
> > if it it were an intermediate state, there would be some way to get into
> > what you call the confirmed state (and I would call the
> > confirmed-by-CREATE_SESSION state).  You could do that by dong
> > a CREATE_SESSION if you knew the sequenceid but I don't see the
> > point in explicating the fine structure of the various confirmed clientid
> > sub-states.
> >
> > > A more ideal solution would be to create an additional
> > > EXCHID4_FLAG that signifies the existence of a migrated
> > > lease for the querying client.
> >
> > If you were starting today (or had a time machine) you might do it that
> way.
> >
> >
> > > In sum, here are some options we've considered:
> >
> > > 1a. destination asserts CONF_R, but client uses the
> > > returned contrived slot sequence anyway
> >
> >
> > My first choice.
>
> I believe that is what I have prototyped in the Linux
> client, currently, and it is known to work as well as
> a non-migration EXCHANGE_ID / CREATE_SESSION.
>
> I don't object to this as long as the WG has blessed
> this mechanism and documents it in an "NFSv4.1
> migration update" as mentioned above.
>
>
> > > 1b. destination asserts CONF_R, and client uses a fixed
> > > constant starting slot sequence
> >
> > My second choice.
> >
> > > 2. destination does not assert CONF_R, and client is
> > > prepared for BAD_STATEID if TSM did not occur
> >
> > a real drag.
> >
> > > 3. destination asserts a new EXCHID4_FLAG that signifies
> > > a TSM has made the client's lease available on that
> > > server
> >
> > Unfortunately, NFSv4.1 is not an extensible minor version.
> >
> > > 4. NFSv4.1 TSM cannot occur unless the client's sessions
> > > are also migrated
> >
> >
> > > Are there others?
> >
> > There are others but none come to mind right now.
> >
> > On Mon, Apr 17, 2017 at 2:45 PM, Chuck Lever <chuck.lever@oracle.com>
> wrote:
> >
> > > On Mar 9, 2017, at 2:00 PM, David Noveck <davenoveck@gmail.com> wrote:
> > >
> > > > I'm not certain what you mean by "handled ... as it
> > > > would have been in 4.0". Server trunking discovery in
> > > > NFSv4.0 requires an elaborate dance. In NFSv4.1,
> > > > trunking discovery can be done by a single operation
> > > > (EXCHANGE_ID).
> > >
> > > What I meant was that, apart from the greater
> > > calories expended in v4.0 case, the result should have
> > > been the same, i.e. that there is no trunking.
> > >
> > > > I'm speculating that if the server hadn't asserted
> > > > CONFIRMED_R, this client could have recovered
> > > > correctly from the migration event. Is that what you
> > > > mean?
> > >
> > > It wasn't what I meant, but, now that you say it, I think is
> > > probably right.
> >
> > We've explored this mechanism a little more, and now we seem
> > to be hamstrung on the first paragraph of RFC 5661, Section
> > 18.35.3:
> >
> >    The client uses the EXCHANGE_ID operation to register a particular
> >    client owner with the server.  The client ID returned from this
> >    operation will be necessary for requests that create state on the
> >    server and will serve as a parent object to sessions created by the
> >    client.  In order to confirm the client ID it must first be used,
> >    along with the returned eir_sequenceid, as arguments to
> >    CREATE_SESSION.  If the flag EXCHGID4_FLAG_CONFIRMED_R is set in the
> >    result, eir_flags, then eir_sequenceid MUST be ignored, as it has no
> >    relevancy.
> >
> > The problem is the normative requirement in the last
> > sentence. If CONFIRMED_R is set, a client is required
> > to ignore the returned contrived slot sequence number.
> > [ This is likely the reason that clients react to this
> > flag by purging the lease and starting over ].
> >
> > Our first thought was to use the sequence number in the
> > migrated lease (in other words, the sequence number that
> > was established on the source server). A client knows
> > that sequence number by looking at the lease it has with
> > the source server.
> >
> > However, there's no guarantee that the client will not
> > perform additional CREATE_SESSION operations against
> > the source server between the time the source server
> > copies the migrating lease and the client starts trunking
> > discovery for the destination server.
> >
> > Another thought was to use a well-known constant, like
> > zero, when creating the first session on the destination
> > server.
> >
> > What sequence number should be used for the first
> > CREATE_SESSSION with the destination server? If it is
> > the copied sequence number, what can prevent mutation
> > of that sequence number while migration of that lease
> > is not yet complete?
> >
> > We've established that trunking discovery works correctly
> > when the destination server does not assert CONFIRMED_R.
> > This is because the client may use the contrived slot
> > sequence number provided by the destination server.
> >
> > If the destination server does not assert CONFIRMED_R,
> > then how does the client determine whether Transparent
> > State Migration has occurred? Can it simply start using
> > the open and lock state it has, and deal with BAD_STATEID
> > if the servers did not perform TSM?
> >
> >
> > Confirmation of the lease means more than just that it
> > is present on the queried server: it also means there is
> > now a cached CREATE_SESSION reply, and a known good
> > contrived slot sequence number. Neither of those is true
> > for a migrated lease when the client's sessions were not
> > also migrated.
> >
> > Thus we should consider that a migrated lease is really
> > not confirmed at all, but in some intermediate state.
> > A more ideal solution would be to create an additional
> > EXCHID4_FLAG that signifies the existence of a migrated
> > lease for the querying client.
> >
> >
> > In sum, here are some options we've considered:
> >
> > 1a. destination asserts CONF_R, but client uses the
> > returned contrived slot sequence anyway
> >
> > 1b. destination asserts CONF_R, and client uses a fixed
> > constant starting slot sequence
> >
> > 2. destination does not assert CONF_R, and client is
> > prepared for BAD_STATEID if TSM did not occur
> >
> > 3. destination asserts a new EXCHID4_FLAG that signifies
> > a TSM has made the client's lease available on that
> > server
> >
> > 4. NFSv4.1 TSM cannot occur unless the client's sessions
> > are also migrated
> >
> > Are there others?
> >
> > --
> > Chuck Lever
> >
> >
> >
> >
>
> --
> Chuck Lever
>
>
>
>

--001a11452daa965e79054d87a33a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-size:12.8px">&gt; I believe that is wh=
at I have prototyped in the Linux</span><br style=3D"font-size:12.8px"><spa=
n style=3D"font-size:12.8px">&gt; client, currently, and it is known to wor=
k as well as</span><br style=3D"font-size:12.8px"><span style=3D"font-size:=
12.8px">&gt; a non-migration EXCHANGE_ID / CREATE_SESSION.</span><br style=
=3D"font-size:12.8px"><div><span style=3D"font-size:12.8px"><br></span></di=
v><div><span style=3D"font-size:12.8px">Good =C2=A0to know.</span></div><di=
v><span style=3D"font-size:12.8px"><br></span></div><div><span style=3D"fon=
t-size:12.8px">&gt; I don&#39;t object to this as long as the WG has blesse=
d</span><br style=3D"font-size:12.8px"><span style=3D"font-size:12.8px">&gt=
; this mechanism=C2=A0</span></div><div><span style=3D"font-size:12.8px"><b=
r></span></div><div><span style=3D"font-size:12.8px">I don&#39;t know exact=
ly what is involved in the WG</span></div><div><span style=3D"font-size:12.=
8px">&quot;bless[ing]&quot; this mechanism.=C2=A0 Perhaps it is not distinc=
t from:</span></div><div><span style=3D"font-size:12.8px"><br></span></div>=
<div><span style=3D"font-size:12.8px">&gt; documents it in an &quot;NFSv4.1=
</span><br style=3D"font-size:12.8px"><span style=3D"font-size:12.8px">&gt;=
 migration update&quot; as mentioned above.</span><span style=3D"font-size:=
12.8px"><br></span></div><div><span style=3D"font-size:12.8px"><br></span><=
/div><div><span style=3D"font-size:12.8px">In any case, we&#39;ll discuss t=
he possibility of moving forward on=C2=A0</span></div><div><span style=3D"f=
ont-size:12.8px">a standards-track=C2=A0</span><span style=3D"font-size:12.=
8px">document once migration-issues-13 is out.</span></div><div><span style=
=3D"font-size:12.8px"><br></span></div><div><br style=3D"font-size:12.8px">=
<div style=3D"font-size:12.8px"><div class=3D"gmail-adm"><div id=3D"gmail-q=
_15b870f5b03a6e7d_2" class=3D"gmail-ajR gmail-h4"></div></div></div></div><=
div><span style=3D"font-size:12.8px"><br></span></div></div><div class=3D"g=
mail_extra"><br><div class=3D"gmail_quote">On Wed, Apr 19, 2017 at 12:09 PM=
, Chuck Lever <span dir=3D"ltr">&lt;<a href=3D"mailto:chuck.lever@oracle.co=
m" target=3D"_blank">chuck.lever@oracle.com</a>&gt;</span> wrote:<br><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5"><br>
&gt; On Apr 18, 2017, at 3:30 PM, David Noveck &lt;<a href=3D"mailto:daveno=
veck@gmail.com">davenoveck@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; To avoid burying the lead, I&#39;ll respond waaay out of order:<br>
&gt;<br>
&gt; &gt; In sum, here are some options we&#39;ve considered:<br>
&gt;<br>
&gt; &gt; 1a. destination asserts CONF_R, but client uses the<br>
&gt; &gt; returned contrived slot sequence anyway<br>
&gt;<br>
&gt; Clearly, migration-issues-13 needs to take account of this issue.<br>
&gt; I believe 1a is the best choice and will explain why below.<br>
&gt;<br>
&gt; &gt; We&#39;ve explored this mechanism a little more, and now we seem<=
br>
&gt; &gt; to be hamstrung on the first paragraph of RFC 5661, Section<br>
&gt; &gt; 18.35.3:<br>
&gt;<br>
&gt; Like much of RFCs 5661 and 7530, the paragraph in question<br>
&gt; was written without any consideration of issues related to<br>
&gt; transparent state migration.=C2=A0 Sigh!<br>
&gt;<br>
&gt; I think I have not been as explicit about this as I should have been<b=
r>
&gt; but, as we have started to address a number of migration-related issue=
s for<br>
&gt; NFSv4.1 it appears that we will need a standards-track document,<br>
&gt; updating RFC5661, paralleling RFC7931 for NFSv4.0.<br>
&gt;<br>
&gt; RFC7931 had a replacement SETCLIENTID description and it now<br>
&gt; appears that the new document will need a replacement for the<br>
&gt; EXCHANGE_ID=C2=A0 description.=C2=A0 =C2=A0Coincidence? ....=C2=A0 or =
something<br>
&gt; else? :-)<br>
&gt;<br>
&gt; &gt;=C2=A0 =C2=A0The client uses the EXCHANGE_ID operation to register=
 a particular<br>
&gt; &gt;=C2=A0 =C2=A0client owner with the server.<br>
&gt;<br>
&gt; However, when the client_owner has been already been registered<br>
&gt; by other means (e.g. transparent state migration), the client may stil=
l<br>
&gt; use EXCHANGE_ID to obtain the clientid assigned.previously.<br>
&gt;<br>
&gt; &gt;=C2=A0 The client ID returned from this<br>
&gt; &gt;=C2=A0 =C2=A0operation will be necessary for requests that create =
state on the<br>
&gt; &gt;=C2=A0 =C2=A0server and will serve as a parent object to sessions =
created by the<br>
&gt; &gt;=C2=A0 =C2=A0client.<br>
&gt;<br>
&gt; OK.<br>
&gt;<br>
&gt; &gt;=C2=A0 =C2=A0In order to confirm the client ID it must first be us=
ed,<br>
&gt; &gt;=C2=A0 =C2=A0along with the returned eir_sequenceid, as arguments =
to<br>
&gt; &gt;=C2=A0 =C2=A0CREATE_SESSION.<br>
&gt;<br>
&gt; In situations in which the registration of the clent_owner has not occ=
urred<br>
&gt; previously ...<br>
&gt;<br>
&gt; &gt; If the flag EXCHGID4_FLAG_CONFIRMED_R is set in the<br>
&gt; &gt; result, eir_flags, then eir_sequenceid MUST be ignored, as it has=
 no<br>
&gt; &gt;=C2=A0 relevancy.<br>
&gt;<br>
&gt; It is not central to my argument but I believe that the &quot;MUST&quo=
t; is not in<br>
&gt; accord with RFC2119.=C2=A0 The point here is that if a CREATE_SESSION<=
br>
&gt; has been one, which this text assume is the case, that has already<br>
&gt; established the proper sequence id to use.=C2=A0 This is explaning how=
 the<br>
&gt; protocol works and not establishing an interoperability REQUIREMENT&gt=
;<br>
&gt;<br>
&gt; Anyway, I would go on:<br>
&gt;<br>
&gt; If the flag EXCHGID4_FLAG_CONFIRMED_R is set in the<br>
&gt; result, eir_flags, then it is an indication that the the registration<=
br>
&gt; of the client_owner has already occurred and that a further<br>
&gt; CREATE_SESSION is not=C2=A0 needed to confirm it.=C2=A0 Of course,<br>
&gt; subsequent CREATE_SESSIONs may be needed for other<br>
&gt; reasons.<br>
&gt;<br>
&gt; The value eir_seqenceid is used to establish an initial<br>
&gt; sequence value associate with the clientid returned.=C2=A0 In cases<br=
>
&gt; in which a CREATE_SESSION has already been done, there<br>
&gt; is no need for this value, since sequencing of such request has<br>
&gt; already been established and the client has no need for this<br>
&gt; value and will ignore it.<br>
&gt;<br>
&gt; &gt; The problem is the normative requirement in the last<br>
&gt; &gt; sentence.<br>
&gt;<br>
&gt; I agree that this REQUIREMENT is a problem.<br>
&gt;<br>
&gt; &gt; If CONFIRMED_R is set, a client is required<br>
&gt; &gt; to ignore the returned contrived slot sequence number.<br>
&gt;<br>
&gt; According to RFC5661, yes.<br>
&gt;<br>
&gt; &gt; [ This is likely the reason that clients react to this<br>
&gt; &gt; flag by purging the lease and starting over ].<br>
&gt;<br>
&gt; I believe that the reason is that if the client thinks/knows a<br>
&gt; clientid is unconfirmed and he finds out that the server thinks<br>
&gt; otherwise, he figure something is really messed up, in which<br>
&gt; punting like this is to be preferred to a panic :-(<br>
&gt;<br>
&gt; &gt; Our first thought was to use the sequence number in the<br>
&gt; &gt; migrated lease (in other words, the sequence number that<br>
&gt; &gt; was established on the source server). A client knows<br>
&gt; &gt; that sequence number by looking at the lease it has with<br>
&gt; &gt; the source server.<br>
&gt;<br>
&gt; In this case, you are moving over the single-slot<br>
&gt; quasi-session associated with the client.<br>
&gt;<br>
&gt; &gt; However, there&#39;s no guarantee that the client will not<br>
&gt; &gt; perform additional CREATE_SESSION operations against<br>
&gt; &gt; the source server between the time the source server<br>
&gt; &gt; copies the migrating lease and the client starts trunking<br>
&gt; &gt; discovery for the destination server.<br>
&gt;<br>
&gt; True.=C2=A0 The client can hack around this by starting with<br>
&gt; the last sequence he has and backing up=C2=A0 if it is too<br>
&gt; high.=C2=A0 I&#39;d rather not go there, though.<br>
&gt;<br>
&gt; &gt; Another thought was to use a well-known constant, like<br>
&gt; &gt; zero, when creating the first session on the destination<br>
&gt; &gt; server.<br>
&gt;<br>
&gt; That is probably the best option if you is committed to respect<br>
&gt; the language of the current RFC5661 requirement.=C2=A0 However,<br>
&gt; you would still need to revise the EXCHANGE_ID description<br>
&gt; to provide a coherent description, in any case.<br>
&gt;<br>
&gt; &gt; We&#39;ve established that trunking discovery works correctly<br>
&gt; &gt; when the destination server does not assert CONFIRMED_R.<br>
&gt;<br>
&gt; :-)<br>
&gt;<br>
&gt; &gt; This is because the client may use the contrived slot<br>
&gt; &gt; sequence number provided by the destination server.<br>
&gt;<br>
&gt; It&#39;s because he does use that slot sequence number.=C2=A0 To me, t=
hat is<br>
&gt; an additional reason he should be allowed to do so.<br>
&gt;<br>
&gt; &gt; If the destination server does not assert CONFIRMED_R,<br>
&gt; &gt; then how does the client determine whether Transparent<br>
&gt; &gt; State Migration has occurred? Can it simply start using<br>
&gt; &gt; the open and lock state it has, and deal with BAD_STATEID<br>
&gt; &gt; if the servers did not perform TSM?<br>
&gt;<br>
&gt; I think that may be possible.=C2=A0 However, it is is ugly.=C2=A0 if y=
ou have another way<br>
&gt; to find out that state was transferred, you can look at the status bit=
s from SEQUENCE,<br>
&gt; and only worry about lost stateids when there is an indication=C2=A0 t=
hat some<br>
&gt; state was lost.<br>
&gt;<br>
&gt; &gt; Confirmation of the lease means more than just that it<br>
&gt; &gt; is present on the queried server<br>
&gt;<br>
&gt; Confirmation means that the client is not uncertain about<br>
&gt; whether it is exists.=C2=A0 Confirmation by means of CREATE_SESSION<br=
>
&gt; is one way to do that, by making sure that the EXCHANGE_ID was<br>
&gt; not a random retry, since abandoned.<br>
&gt;<br>
&gt; &gt; it also means there is<br>
&gt; &gt; now a cached CREATE_SESSION reply, and a known good<br>
&gt; &gt; contrived slot sequence number.<br>
&gt;<br>
&gt; In many situations, that is a reasonable inference bu it doesn&#39;t<b=
r>
&gt; change the meaning of &quot;confirmation&quot;.<br>
&gt;<br>
&gt; &gt; Neither of those is true<br>
&gt; &gt; for a migrated lease when the client&#39;s sessions were not<br>
&gt; &gt; also migrated.<br>
&gt;<br>
&gt; Yes, but I&#39;m not certain that both of these are true in the case i=
n which the client&#39;s<br>
&gt; session are migrated.<br>
&gt;<br>
&gt; &gt; Thus we should consider that a migrated lease is really<br>
&gt; &gt; not confirmed at all,<br>
&gt;<br>
&gt; I consider it confirmed, but confirmed in a different manner.<br>
&gt;<br>
&gt; &gt; but in some intermediate state.<br>
&gt;<br>
&gt; if it it were an intermediate state, there would be some way to get in=
to<br>
&gt; what you call the confirmed state (and I would call the<br>
&gt; confirmed-by-CREATE_SESSION state).=C2=A0 You could do that by dong<br=
>
&gt; a CREATE_SESSION if you knew the sequenceid but I don&#39;t see the<br=
>
&gt; point in explicating the fine structure of the various confirmed clien=
tid<br>
&gt; sub-states.<br>
&gt;<br>
&gt; &gt; A more ideal solution would be to create an additional<br>
&gt; &gt; EXCHID4_FLAG that signifies the existence of a migrated<br>
&gt; &gt; lease for the querying client.<br>
&gt;<br>
&gt; If you were starting today (or had a time machine) you might do it tha=
t way.<br>
&gt;<br>
&gt;<br>
&gt; &gt; In sum, here are some options we&#39;ve considered:<br>
&gt;<br>
&gt; &gt; 1a. destination asserts CONF_R, but client uses the<br>
&gt; &gt; returned contrived slot sequence anyway<br>
&gt;<br>
&gt;<br>
&gt; My first choice.<br>
<br>
</div></div>I believe that is what I have prototyped in the Linux<br>
client, currently, and it is known to work as well as<br>
a non-migration EXCHANGE_ID / CREATE_SESSION.<br>
<br>
I don&#39;t object to this as long as the WG has blessed<br>
this mechanism and documents it in an &quot;NFSv4.1<br>
migration update&quot; as mentioned above.<br>
<div><div class=3D"h5"><br>
<br>
&gt; &gt; 1b. destination asserts CONF_R, and client uses a fixed<br>
&gt; &gt; constant starting slot sequence<br>
&gt;<br>
&gt; My second choice.<br>
&gt;<br>
&gt; &gt; 2. destination does not assert CONF_R, and client is<br>
&gt; &gt; prepared for BAD_STATEID if TSM did not occur<br>
&gt;<br>
&gt; a real drag.<br>
&gt;<br>
&gt; &gt; 3. destination asserts a new EXCHID4_FLAG that signifies<br>
&gt; &gt; a TSM has made the client&#39;s lease available on that<br>
&gt; &gt; server<br>
&gt;<br>
&gt; Unfortunately, NFSv4.1 is not an extensible minor version.<br>
&gt;<br>
&gt; &gt; 4. NFSv4.1 TSM cannot occur unless the client&#39;s sessions<br>
&gt; &gt; are also migrated<br>
&gt;<br>
&gt;<br>
&gt; &gt; Are there others?<br>
&gt;<br>
&gt; There are others but none come to mind right now.<br>
&gt;<br>
&gt; On Mon, Apr 17, 2017 at 2:45 PM, Chuck Lever &lt;<a href=3D"mailto:chu=
ck.lever@oracle.com">chuck.lever@oracle.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On Mar 9, 2017, at 2:00 PM, David Noveck &lt;<a href=3D"mailto:da=
venoveck@gmail.com">davenoveck@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; I&#39;m not certain what you mean by &quot;handled ... as it=
<br>
&gt; &gt; &gt; would have been in 4.0&quot;. Server trunking discovery in<b=
r>
&gt; &gt; &gt; NFSv4.0 requires an elaborate dance. In NFSv4.1,<br>
&gt; &gt; &gt; trunking discovery can be done by a single operation<br>
&gt; &gt; &gt; (EXCHANGE_ID).<br>
&gt; &gt;<br>
&gt; &gt; What I meant was that, apart from the greater<br>
&gt; &gt; calories expended in v4.0 case, the result should have<br>
&gt; &gt; been the same, i.e. that there is no trunking.<br>
&gt; &gt;<br>
&gt; &gt; &gt; I&#39;m speculating that if the server hadn&#39;t asserted<b=
r>
&gt; &gt; &gt; CONFIRMED_R, this client could have recovered<br>
&gt; &gt; &gt; correctly from the migration event. Is that what you<br>
&gt; &gt; &gt; mean?<br>
&gt; &gt;<br>
&gt; &gt; It wasn&#39;t what I meant, but, now that you say it, I think is<=
br>
&gt; &gt; probably right.<br>
&gt;<br>
&gt; We&#39;ve explored this mechanism a little more, and now we seem<br>
&gt; to be hamstrung on the first paragraph of RFC 5661, Section<br>
&gt; 18.35.3:<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 The client uses the EXCHANGE_ID operation to register a p=
articular<br>
&gt;=C2=A0 =C2=A0 client owner with the server.=C2=A0 The client ID returne=
d from this<br>
&gt;=C2=A0 =C2=A0 operation will be necessary for requests that create stat=
e on the<br>
&gt;=C2=A0 =C2=A0 server and will serve as a parent object to sessions crea=
ted by the<br>
&gt;=C2=A0 =C2=A0 client.=C2=A0 In order to confirm the client ID it must f=
irst be used,<br>
&gt;=C2=A0 =C2=A0 along with the returned eir_sequenceid, as arguments to<b=
r>
&gt;=C2=A0 =C2=A0 CREATE_SESSION.=C2=A0 If the flag EXCHGID4_FLAG_CONFIRMED=
_R is set in the<br>
&gt;=C2=A0 =C2=A0 result, eir_flags, then eir_sequenceid MUST be ignored, a=
s it has no<br>
&gt;=C2=A0 =C2=A0 relevancy.<br>
&gt;<br>
&gt; The problem is the normative requirement in the last<br>
&gt; sentence. If CONFIRMED_R is set, a client is required<br>
&gt; to ignore the returned contrived slot sequence number.<br>
&gt; [ This is likely the reason that clients react to this<br>
&gt; flag by purging the lease and starting over ].<br>
&gt;<br>
&gt; Our first thought was to use the sequence number in the<br>
&gt; migrated lease (in other words, the sequence number that<br>
&gt; was established on the source server). A client knows<br>
&gt; that sequence number by looking at the lease it has with<br>
&gt; the source server.<br>
&gt;<br>
&gt; However, there&#39;s no guarantee that the client will not<br>
&gt; perform additional CREATE_SESSION operations against<br>
&gt; the source server between the time the source server<br>
&gt; copies the migrating lease and the client starts trunking<br>
&gt; discovery for the destination server.<br>
&gt;<br>
&gt; Another thought was to use a well-known constant, like<br>
&gt; zero, when creating the first session on the destination<br>
&gt; server.<br>
&gt;<br>
&gt; What sequence number should be used for the first<br>
&gt; CREATE_SESSSION with the destination server? If it is<br>
&gt; the copied sequence number, what can prevent mutation<br>
&gt; of that sequence number while migration of that lease<br>
&gt; is not yet complete?<br>
&gt;<br>
&gt; We&#39;ve established that trunking discovery works correctly<br>
&gt; when the destination server does not assert CONFIRMED_R.<br>
&gt; This is because the client may use the contrived slot<br>
&gt; sequence number provided by the destination server.<br>
&gt;<br>
&gt; If the destination server does not assert CONFIRMED_R,<br>
&gt; then how does the client determine whether Transparent<br>
&gt; State Migration has occurred? Can it simply start using<br>
&gt; the open and lock state it has, and deal with BAD_STATEID<br>
&gt; if the servers did not perform TSM?<br>
&gt;<br>
&gt;<br>
&gt; Confirmation of the lease means more than just that it<br>
&gt; is present on the queried server: it also means there is<br>
&gt; now a cached CREATE_SESSION reply, and a known good<br>
&gt; contrived slot sequence number. Neither of those is true<br>
&gt; for a migrated lease when the client&#39;s sessions were not<br>
&gt; also migrated.<br>
&gt;<br>
&gt; Thus we should consider that a migrated lease is really<br>
&gt; not confirmed at all, but in some intermediate state.<br>
&gt; A more ideal solution would be to create an additional<br>
&gt; EXCHID4_FLAG that signifies the existence of a migrated<br>
&gt; lease for the querying client.<br>
&gt;<br>
&gt;<br>
&gt; In sum, here are some options we&#39;ve considered:<br>
&gt;<br>
&gt; 1a. destination asserts CONF_R, but client uses the<br>
&gt; returned contrived slot sequence anyway<br>
&gt;<br>
&gt; 1b. destination asserts CONF_R, and client uses a fixed<br>
&gt; constant starting slot sequence<br>
&gt;<br>
&gt; 2. destination does not assert CONF_R, and client is<br>
&gt; prepared for BAD_STATEID if TSM did not occur<br>
&gt;<br>
&gt; 3. destination asserts a new EXCHID4_FLAG that signifies<br>
&gt; a TSM has made the client&#39;s lease available on that<br>
&gt; server<br>
&gt;<br>
&gt; 4. NFSv4.1 TSM cannot occur unless the client&#39;s sessions<br>
&gt; are also migrated<br>
&gt;<br>
&gt; Are there others?<br>
&gt;<br>
&gt; --<br>
&gt; Chuck Lever<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div>--<br>
Chuck Lever<br>
<br>
<br>
<br>
</blockquote></div><br></div>

--001a11452daa965e79054d87a33a--


From nobody Thu Apr 20 04:42:15 2017
Return-Path: <Bill.Baker@Oracle.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 C50DC126DCA for <nfsv4@ietfa.amsl.com>; Thu, 20 Apr 2017 04:42:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.001
X-Spam-Level: 
X-Spam-Status: No, score=-7.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-2.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
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 FDQPa7r6vaQp for <nfsv4@ietfa.amsl.com>; Thu, 20 Apr 2017 04:42:12 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0AC59127A90 for <nfsv4@ietf.org>; Thu, 20 Apr 2017 04:42:11 -0700 (PDT)
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3KBgBVF023054 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 20 Apr 2017 11:42:11 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v3KBgA4A032574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 20 Apr 2017 11:42:11 GMT
Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3KBgAwj030357; Thu, 20 Apr 2017 11:42:10 GMT
Received: from Bills-Mac-Pro.local (/107.196.238.38) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 20 Apr 2017 04:42:09 -0700
From: Bill Baker <Bill.Baker@Oracle.com>
To: nfsv4@ietf.org
Cc: linux-nfs@vger.kernel.org, tina.hartshorn@Oracle.com
Message-ID: <b3f5e413-a148-4466-58dc-c2738afef20e@Oracle.com>
Date: Thu, 20 Apr 2017 06:42:08 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: aserv0022.oracle.com [141.146.126.234]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/kKhtdXGHTChID68s_Xacc31Rgf0>
Subject: [nfsv4] Venue change for bake-a-thon June 2017
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: Thu, 20 Apr 2017 11:42:14 -0000

Greetings,

After some discussion with Andy Adamson and others, I've
decided to offer the the Agnews auditorium on Oracle's
Santa Clara campus for this year's June bake-a-thon.  This
is the same facility used to host connectathon the last several
years.

I've reserved the auditorium for the week of June 26th.

Much as I like downtown Ann Arbor, the auditorium offers
more than ample space in a comfortable facility.  We would
like to continue the momentum of testing NFSoRDMA and the
extra equipment is not very practical at the workantile.

The usual suspects will be running the event:

Tina.Hartshorn@oracle.com - registration, facilities
Chad.Wasinger@oracle.com - network setup

If you have concerns with this plan, please voice them
here on-list, or to me privately.  Last thing I would want
to do is discourage participation via this venue change.

Feel free to forward this to other interested parties.

Regards,
-- 
Bill Baker - Oracle Solaris NFS development


From nobody Thu Apr 20 11:37:16 2017
Return-Path: <chuck.lever@oracle.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 0D604129BA1 for <nfsv4@ietfa.amsl.com>; Thu, 20 Apr 2017 11:37:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.001
X-Spam-Level: 
X-Spam-Status: No, score=-7.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-2.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
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 k4E7T7MPm7le for <nfsv4@ietfa.amsl.com>; Thu, 20 Apr 2017 11:37:14 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8BFE8129BA3 for <nfsv4@ietf.org>; Thu, 20 Apr 2017 11:37:11 -0700 (PDT)
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3KIb9OZ003648 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 20 Apr 2017 18:37:09 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v3KIb8xG029993 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 20 Apr 2017 18:37:09 GMT
Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3KIb8TB012483; Thu, 20 Apr 2017 18:37:08 GMT
Received: from anon-dhcp-171.1015granger.net (/68.46.169.226) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 20 Apr 2017 11:37:07 -0700
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <CAFt6Bak-5O+Pi15KbuwDJc8GYnR8Nh_zAz5iMhj4PLSja4YoAA@mail.gmail.com>
Date: Thu, 20 Apr 2017 14:37:07 -0400
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <F3D44191-298E-4361-8831-0709E8085C57@oracle.com>
References: <CAFt6Bak-5O+Pi15KbuwDJc8GYnR8Nh_zAz5iMhj4PLSja4YoAA@mail.gmail.com>
To: spencer shepler <spencer.shepler@gmail.com>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: aserv0022.oracle.com [141.146.126.234]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/nHo-kJ0dhPkJJ1tT72NtkriGrKY>
Subject: Re: [nfsv4] IETF 99 - July 16-21 - Prague (request for WG on meeting)
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: Thu, 20 Apr 2017 18:37:15 -0000

> On Apr 17, 2017, at 6:24 PM, spencer shepler =
<spencer.shepler@gmail.com> wrote:
>=20
>=20
> The working group and BOF scheduling for IETF 99 opened today.
>=20
> I would like to query the group to see if we have a need to meet in =
Prague.
>=20
> Please provide your feedback (first round at least) by the end of =
April.
> This should allow for travel approval and planning.

Just to get started, here are some possible topics.

Technical areas:

- NFS/RDMA next steps
- NFSv4.1 multi-path
- NFSv4.1 migration update

Process areas:

- WG charter clean up


--
Chuck Lever




From nobody Thu Apr 20 12:30:21 2017
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 A1AAB1315E4 for <nfsv4@ietfa.amsl.com>; Thu, 20 Apr 2017 12:30:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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] 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 twUuPgBKeyXH for <nfsv4@ietfa.amsl.com>; Thu, 20 Apr 2017 12:30:17 -0700 (PDT)
Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (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 7CC8D1315F2 for <nfsv4@ietf.org>; Thu, 20 Apr 2017 12:30:16 -0700 (PDT)
Received: by mail-io0-x232.google.com with SMTP id k87so83697606ioi.0 for <nfsv4@ietf.org>; Thu, 20 Apr 2017 12:30:16 -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=Z9s0Z7YIyNvtVSUGSViWnHfC6M1SkdNz3IWxZGKBhcU=; b=MSr2BQ5KUkQdwG85LGmJkcRo9y2+PRxFNDUen4QlCAZfBlvu2Q07xvv2NcSxV+SSNs 2pFHoJ4kWxcuTGnULH69KWrCjolzKvCIUmm+5or21NxCmN4/W4IJrRGNez9O01ItdcgA +INzA65d/7Sou9XA5ZbLJR8BDvveQZ/QJ3zCCF/KYYZ1FYDkvAm3uJtlbQFMLrUrmRuV gDeJ1WjMolfsVPUhXOcR2re9vqkrqKQ0djMQ6QtzXr4hFs2/xcvRYTFX8p9BvFmV8vK8 J5tdjdhkMy/INX3KV5wrEzyWK4lQOXjikxbG/+uPGguH1hgkPUPMOdViVs+rLLdxrGuJ iMqA==
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=Z9s0Z7YIyNvtVSUGSViWnHfC6M1SkdNz3IWxZGKBhcU=; b=MY+iQnp3rKg1fmD7zs/nKe872qqyA4xucQxxTbqWaxV7OzDk0JuG+dTFrYVQu73Z5W JTYmkcGPM0X36xrzvqHxAuIldX5azgsbjv8xzxO37L34jH1AQM8NVch4o/3z5XPK3SX+ QxvDfjDl2jjyPzY6Ab7UgQnC2md32weFnhgqLY2DHkFHnFTm5VBhFj+bmpJA2Y97Fn/V kZWu6ehPwzT4sqWSHvi9GDIyjof1lNfgwtK977kN4mH8Eu3x5ezQP/dngc1RCXkuoruD BekzQZqAlUkEwtCa3FF9X7uiG1gkxd3TLCV+rDzueHVDXOsctV89IbuA7RJeRGRM9Xti 6Pqg==
X-Gm-Message-State: AN3rC/4CW2etIu5QnDpUgENY4yOhcTW/e0UGh228yDjrbPBosk/3GPhj Lv50ZZveECT/K6+gOzmqggek3VPNuYMX
X-Received: by 10.36.228.12 with SMTP id o12mr5619439ith.83.1492716613135; Thu, 20 Apr 2017 12:30:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Thu, 20 Apr 2017 12:30:12 -0700 (PDT)
In-Reply-To: <F3D44191-298E-4361-8831-0709E8085C57@oracle.com>
References: <CAFt6Bak-5O+Pi15KbuwDJc8GYnR8Nh_zAz5iMhj4PLSja4YoAA@mail.gmail.com> <F3D44191-298E-4361-8831-0709E8085C57@oracle.com>
From: David Noveck <davenoveck@gmail.com>
Date: Thu, 20 Apr 2017 15:30:12 -0400
Message-ID: <CADaq8jf=5Rr72Kp3Ps6Li+GPNBU+F2UxSeuJyzcLgsLGXJUVHA@mail.gmail.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: spencer shepler <spencer.shepler@gmail.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c1113e679f72f054d9e2b0d
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/i1DFIaNRxmiXk1qoZFEnN3w8u5c>
Subject: Re: [nfsv4] IETF 99 - July 16-21 - Prague (request for WG on meeting)
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: Thu, 20 Apr 2017 19:30:19 -0000

--94eb2c1113e679f72f054d9e2b0d
Content-Type: text/plain; charset=UTF-8

> > I would like to query the group to see if we have a need to meet in
Prague.

We have a need to meet and Prague is an opportunity that we might take well
advantage of.

> > Please provide your feedback (first round at least) by the end of April.

My feedback is that we've got to stop not meeting like this.

I think the working group last met at IETF96 in Berlin.

Since then, we've had an unfortunate series of distant locations, and
unfortunate schedule conflicts, but the reasons we have not met is not that
we haven't had things to discuss.  As it will soon be a year since the last
meeting, the need has grown,

> > This should allow for travel approval and planning.

In some cases there might be travel disapproval, but if so, we should plan
to take advantage of the option of remote participation.

> Just to get started, here are some possible topics.

These are all possible topics for Prague but these are essential to come to
a conclusion.  A face-to-face discussion would be
preferred but if Prague is a logistical problem for some, it is better to
address them in a series of conference calls, than to
put them off for four to twelve months.

> Technical areas:

These are informed by technical needs, but the important question is how do
we move
these forward so process issues cannot be excluded from the discussion.

> - NFS/RDMA next steps

I agree that this is an important topic.

> - NFSv4.1 multi-path

I would like to discuss this but, if this is doable in NFSv4.0 without
major additional effort, we should address that as well.

> - NFSv4.1 migration update

I'll probably talk about this.

This may be early in the morning my time if travel approval doesn't work
out.  I just checked if
caffeine needed would be an allowable business expense for tax purposes but
the answer
seems to be no. :-(

> Process areas:

If you read our current charter, all of the items above are officially
out-of-scope. Sigh!

> - WG charter clean up

I believe this was discussed at IETF96 in Berlin but there was no firm
action plan.
I think it is long past time for this issue to be addressed and acted upon.


On Thu, Apr 20, 2017 at 2:37 PM, Chuck Lever <chuck.lever@oracle.com> wrote:

>
> > On Apr 17, 2017, at 6:24 PM, spencer shepler <spencer.shepler@gmail.com>
> wrote:
> >
> >
> > The working group and BOF scheduling for IETF 99 opened today.
> >
> > I would like to query the group to see if we have a need to meet in
> Prague.
> >
> > Please provide your feedback (first round at least) by the end of April.
> > This should allow for travel approval and planning.
>
> Just to get started, here are some possible topics.
>
> Technical areas:
>
> - NFS/RDMA next steps
> - NFSv4.1 multi-path
> - NFSv4.1 migration update
>
> Process areas:
>
> - WG charter clean up
>
>
> --
> Chuck Lever
>
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>

--94eb2c1113e679f72f054d9e2b0d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span class=3D"gmail-im" style=3D"font-size:12.8px">&gt; &=
gt; I would like to query the group to see if we have a need to meet in Pra=
gue.</span><div><span class=3D"gmail-im" style=3D"font-size:12.8px"><br></s=
pan></div><div><span class=3D"gmail-im" style=3D"font-size:12.8px">We have =
a need to meet and Prague is an opportunity that we might take well advanta=
ge of.<br></span><div><br></div><div><span class=3D"gmail-im" style=3D"font=
-size:12.8px">&gt; &gt; Please provide your feedback (first round at least)=
 by the end of April.</span></div><div><span class=3D"gmail-im" style=3D"fo=
nt-size:12.8px"><br></span></div><div><span class=3D"gmail-im" style=3D"fon=
t-size:12.8px">My feedback is that we&#39;ve got to stop not meeting like t=
his. =C2=A0=C2=A0</span></div><div><span class=3D"gmail-im" style=3D"font-s=
ize:12.8px"><br></span></div><div><span class=3D"gmail-im" style=3D"font-si=
ze:12.8px">I think the working group last met at IETF96 in Berlin.</span></=
div><div><span class=3D"gmail-im" style=3D"font-size:12.8px"><br></span></d=
iv><div><span class=3D"gmail-im" style=3D"font-size:12.8px">Since then, we&=
#39;ve had an unfortunate series of distant locations, and unfortunate sche=
dule conflicts, but the reasons we have not met is not that we haven&#39;t =
had things to discuss.=C2=A0 As it will soon be a year since the last meeti=
ng, the need has grown,</span></div><div><span class=3D"gmail-im" style=3D"=
font-size:12.8px"><br>&gt; &gt; This should allow for travel approval and p=
lanning.</span></div><div><span class=3D"gmail-im" style=3D"font-size:12.8p=
x"><br></span></div><div><span class=3D"gmail-im" style=3D"font-size:12.8px=
">In some cases there might be travel disapproval, but if so, we should pla=
n to take advantage of the option of remote participation.</span></div><div=
><span class=3D"gmail-im" style=3D"font-size:12.8px"><br></span><span style=
=3D"font-size:12.8px">&gt; Just to get started, here are some possible topi=
cs.</span></div><div><br></div><div>These are all possible topics for Pragu=
e but these are essential to come to a conclusion.=C2=A0 A face-to-face dis=
cussion would be=C2=A0</div><div>preferred but if Prague is a logistical pr=
oblem for some, it is better to address them in a series of conference call=
s, than to=C2=A0</div><div>put them off for four to twelve months.<br><br s=
tyle=3D"font-size:12.8px"><span style=3D"font-size:12.8px">&gt; Technical a=
reas:</span></div><div><br></div><div>These are informed by technical needs=
, but the important question is how do we move</div><div>these forward so p=
rocess issues cannot be excluded from the discussion.<br><br style=3D"font-=
size:12.8px"><span style=3D"font-size:12.8px">&gt; - NFS/RDMA next steps</s=
pan></div><div><br></div><div>I agree that this is an important topic.</div=
><div><br><span style=3D"font-size:12.8px">&gt; - NFSv4.1 multi-path</span>=
</div><div><br></div><div>I would like to discuss this but, if this is doab=
le in NFSv4.0 without major additional effort, we should address that as we=
ll.</div><div><br><span style=3D"font-size:12.8px">&gt; - NFSv4.1 migration=
 update</span></div><div><br></div><div>I&#39;ll probably talk about this.<=
/div><div><br></div><div>This may be early in the morning my time if travel=
 approval doesn&#39;t work out.=C2=A0 I just checked if=C2=A0</div><div>caf=
feine needed would be an allowable business expense for tax purposes but th=
e answer=C2=A0</div><div>seems to be no. :-(=C2=A0</div><div><br style=3D"f=
ont-size:12.8px"><span style=3D"font-size:12.8px">&gt; Process areas:</span=
></div><div><br></div><div>If you read our current charter, all of the item=
s above are officially out-of-scope. Sigh!<br style=3D"font-size:12.8px"><b=
r style=3D"font-size:12.8px"><span style=3D"font-size:12.8px">&gt; - WG cha=
rter clean up</span><br style=3D"font-size:12.8px"></div></div><div><span s=
tyle=3D"font-size:12.8px"><br></span></div><div><span style=3D"font-size:12=
.8px">I believe this was discussed at IETF96 in Berlin but there was no fir=
m action plan. =C2=A0=C2=A0</span></div><div><span style=3D"font-size:12.8p=
x">I think it is long=C2=A0</span><span style=3D"font-size:12.8px">past tim=
e for this issue to be addressed and acted upon. =C2=A0</span></div></div><=
div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Apr 20, 20=
17 at 2:37 PM, Chuck Lever <span dir=3D"ltr">&lt;<a href=3D"mailto:chuck.le=
ver@oracle.com" target=3D"_blank">chuck.lever@oracle.com</a>&gt;</span> wro=
te:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex"><span class=3D""><br>
&gt; On Apr 17, 2017, at 6:24 PM, spencer shepler &lt;<a href=3D"mailto:spe=
ncer.shepler@gmail.com">spencer.shepler@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; The working group and BOF scheduling for IETF 99 opened today.<br>
&gt;<br>
&gt; I would like to query the group to see if we have a need to meet in Pr=
ague.<br>
&gt;<br>
&gt; Please provide your feedback (first round at least) by the end of Apri=
l.<br>
&gt; This should allow for travel approval and planning.<br>
<br>
</span>Just to get started, here are some possible topics.<br>
<br>
Technical areas:<br>
<br>
- NFS/RDMA next steps<br>
- NFSv4.1 multi-path<br>
- NFSv4.1 migration update<br>
<br>
Process areas:<br>
<br>
- WG charter clean up<br>
<br>
<br>
--<br>
Chuck Lever<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4</a><br>
</blockquote></div><br></div>

--94eb2c1113e679f72f054d9e2b0d--


From nobody Thu Apr 20 14:29:00 2017
Return-Path: <tom@talpey.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 1477012E76A for <nfsv4@ietfa.amsl.com>; Thu, 20 Apr 2017 14:28:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
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 ZMW0Smfynm3n for <nfsv4@ietfa.amsl.com>; Thu, 20 Apr 2017 14:28:57 -0700 (PDT)
Received: from p3plsmtpa09-06.prod.phx3.secureserver.net (p3plsmtpa09-06.prod.phx3.secureserver.net [173.201.193.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 52552129C5E for <nfsv4@ietf.org>; Thu, 20 Apr 2017 14:28:57 -0700 (PDT)
Received: from [192.168.0.56] ([24.218.182.144]) by :SMTPAUTH: with SMTP id 1JcodkcLJtCbD1JcodRvoB; Thu, 20 Apr 2017 14:28:26 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com>
From: Tom Talpey <tom@talpey.com>
Message-ID: <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com>
Date: Thu, 20 Apr 2017 17:28:26 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfAtUlo38h2FhxOqd95hTFxZds/hwaJkNenkhFUl70NDE5T6xRJLNIOIlUpD0VHzNxxaZGkb/gQGuuMwaVj8ThiAxXndSr2Z9eBwdyV6pPZBDK3BzgWIa iXdyVTp8lmloItn4PnPMRFVSvOoeXMiyXIs3pSzzVzTWMSAmLGulhkZI
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/Eze8rCad4mw8K6ffikN4Whb7u7A>
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: Thu, 20 Apr 2017 21:28:59 -0000

On 4/19/2017 11:14 AM, Chuck Lever wrote:
> Hi Tom-
>
>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>
>> I noticed the same thing, and I'll add that the MUST reject condition
>> is very confusing because it allows an "or". In my opinion a MUST is
>> always a single requirement, never ambiguous.
>
> I agree this kind of thing is tricky. I wrote it as "the server MUST
> reject the RPC". That's the single requirement. The choice is how the
> rejection is conveyed to the client.

The statement "MUST reject" is not testable. So, while it may be
understood what is intended, there is nothing implementable in the
MUST. The "or" is a similar situation, it prescribes a choice, which
does not define a protocol.

>> Is there some reason you want to allow such a choice? I think you'll
>> find that, worded properly, it becomes actually much less implementable
>> and interoperable than you may think.
>
> The Solaris server can return an RPC-level error in cases like this.

Well, this is happening because the Solaris server is (probably) just
handing the chunk list up to the RPC layer, and it's the RPC (XDR)
processing that detects any problem.

On the other hand, an implementation could do the opposite, it could
process the chunks at the lower layer, before ever invoking RPC
processing. This would naturally lead to a non-RPC error.

The challenge in defining the protocol is to hide these possibilities.

> I think there are similar choices allowed in rfc5666bis. Let's say
> that in a perfect world, I would go with only ERR_CHUNK, but I'm
> documenting existing implementation behavior here.
>
> I'm not sure it matters to the client: both errors are permanent and
> the RPC is terminated on the client.
>
> I'm open to alternatives.

The icky way to do this is to split into two weak requirements.

    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 SHOULD reject the request by responding with an
    RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
    server MAY reject the RPC with an RDMA_MSG message containing an RPC
    Reply with an accept status of GARBAGE_ARGS.

This at least makes it clear which response is "preferred". And one
would hope a future draft would decide.

I have a second question though. How does the client determine what is
the actual error? As in, how many chunks were allowed? Does the upper
layer have to recover, and if so what are the implications?

Yes, I know 5667 did not explore this very well. Mea culpa.


Tom.



>> On 4/18/2017 6:32 PM, karen deitke wrote:
>>> Hi Chuck, its unclear what you mean by "is prepared to process" in the text below.
>>> 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*
>>>> Giventhat 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
>>>
>>
>> _______________________________________________
>> 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
>
>


From nobody Thu Apr 20 16:21:51 2017
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 125A41293FD for <nfsv4@ietfa.amsl.com>; Thu, 20 Apr 2017 16:21:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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] 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 ztsBncwTvfDn for <nfsv4@ietfa.amsl.com>; Thu, 20 Apr 2017 16:21:45 -0700 (PDT)
Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (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 5D0D6127A97 for <nfsv4@ietf.org>; Thu, 20 Apr 2017 16:21:45 -0700 (PDT)
Received: by mail-io0-x22a.google.com with SMTP id o22so100787747iod.3 for <nfsv4@ietf.org>; Thu, 20 Apr 2017 16:21:45 -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=McXmxjsiJY9D6N+VYAzC2Hht9AQzh5yGM9k8sMGC6UE=; b=b+9h5N8apixWbMo7MRF65JX3X9HcLRg92PUeaLgxg/KFfwDfOVcZFFXUGFp3au6IBF tzmzhD4COgU9mPOH1EdB0h9Cy1UQ11r37UHiz5E0ZwzqCb3wX4E0lRkOcFPa44tCcMRH w1C2VU3LVJuG6T6A/7TAE/hDJk2Pw51ZIKkHDTqkAmFT1jKlqJTRq6q76stItNTqyHhL pr8HU7Hkf4kSw8K9B949n62fIhWF+pNVod7c8u1JUwZhygcrWilZEpwpzBysujl5KS5/ 5jRg5d8pbfqBaEOQ5gOVd+4rDOPRzMO4jZXYGAZOF/y4xo1iYH5q8YUmJRUyywTL+Gle JKog==
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=McXmxjsiJY9D6N+VYAzC2Hht9AQzh5yGM9k8sMGC6UE=; b=Vh7y1ihfj11pj0x89Nf/HCj/lS6ryAfY2CJRHi+EPFBJp/zpRkYaJ8oxq12nGVM+t+ fef6ZGDJrllM4q41r6WUUMY6GMsnlFMFE/q8Kc+ORaYc07cbBR0dTbp1i7h7MsHvaIIw 4kNnB4wq9q8TTuxKXcaS9AUCZWfgpRDszBrWjn1suHVkq1Qcf6TvCdj/ItMTz84bR7Cw PfBk968ncT0wVag2gZaymYld57YmTYZnnhplYO7i2FrGFigHvAIIBvRAXEw+rseuRWjh 1GclvVh1kJhvqOnjTDoiV7eO+1Te6d37I6+Qc6YzVrptpE6ciRX9uziCASoP3UMv9h7O QxBg==
X-Gm-Message-State: AN3rC/6sVAgawXXzAzd7QZCDzJC9HYnLeVms/bnh2Jck1Z80eVEINKGH 9p1I8/F1LszKR7fk+kZ+lXKMTZLh0g==
X-Received: by 10.107.155.204 with SMTP id d195mr13300957ioe.21.1492730504454;  Thu, 20 Apr 2017 16:21:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Thu, 20 Apr 2017 16:21:43 -0700 (PDT)
In-Reply-To: <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com>
From: David Noveck <davenoveck@gmail.com>
Date: Thu, 20 Apr 2017 19:21:43 -0400
Message-ID: <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com>
To: Tom Talpey <tom@talpey.com>
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a1140415876a84a054da1676d
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/S1DicuA_VZLm9idlFBbxFJgZwHY>
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: Thu, 20 Apr 2017 23:21:49 -0000

--001a1140415876a84a054da1676d
Content-Type: text/plain; charset=UTF-8

> The "or" is a similar situation, it prescribes a choice, which
> does not define a protocol.

Fair enough, but the point that needs to be made is that, with
regard to Version One, Chuck and  the working group is not
free to define a protocol.  As a result we have the kind of
ugliness you object to, but it is inherent in the choice to try to
revive Version One as-is.

>   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 SHOULD reject the request by responding with an
>   RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>   server MAY reject the RPC with an RDMA_MSG message containing an RPC
>   Reply with an accept status of GARBAGE_ARGS.

I think I know what you intend here and I've seen stuff like this in RFCs
but I don't
wthink e can do this because this is not in line with the definitions of
"SHOULD"
and "MAY" that appear in RFC2119.

"SHOULD" means that you are supposed to do something but can avoid it if
you have a good reason and are aware of the consequences of not doing it.
In this case the "good" reason is that someone coded the implementation
to do something else, which is not all that good a reason.  The
consequences of
returning the GARBAGEARGS are exactly zero, since the client has to be
prepared
for either it or ERR_CHUNK.

"MAY" means the implementation can choose to do the action or not, which is
line
with the reality here but essentially contradicts the SHOULD.

> This at least makes it clear which response is "preferred".

But it is isn't really the job of the RFC2119 terms to say which is
"preferred" or
"'preferred'".  These terms are supposed to describe interoperability and
the
interoperability situation is that the server MUST return ERR_CHUNK or
 GARBAGEARGS and the client needs to be prepared for either.  That is the
unpleasant reality.  If you want to indicate a preference, you can say
something
like:

   - Returning ERR_CHUNK is preferrable.
   - Returinng ERR_CHUNK is more in line with the appropriate protocol
   layering since this issue relates to a limitation of the transport
   implementation.
   - Use of GARBAGEARGS is an unfortunate artifact of inappropriately
   layered implementations and is only allowed for reasons of compatibility
   with existing implementations.  It is desirable to avoid it.

> And one would hope a future draft would decide.

Not sure what draft you are thinking of.  I don't see us doing an
rfc5667bisbis (rfc5667tris).

By the time we did that, the implementations with these restrictions will
probably be gone.

> I have a second question though. How does the client determine what is
> the actual error? As in, how many chunks were allowed?

This is not fixable in Version One.  It would be in Version Two, but by then
the need will probably be gone.

> Does the upper
> layer have to recover, and if so what are the implications?

I think something could be put in to indicate that clients should break up
COMPOUNDS
so the only have a single chunk each.

> Yes, I know 5667 did not explore this very well.

It didn't explore it at all.  And 5666's error reporting facilities were
extremely limited.

> Mea culpa.

I don'tt think you have anything to apologize for.




On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> wrote:

>
>
> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>
>> Hi Tom-
>>
>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>>
>>> I noticed the same thing, and I'll add that the MUST reject condition
>>> is very confusing because it allows an "or". In my opinion a MUST is
>>> always a single requirement, never ambiguous.
>>>
>>
>> I agree this kind of thing is tricky. I wrote it as "the server MUST
>> reject the RPC". That's the single requirement. The choice is how the
>> rejection is conveyed to the client.
>>
>
> The statement "MUST reject" is not testable. So, while it may be
> understood what is intended, there is nothing implementable in the
> MUST. The "or" is a similar situation, it prescribes a choice, which
> does not define a protocol.
>
> Is there some reason you want to allow such a choice? I think you'll
>>> find that, worded properly, it becomes actually much less implementable
>>> and interoperable than you may think.
>>>
>>
>> The Solaris server can return an RPC-level error in cases like this.
>>
>
> Well, this is happening because the Solaris server is (probably) just
> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
> processing that detects any problem.
>
> On the other hand, an implementation could do the opposite, it could
> process the chunks at the lower layer, before ever invoking RPC
> processing. This would naturally lead to a non-RPC error.
>
> The challenge in defining the protocol is to hide these possibilities.
>
> I think there are similar choices allowed in rfc5666bis. Let's say
>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
>> documenting existing implementation behavior here.
>>
>> I'm not sure it matters to the client: both errors are permanent and
>> the RPC is terminated on the client.
>>
>> I'm open to alternatives.
>>
>
> The icky way to do this is to split into two weak requirements.
>
>    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 SHOULD reject the request by responding with an
>    RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>    server MAY reject the RPC with an RDMA_MSG message containing an RPC
>    Reply with an accept status of GARBAGE_ARGS.
>
> This at least makes it clear which response is "preferred". And one
> would hope a future draft would decide.
>
> I have a second question though. How does the client determine what is
> the actual error? As in, how many chunks were allowed? Does the upper
> layer have to recover, and if so what are the implications?
>
> Yes, I know 5667 did not explore this very well. Mea culpa.
>
>
>
> Tom.
>
>
>
> On 4/18/2017 6:32 PM, karen deitke wrote:
>>>
>>>> Hi Chuck, its unclear what you mean by "is prepared to process" in the
>>>> text below.
>>>> 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*
>>>>> Giventhat 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
>>>>
>>>>
>>> _______________________________________________
>>> 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
>>
>>
>>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>

--001a1140415876a84a054da1676d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">&gt;=C2=A0<span style=3D"font-size:16px">The &quot;or&quot=
; is a similar situation, it prescribes a choice, which</span><br style=3D"=
font-size:16px"><span style=3D"font-size:16px">&gt; does not define a proto=
col.</span><div><span style=3D"font-size:16px"><br></span></div><div><span =
style=3D"font-size:16px">Fair enough, but the point that needs to be made i=
s that, with</span></div><div><span style=3D"font-size:16px">regard to Vers=
ion One, Chuck and =C2=A0the working group is not</span></div><div><span st=
yle=3D"font-size:16px">free to define a protocol.=C2=A0 As a result we have=
 the kind of=C2=A0</span></div><div><span style=3D"font-size:16px">ugliness=
 you object to, but it is inherent in=C2=A0</span><span style=3D"font-size:=
16px">the choice to try to=C2=A0</span></div><div><span style=3D"font-size:=
16px">revive Version One as-is.</span></div><div><span style=3D"font-size:1=
6px"><br></span></div><div><span class=3D"gmail-im" style=3D"font-size:16px=
">&gt; =C2=A0 If an NFS version 4 client sends an RPC Call with a Read list=
 that<br>&gt; =C2=A0 contains more chunks than an NFS version 4 server is p=
repared to<br></span><span style=3D"font-size:16px">&gt; =C2=A0 process, th=
e server SHOULD reject the request by responding with an</span><br style=3D=
"font-size:16px"><span style=3D"font-size:16px">&gt; =C2=A0 RDMA_ERROR mess=
age with the rdma_err value set to ERR_CHUNK. The</span><br style=3D"font-s=
ize:16px"><span style=3D"font-size:16px">&gt; =C2=A0 server MAY reject the =
RPC with an RDMA_MSG message containing an RPC</span><br style=3D"font-size=
:16px"><span style=3D"font-size:16px">&gt; =C2=A0 Reply with an accept stat=
us of GARBAGE_ARGS.</span><span style=3D"font-size:16px"><br></span></div><=
div><br></div><div><span style=3D"font-size:16px">I think I know what you i=
ntend here and I&#39;ve seen stuff like this in RFCs but I don&#39;t</span>=
</div><div><span style=3D"font-size:16px">wthink e can do this because this=
 is not in line with the definitions of &quot;SHOULD&quot;=C2=A0</span></di=
v><div><span style=3D"font-size:16px">and=C2=A0</span><span style=3D"font-s=
ize:16px">&quot;MAY&quot; that appear in RFC2119.</span></div><div><span st=
yle=3D"font-size:16px"><br></span></div><div><span style=3D"font-size:16px"=
>&quot;SHOULD&quot; means that you are supposed to do something but can avo=
id it if</span></div><div><span style=3D"font-size:16px">you have a good re=
ason and are aware of the consequences of not doing it.</span></div><div><s=
pan style=3D"font-size:16px">In this case the &quot;good&quot; reason is th=
at someone coded the implementation</span></div><div><span style=3D"font-si=
ze:16px">to do something else, which is not all that good a reason.=C2=A0 T=
he consequences of=C2=A0</span></div><div><span style=3D"font-size:16px">re=
turning the GARBAGEARGS are exactly zero, since the client has to be prepar=
ed</span></div><div><span style=3D"font-size:16px">for either it or ERR_CHU=
NK.</span></div><div><span style=3D"font-size:16px"><br></span></div><div><=
span style=3D"font-size:16px">&quot;MAY&quot; means the implementation can =
choose to do the action or not, which is line</span></div><div><span style=
=3D"font-size:16px">with the reality here but essentially=C2=A0contradicts =
the SHOULD.</span></div><div><span style=3D"font-size:16px"><br></span></di=
v><div><span style=3D"font-size:16px">&gt; This at least makes it clear whi=
ch response is &quot;preferred&quot;.=C2=A0</span></div><div><span style=3D=
"font-size:16px"><br></span></div><div><span style=3D"font-size:16px">But i=
t is isn&#39;t really the job of the RFC2119 terms to say which is &quot;pr=
eferred&quot; or</span></div><div><span style=3D"font-size:16px">&quot;&#39=
;preferred&#39;&quot;.=C2=A0 These terms are supposed to describe interoper=
ability and the=C2=A0</span></div><div><span style=3D"font-size:16px">inter=
operability situation is that the server MUST return ERR_CHUNK or</span></d=
iv><div><span style=3D"font-size:16px">=C2=A0GARBAGEARGS and the client nee=
ds to be prepared for either.=C2=A0 That is the</span></div><div><span styl=
e=3D"font-size:16px">unpleasant reality.=C2=A0 If you want to indicate a pr=
eference, you can say something</span></div><div><span style=3D"font-size:1=
6px">like:</span></div><div><ul><li><span style=3D"font-size:16px">Returnin=
g ERR_CHUNK is preferrable.</span></li><li><span style=3D"font-size:16px">R=
eturinng ERR_CHUNK is more in line with the appropriate protocol layering s=
ince this issue relates to a limitation of the transport implementation.</s=
pan></li><li><span style=3D"font-size:16px">Use of GARBAGEARGS is an unfort=
unate artifact of inappropriately layered implementations and is only allow=
ed for reasons of compatibility with existing implementations.=C2=A0 It is =
desirable to avoid it.</span></li></ul></div><div><span style=3D"font-size:=
16px">&gt; And one=C2=A0</span><span style=3D"font-size:16px">would hope a =
future draft would decide.</span><span style=3D"font-size:16px"><br></span>=
</div><div><span style=3D"font-size:16px"><br></span></div><div><span style=
=3D"font-size:16px">Not sure what draft you are thinking of.=C2=A0 I don&#3=
9;t see us doing an rfc5667bisbis (rfc5667tris).</span></div><div><span sty=
le=3D"font-size:16px"><br></span></div><div><span style=3D"font-size:16px">=
By the time we did that, the implementations with these restrictions will p=
robably be gone.</span></div><div><span style=3D"font-size:16px"><br></span=
></div><div><span style=3D"font-size:16px">&gt; I have a second question th=
ough. How does the client determine what is</span><br style=3D"font-size:16=
px"><span style=3D"font-size:16px">&gt; the actual error? As in, how many c=
hunks were allowed?=C2=A0</span></div><div><span style=3D"font-size:16px"><=
br></span></div><div><span style=3D"font-size:16px">This is not fixable in =
Version One.=C2=A0 It would be in Version Two, but by then</span></div><div=
><span style=3D"font-size:16px">the need will probably be gone.</span></div=
><div><span style=3D"font-size:16px"><br></span></div><div><span style=3D"f=
ont-size:16px">&gt; Does the upper</span><br style=3D"font-size:16px"><span=
 style=3D"font-size:16px">&gt; layer have to recover, and if so what are th=
e implications?</span></div><div><br></div><div>I think something could be =
put in to indicate that clients should break up COMPOUNDS<br>so the only ha=
ve a single chunk each.=C2=A0<br style=3D"font-size:16px"><br style=3D"font=
-size:16px"><span style=3D"font-size:16px">&gt; Yes, I know 5667 did not ex=
plore this very well.=C2=A0</span></div><div><span style=3D"font-size:16px"=
><br></span></div><div><span style=3D"font-size:16px">It didn&#39;t explore=
 it at all.=C2=A0 And 5666&#39;s error reporting facilities were extremely =
limited.</span></div><div><span style=3D"font-size:16px"><br></span></div><=
div><span style=3D"font-size:16px">&gt; Mea culpa.</span><span style=3D"fon=
t-size:16px"><br></span></div><div><span style=3D"font-size:16px"><br></spa=
n></div><div><span style=3D"font-size:16px">I don&#39;tt think you have any=
thing to apologize=C2=A0for.</span></div><div><span style=3D"font-size:16px=
"><br></span></div><div><span style=3D"font-size:16px"><br></span></div><di=
v><span style=3D"font-size:16px"><br></span></div></div><div class=3D"gmail=
_extra"><br><div class=3D"gmail_quote">On Thu, Apr 20, 2017 at 5:28 PM, Tom=
 Talpey <span dir=3D"ltr">&lt;<a href=3D"mailto:tom@talpey.com" target=3D"_=
blank">tom@talpey.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x"><span class=3D""><br>
<br>
On 4/19/2017 11:14 AM, Chuck Lever wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi Tom-<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On Apr 18, 2017, at 11:08 PM, Tom Talpey &lt;<a href=3D"mailto:tom@talpey.c=
om" target=3D"_blank">tom@talpey.com</a>&gt; wrote:<br>
<br>
I noticed the same thing, and I&#39;ll add that the MUST reject condition<b=
r>
is very confusing because it allows an &quot;or&quot;. In my opinion a MUST=
 is<br>
always a single requirement, never ambiguous.<br>
</blockquote>
<br>
I agree this kind of thing is tricky. I wrote it as &quot;the server MUST<b=
r>
reject the RPC&quot;. That&#39;s the single requirement. The choice is how =
the<br>
rejection is conveyed to the client.<br>
</blockquote>
<br></span>
The statement &quot;MUST reject&quot; is not testable. So, while it may be<=
br>
understood what is intended, there is nothing implementable in the<br>
MUST. The &quot;or&quot; is a similar situation, it prescribes a choice, wh=
ich<br>
does not define a protocol.<span class=3D""><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there some reason you want to allow such a choice? I think you&#39;ll<br=
>
find that, worded properly, it becomes actually much less implementable<br>
and interoperable than you may think.<br>
</blockquote>
<br>
The Solaris server can return an RPC-level error in cases like this.<br>
</blockquote>
<br></span>
Well, this is happening because the Solaris server is (probably) just<br>
handing the chunk list up to the RPC layer, and it&#39;s the RPC (XDR)<br>
processing that detects any problem.<br>
<br>
On the other hand, an implementation could do the opposite, it could<br>
process the chunks at the lower layer, before ever invoking RPC<br>
processing. This would naturally lead to a non-RPC error.<br>
<br>
The challenge in defining the protocol is to hide these possibilities.<span=
 class=3D""><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I think there are similar choices allowed in rfc5666bis. Let&#39;s say<br>
that in a perfect world, I would go with only ERR_CHUNK, but I&#39;m<br>
documenting existing implementation behavior here.<br>
<br>
I&#39;m not sure it matters to the client: both errors are permanent and<br=
>
the RPC is terminated on the client.<br>
<br>
I&#39;m open to alternatives.<br>
</blockquote>
<br></span>
The icky way to do this is to split into two weak requirements.<span class=
=3D""><br>
<br>
=C2=A0 =C2=A0If an NFS version 4 client sends an RPC Call with a Read list =
that<br>
=C2=A0 =C2=A0contains more chunks than an NFS version 4 server is prepared =
to<br></span>
=C2=A0 =C2=A0process, the server SHOULD reject the request by responding wi=
th an<br>
=C2=A0 =C2=A0RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. T=
he<br>
=C2=A0 =C2=A0server MAY reject the RPC with an RDMA_MSG message containing =
an RPC<br>
=C2=A0 =C2=A0Reply with an accept status of GARBAGE_ARGS.<br>
<br>
This at least makes it clear which response is &quot;preferred&quot;. And o=
ne<br>
would hope a future draft would decide.<br>
<br>
I have a second question though. How does the client determine what is<br>
the actual error? As in, how many chunks were allowed? Does the upper<br>
layer have to recover, and if so what are the implications?<br>
<br>
Yes, I know 5667 did not explore this very well. Mea culpa.<div class=3D"HO=
EnZb"><div class=3D"h5"><br>
<br>
<br>
Tom.<br>
<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 4/18/2017 6:32 PM, karen deitke wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi Chuck, its unclear what you mean by &quot;is prepared to process&quot; i=
n the text below.<br>
Other than that, looks good.<br>
<br>
Karen<br>
<br>
5.4.1<br>
=C2=A0 If an NFS version 4 client sends an RPC Call with a Write list that<=
br>
=C2=A0 contains more chunks than an NFS version 4 server is prepared to<br>
=C2=A0 process, the server MUST reject the RPC by responding with an<br>
=C2=A0 RDMA_ERROR message with the rdma_err value set to ERR_CHUNK.<br>
<br>
<br>
=C2=A0 If an NFS version 4 client sends an RPC Call with a Read list that<b=
r>
=C2=A0 contains more chunks than an NFS version 4 server is prepared to<br>
=C2=A0 process, the server MUST reject the RPC by responding with an<br>
=C2=A0 RDMA_MSG message containing an RPC Reply with an accept status of<br=
>
=C2=A0 GARBAGE_ARGS, or with an RDMA_ERROR message with the rdma_err value<=
br>
=C2=A0 set to ERR_CHUNK.<br>
<br>
<br>
On 4/18/2017 1:21 PM, David Noveck wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
*Overall Evaluation*<br>
*<br>
*<br>
Major improvement over RFC5667.=C2=A0 Almost ready to ship.=C2=A0 No techni=
cal<br>
issues.<br>
<br>
A lot of my comments are basically editorial and are offered on a<br>
take-it-or-lease-it basis.<br>
<br>
I think some clarification in Section 5.4.1 is needed although not<br>
necessarily in the ways suggested below,<br>
<br>
*Comments by Section*<br>
*5.4.1. Multiple DDP-eligible Data Items*<br>
Giventhat READ_PLUS no longer has any DDP-eligible data items, the<br>
situation described in the fifth bullet can no longer arise. I suggest<br>
deleting the bullet.<br>
The penultimate paragraph can be read as applying to some situations<br>
in which it shouldn&#39;t and where the extra chunks would very naturally<b=
r>
ignored. For example, if you had on write chunk together with a READ<br>
operation which failed, the server would have more chunks (i.e. one)<br>
than the number it is prepared to process (i.e. zero). Suggest, as a<br>
possible replacement:<br>
<br>
=C2=A0 =C2=A0Normally, when an NFS version 4 client sends an RPC Call with =
a<br>
=C2=A0 =C2=A0Write list that contains multiple chunks. each such, when matc=
hed<br>
=C2=A0 =C2=A0with a DDP-eligible data item in the response, directs the<br>
=C2=A0 =C2=A0placement of the data item as specified by<br>
=C2=A0 =C2=A0[I.D.-nfsv4-rfc5666bis]. When there are DDP-eligible data item=
s<br>
=C2=A0 =C2=A0matched to write chunks that an NFS version 4 server is not<br=
>
=C2=A0 =C2=A0prepared to process, the server MUST reject the RPC by respond=
ing<br>
=C2=A0 =C2=A0with an RDMA_ERROR message with the rdma_err value set to ERR_=
CHUNK.<br>
<br>
With regard to the last paragraph, I am curious that this paragraph,<br>
unlike the previous one, allows GARBGEARGS. Is this so because that<br>
would be allowed if the chunks in question had offsets other than<br>
those that correspond to DDP-eligible data items? If so, please<br>
consider the following possible replacement.<br>
<br>
=C2=A0 =C2=A0Normally, when an NFS version 4 client sends an RPC Call with =
a<br>
=C2=A0 =C2=A0Read list that contains multiple chunks, each such, when prope=
rly<br>
=C2=A0 =C2=A0matched with a DDP-eliigible data item in the request, directs=
 the<br>
=C2=A0 =C2=A0fetching of the the data item as specified by<br>
=C2=A0 =C2=A0[I.D.-nfsv4-rfc5666bis]. When there are DDP-eligible data item=
s<br>
=C2=A0 =C2=A0matched to read chunks that an NFS version 4 server is not<br>
=C2=A0 =C2=A0prepared to process, the server MUST reject the RPC by respond=
ing<br>
=C2=A0 =C2=A0with an RDMA_ERROR message with the rdma_err value set to ERR_=
CHUNK.<br>
<br>
*5.6. Session-Related Considerations*<br>
In the third sentence of the second paragraph, suggest replacing &quot;no<b=
r>
different&quot; by &quot;not different&quot;.<br>
In the last sentence of the last paragraph, suggest replacing &quot;is not&=
quot;<br>
by &quot;were not&quot;<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
</blockquote>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
<br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
</blockquote>
<br>
--<br>
Chuck Lever<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
<br>
<br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
</div></div></blockquote></div><br></div>

--001a1140415876a84a054da1676d--


From nobody Fri Apr 21 07:28:56 2017
Return-Path: <hch@lst.de>
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 15830128656 for <nfsv4@ietfa.amsl.com>; Fri, 21 Apr 2017 07:28:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 ISepEC-O2utY for <nfsv4@ietfa.amsl.com>; Fri, 21 Apr 2017 07:28:54 -0700 (PDT)
Received: from newverein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 12B31127873 for <nfsv4@ietf.org>; Fri, 21 Apr 2017 07:28:53 -0700 (PDT)
Received: by newverein.lst.de (Postfix, from userid 2407) id 3F85768D73; Fri, 21 Apr 2017 16:28:52 +0200 (CEST)
Date: Fri, 21 Apr 2017 16:28:52 +0200
From: Christoph Hellwig <hch@lst.de>
To: spencer shepler <spencer.shepler@gmail.com>
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Message-ID: <20170421142852.GA30579@lst.de>
References: <CAFt6Bak-5O+Pi15KbuwDJc8GYnR8Nh_zAz5iMhj4PLSja4YoAA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAFt6Bak-5O+Pi15KbuwDJc8GYnR8Nh_zAz5iMhj4PLSja4YoAA@mail.gmail.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/aScKMXg65vgk4kZBFw6oKpWPU0I>
Subject: Re: [nfsv4] IETF 99 - July 16-21 - Prague (request for WG on meeting)
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: Fri, 21 Apr 2017 14:28:55 -0000

I would like to meet.

Now that the scsi layout should be done I'd like to restart work on
the "Using the Parallel NFS (pNFS) SCSI Layout with NVMe" draft and there
might be some issues.

I've also been prototyping a RDMA layout for byte addressable storage,
for which I hope to have a draft by then, and I'd love to join the
general discussion of RDMA topics.


From nobody Fri Apr 21 07:43:58 2017
Return-Path: <chuck.lever@oracle.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 8F2CD1294DC for <nfsv4@ietfa.amsl.com>; Fri, 21 Apr 2017 07:43:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level: 
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 06Re3aZkAsaP for <nfsv4@ietfa.amsl.com>; Fri, 21 Apr 2017 07:43:54 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3C4221294A8 for <nfsv4@ietf.org>; Fri, 21 Apr 2017 07:43:54 -0700 (PDT)
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3LEhqh4013331 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Apr 2017 14:43:52 GMT
Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v3LEhp27020648 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Apr 2017 14:43:52 GMT
Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3LEhpOK029739; Fri, 21 Apr 2017 14:43:51 GMT
Received: from anon-dhcp-171.1015granger.net (/68.46.169.226) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 21 Apr 2017 07:43:51 -0700
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com>
Date: Fri, 21 Apr 2017 10:43:50 -0400
Cc: Tom Talpey <tom@talpey.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com>
To: David Noveck <davenoveck@gmail.com>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: userv0021.oracle.com [156.151.31.71]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/ysjNehyFancR9qRD5Osp4yeIIqk>
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: Fri, 21 Apr 2017 14:43:57 -0000

I agree that SHOULD/MAY makes things cloudier, and does not
seem to align with well-defined RFC2119 usage.

Another way we've dealt with similar disagreements between
specification and implementation is to decide that one of
the implementations is incorrect.

Can we agree that:

- GARBAGE_ARGS is a bit of a layering violation, though it's
understandable why it might be returned

- RPC clients are already prepared for GARBAGE_ARGS

- In RPC-over-RDMA Version One, we are not trying to recover
(in the sense of resending a simpler COMPOUND) but are rather
trying to ensure the offending RPC is properly terminated on
the client, and does not further block other RPCs or deadlock
the transport

Thus I claim it is harmless if a server returns GARBAGE_ARGS
instead of ERR_CHUNK.

As a result, I can change the Read list text in S5.4.1 to be
the same as the Write list text, removing the mention of
GARBAGE_ARGS.

Would that sit comfortably with everyone?


> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com> =
wrote:
>=20
> > The "or" is a similar situation, it prescribes a choice, which
> > does not define a protocol.
>=20
> Fair enough, but the point that needs to be made is that, with
> regard to Version One, Chuck and  the working group is not
> free to define a protocol.  As a result we have the kind of=20
> ugliness you object to, but it is inherent in the choice to try to=20
> revive Version One as-is.
>=20
> >   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 SHOULD reject the request by responding with =
an
> >   RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
> >   server MAY reject the RPC with an RDMA_MSG message containing an =
RPC
> >   Reply with an accept status of GARBAGE_ARGS.
>=20
> I think I know what you intend here and I've seen stuff like this in =
RFCs but I don't
> wthink e can do this because this is not in line with the definitions =
of "SHOULD"=20
> and "MAY" that appear in RFC2119.
>=20
> "SHOULD" means that you are supposed to do something but can avoid it =
if
> you have a good reason and are aware of the consequences of not doing =
it.
> In this case the "good" reason is that someone coded the =
implementation
> to do something else, which is not all that good a reason.  The =
consequences of=20
> returning the GARBAGEARGS are exactly zero, since the client has to be =
prepared
> for either it or ERR_CHUNK.
>=20
> "MAY" means the implementation can choose to do the action or not, =
which is line
> with the reality here but essentially contradicts the SHOULD.
>=20
> > This at least makes it clear which response is "preferred".=20
>=20
> But it is isn't really the job of the RFC2119 terms to say which is =
"preferred" or
> "'preferred'".  These terms are supposed to describe interoperability =
and the=20
> interoperability situation is that the server MUST return ERR_CHUNK or
>  GARBAGEARGS and the client needs to be prepared for either.  That is =
the
> unpleasant reality.  If you want to indicate a preference, you can say =
something
> like:
> 	=E2=80=A2 Returning ERR_CHUNK is preferrable.
> 	=E2=80=A2 Returinng ERR_CHUNK is more in line with the =
appropriate protocol layering since this issue relates to a limitation =
of the transport implementation.
> 	=E2=80=A2 Use of GARBAGEARGS is an unfortunate artifact of =
inappropriately layered implementations and is only allowed for reasons =
of compatibility with existing implementations.  It is desirable to =
avoid it.
> > And one would hope a future draft would decide.
>=20
> Not sure what draft you are thinking of.  I don't see us doing an =
rfc5667bisbis (rfc5667tris).
>=20
> By the time we did that, the implementations with these restrictions =
will probably be gone.
>=20
> > I have a second question though. How does the client determine what =
is
> > the actual error? As in, how many chunks were allowed?=20
>=20
> This is not fixable in Version One.  It would be in Version Two, but =
by then
> the need will probably be gone.
>=20
> > Does the upper
> > layer have to recover, and if so what are the implications?
>=20
> I think something could be put in to indicate that clients should =
break up COMPOUNDS
> so the only have a single chunk each.=20
>=20
> > Yes, I know 5667 did not explore this very well.=20
>=20
> It didn't explore it at all.  And 5666's error reporting facilities =
were extremely limited.
>=20
> > Mea culpa.
>=20
> I don'tt think you have anything to apologize for.
>=20
>=20
>=20
>=20
> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> wrote:
>=20
>=20
> On 4/19/2017 11:14 AM, Chuck Lever wrote:
> Hi Tom-
>=20
> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>=20
> I noticed the same thing, and I'll add that the MUST reject condition
> is very confusing because it allows an "or". In my opinion a MUST is
> always a single requirement, never ambiguous.
>=20
> I agree this kind of thing is tricky. I wrote it as "the server MUST
> reject the RPC". That's the single requirement. The choice is how the
> rejection is conveyed to the client.
>=20
> The statement "MUST reject" is not testable. So, while it may be
> understood what is intended, there is nothing implementable in the
> MUST. The "or" is a similar situation, it prescribes a choice, which
> does not define a protocol.
>=20
> Is there some reason you want to allow such a choice? I think you'll
> find that, worded properly, it becomes actually much less =
implementable
> and interoperable than you may think.
>=20
> The Solaris server can return an RPC-level error in cases like this.
>=20
> Well, this is happening because the Solaris server is (probably) just
> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
> processing that detects any problem.
>=20
> On the other hand, an implementation could do the opposite, it could
> process the chunks at the lower layer, before ever invoking RPC
> processing. This would naturally lead to a non-RPC error.
>=20
> The challenge in defining the protocol is to hide these possibilities.
>=20
> I think there are similar choices allowed in rfc5666bis. Let's say
> that in a perfect world, I would go with only ERR_CHUNK, but I'm
> documenting existing implementation behavior here.
>=20
> I'm not sure it matters to the client: both errors are permanent and
> the RPC is terminated on the client.
>=20
> I'm open to alternatives.
>=20
> The icky way to do this is to split into two weak requirements.
>=20
>    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 SHOULD reject the request by responding with an
>    RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>    server MAY reject the RPC with an RDMA_MSG message containing an =
RPC
>    Reply with an accept status of GARBAGE_ARGS.
>=20
> This at least makes it clear which response is "preferred". And one
> would hope a future draft would decide.
>=20
> I have a second question though. How does the client determine what is
> the actual error? As in, how many chunks were allowed? Does the upper
> layer have to recover, and if so what are the implications?
>=20
> Yes, I know 5667 did not explore this very well. Mea culpa.
>=20
>=20
>=20
> Tom.
>=20
>=20
>=20
> On 4/18/2017 6:32 PM, karen deitke wrote:
> Hi Chuck, its unclear what you mean by "is prepared to process" in the =
text below.
> Other than that, looks good.
>=20
> Karen
>=20
> 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.
>=20
>=20
>   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.
>=20
>=20
> On 4/18/2017 1:21 PM, David Noveck wrote:
> *Overall Evaluation*
> *
> *
> Major improvement over RFC5667.  Almost ready to ship.  No technical
> issues.
>=20
> A lot of my comments are basically editorial and are offered on a
> take-it-or-lease-it basis.
>=20
> I think some clarification in Section 5.4.1 is needed although not
> necessarily in the ways suggested below,
>=20
> *Comments by Section*
> *5.4.1. Multiple DDP-eligible Data Items*
> Giventhat 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:
>=20
>    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.
>=20
> 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.
>=20
>    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.
>=20
> *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"
>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>=20
>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>=20
> --
> Chuck Lever
>=20
>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>=20
>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

--
Chuck Lever




From nobody Fri Apr 21 08:00:25 2017
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 9FF1712950C for <nfsv4@ietfa.amsl.com>; Fri, 21 Apr 2017 08:00:23 -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 jcBd0fjmuJYK for <nfsv4@ietfa.amsl.com>; Fri, 21 Apr 2017 08:00:19 -0700 (PDT)
Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (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 6C96512956C for <nfsv4@ietf.org>; Fri, 21 Apr 2017 08:00:19 -0700 (PDT)
Received: by mail-io0-x231.google.com with SMTP id a103so123211732ioj.1 for <nfsv4@ietf.org>; Fri, 21 Apr 2017 08:00:19 -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=qiEEsvM+e2Hk/erLOM9Xh5zCaxqptoFELhzwNGjSJcc=; b=KBc+W3P6bjbLddzoqS3Q4ySBc8CawUapAvz8oJCoZr8ndO5zuY46uAzgOybKiGp2kq TsabdwvKz9LqEIQdlm+w7gFMOsP6vVF7Fqv+0N2nB3bn4sMzuc5JoQ4wlGM0qPT9zNWY ++AOs78/KNf4j8/vduc6uIpOiKgLlfisTMZfVk01MwBicurbW/RWWLg0E3MWgmov8Tdh yzsDTnZdxgyLoCn1kL77nh8y6lwBqR5wnQfszRDk3bxdpTxU98aPKelSZ6SQV0iiKCIv h1+tugEGmKDmGSoW6NrYo4mf2D0wdzoVHIPOnN1NmLsXoCd8o6SunAWem8OnrkWslxcK q8CQ==
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=qiEEsvM+e2Hk/erLOM9Xh5zCaxqptoFELhzwNGjSJcc=; b=k52AM7e4EqLAcmNrcbWNKMrkhMBzcA7Qg3+4CYA9ULykxNIxqCdXxtqWJtmMgrajFU cImjEs9TE5V0SN4uHpYg+9VzsRt/59UtAEdDveOSul70T4nUMGHMrO70b8g+jgWsMt3c mFGeFnIfqlmq2m9xiINIaop6l77XugfwPja77FOGYmRyRbibEhUiqUFRRjLQwgGg/EY9 iQW0PQSfDZS2m5f6UlO91+rBiLbzwKDR9v3MduCOTUI73ubVYbWA4wIsH+WYa/ZT8RW9 zoIoAQ+6uFx67i124cFLD0GSTjIKKLVxtcY8s8OnE0EQ/ihX66tybQACgXTgMz0O+c6i v0gQ==
X-Gm-Message-State: AN3rC/7Splje0bwHHVVaO+r3vFkQ+5IdhCN++9oejnvLRp1TUJI3pHsG 9JPDLTOtGXUrZNphDlHsA7BWOoJv5g==
X-Received: by 10.36.22.85 with SMTP id a82mr10857191ita.83.1492786760153; Fri, 21 Apr 2017 07:59:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Fri, 21 Apr 2017 07:59:19 -0700 (PDT)
In-Reply-To: <20170421142852.GA30579@lst.de>
References: <CAFt6Bak-5O+Pi15KbuwDJc8GYnR8Nh_zAz5iMhj4PLSja4YoAA@mail.gmail.com> <20170421142852.GA30579@lst.de>
From: David Noveck <davenoveck@gmail.com>
Date: Fri, 21 Apr 2017 10:59:19 -0400
Message-ID: <CADaq8jeOw6B4o3evCw7eKP=f9Mjr2Ohg+1LCHPF0fM77m5ff4w@mail.gmail.com>
To: Christoph Hellwig <hch@lst.de>
Cc: spencer shepler <spencer.shepler@gmail.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a11452daa9081cc054dae80b9
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/lsDkJyELO9HrV2eMm6HvYnoM3CE>
Subject: Re: [nfsv4] IETF 99 - July 16-21 - Prague (request for WG on meeting)
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: Fri, 21 Apr 2017 15:00:24 -0000

--001a11452daa9081cc054dae80b9
Content-Type: text/plain; charset=UTF-8

> I would like to meet.

It is starting to look as though  the question will not be whether we have
a session but how many.

> Now that the scsi layout should be done

I noticed this was finally put into AUTH48 :-)

> I'd like to restart work on
> the "Using the Parallel NFS (pNFS) SCSI Layout with NVMe" draft

That would be nice.

> and there
> might be some issues.

Not sure what issues you are referring  to, but I would like to hear about
this
work.

> I've also been prototyping a RDMA layout for byte addressable storage,
> for which I hope to have a draft by then,


Would like to see this as soon as possible,but spec submission blackout
might get
in the way.  So, if it does get in the way, we could look at the slideware
at the
meeting and read the draft as soon as it is available.

> and I'd love to join the
> general discussion of RDMA topics.

Sounds good.



On Fri, Apr 21, 2017 at 10:28 AM, Christoph Hellwig <hch@lst.de> wrote:

> I would like to meet.
>
> Now that the scsi layout should be done I'd like to restart work on
> the "Using the Parallel NFS (pNFS) SCSI Layout with NVMe" draft and there
> might be some issues.
>
> I've also been prototyping a RDMA layout for byte addressable storage,
> for which I hope to have a draft by then, and I'd love to join the
> general discussion of RDMA topics.
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>

--001a11452daa9081cc054dae80b9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-size:12.8px">&gt; I would like to meet=
.</span><br><div><span style=3D"font-size:12.8px"><br></span></div><div><sp=
an style=3D"font-size:12.8px">It is starting to look as though =C2=A0the qu=
estion will not be whether we have a session but how many.</span></div><div=
><span style=3D"font-size:12.8px"><br></span></div><div><span style=3D"font=
-size:12.8px">&gt; Now that the scsi layout should be done=C2=A0</span></di=
v><div><span style=3D"font-size:12.8px"><br></span></div><div><span style=
=3D"font-size:12.8px">I noticed this was finally put into AUTH48 :-)</span>=
</div><div><span style=3D"font-size:12.8px"><br></span></div><div><span sty=
le=3D"font-size:12.8px">&gt; I&#39;d like to restart work on</span><br styl=
e=3D"font-size:12.8px"><span style=3D"font-size:12.8px">&gt; the &quot;Usin=
g the Parallel NFS (pNFS) SCSI Layout with NVMe&quot; draft=C2=A0</span></d=
iv><div><span style=3D"font-size:12.8px"><br></span></div><div><span style=
=3D"font-size:12.8px">That would be nice.</span></div><div><span style=3D"f=
ont-size:12.8px"><br></span></div><div><span style=3D"font-size:12.8px">&gt=
; and there</span><br style=3D"font-size:12.8px"><span style=3D"font-size:1=
2.8px">&gt; might be some issues.</span><span style=3D"font-size:12.8px"><b=
r></span></div><div><span style=3D"font-size:12.8px"><br></span></div><div>=
<span style=3D"font-size:12.8px">Not sure what issues you are referring =C2=
=A0to, but I would like to hear about this</span></div><div><span style=3D"=
font-size:12.8px">work.=C2=A0</span></div><div><span style=3D"font-size:12.=
8px"><br></span></div><div><span style=3D"font-size:12.8px">&gt; I&#39;ve a=
lso been prototyping a RDMA layout for byte addressable storage,</span></di=
v><span style=3D"font-size:12.8px">&gt; for which I hope to have a draft by=
 then,=C2=A0</span><div><span style=3D"font-size:12.8px"><br></span></div><=
div><span style=3D"font-size:12.8px"><br></span></div><div><span style=3D"f=
ont-size:12.8px">Would like to see this as soon as possible,but spec submis=
sion=C2=A0blackout might get</span></div><div><span style=3D"font-size:12.8=
px">in the way.=C2=A0 So, if it does get in the way, we could look at the s=
lideware at the</span></div><div><span style=3D"font-size:12.8px">meeting a=
nd read the draft as soon as it is available.</span></div><div><span style=
=3D"font-size:12.8px"><br></span></div><div><span style=3D"font-size:12.8px=
">&gt; and I&#39;d love to join the</span><br style=3D"font-size:12.8px"><s=
pan style=3D"font-size:12.8px">&gt; general discussion of RDMA topics.</spa=
n></div><div><span style=3D"font-size:12.8px"><br>Sounds good.<br></span><d=
iv><span style=3D"font-size:12.8px"><br></span></div><div><span style=3D"fo=
nt-size:12.8px"><br></span></div></div></div><div class=3D"gmail_extra"><br=
><div class=3D"gmail_quote">On Fri, Apr 21, 2017 at 10:28 AM, Christoph Hel=
lwig <span dir=3D"ltr">&lt;<a href=3D"mailto:hch@lst.de" target=3D"_blank">=
hch@lst.de</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I would =
like to meet.<br>
<br>
Now that the scsi layout should be done I&#39;d like to restart work on<br>
the &quot;Using the Parallel NFS (pNFS) SCSI Layout with NVMe&quot; draft a=
nd there<br>
might be some issues.<br>
<br>
I&#39;ve also been prototyping a RDMA layout for byte addressable storage,<=
br>
for which I hope to have a draft by then, and I&#39;d love to join the<br>
general discussion of RDMA topics.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4</a><br>
</div></div></blockquote></div><br></div>

--001a11452daa9081cc054dae80b9--


From nobody Sat Apr 22 08:28:37 2017
Return-Path: <chuck.lever@oracle.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 2A2B01274D0 for <nfsv4@ietfa.amsl.com>; Sat, 22 Apr 2017 08:28:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
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 aSxOSgxrR7qp for <nfsv4@ietfa.amsl.com>; Sat, 22 Apr 2017 08:28:35 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0C8FA12009C for <nfsv4@ietf.org>; Sat, 22 Apr 2017 08:28:35 -0700 (PDT)
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3MFSVBv003937 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 22 Apr 2017 15:28:32 GMT
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v3MFSVkv012645 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 22 Apr 2017 15:28:31 GMT
Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v3MFSTxk004524; Sat, 22 Apr 2017 15:28:29 GMT
Received: from anon-dhcp-171.1015granger.net (/68.46.169.226) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 22 Apr 2017 08:28:29 -0700
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <20170421142852.GA30579@lst.de>
Date: Sat, 22 Apr 2017 11:28:28 -0400
Cc: spencer shepler <spencer.shepler@gmail.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Transfer-Encoding: 7bit
Message-Id: <52553727-6395-40C8-B07D-61C29693E5BB@oracle.com>
References: <CAFt6Bak-5O+Pi15KbuwDJc8GYnR8Nh_zAz5iMhj4PLSja4YoAA@mail.gmail.com> <20170421142852.GA30579@lst.de>
To: Christoph Hellwig <hch@lst.de>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/pc1VXyXMPFuWl3IFT9sJ5R5uTvw>
Subject: Re: [nfsv4] IETF 99 - July 16-21 - Prague (request for WG on meeting)
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: Sat, 22 Apr 2017 15:28:36 -0000

> On Apr 21, 2017, at 10:28 AM, Christoph Hellwig <hch@lst.de> wrote:
> 
> I would like to meet.
> 
> Now that the scsi layout should be done I'd like to restart work on
> the "Using the Parallel NFS (pNFS) SCSI Layout with NVMe" draft and there
> might be some issues.
> 
> I've also been prototyping a RDMA layout for byte addressable storage,
> for which I hope to have a draft by then, and I'd love to join the
> general discussion of RDMA topics.

I have cycles to help with a draft, if you'd like to offload
some of that work.


--
Chuck Lever




From nobody Sun Apr 23 01:14:13 2017
Return-Path: <hch@lst.de>
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 4E3891292CE for <nfsv4@ietfa.amsl.com>; Sun, 23 Apr 2017 01:14:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 pYAJ-eBK3UsN for <nfsv4@ietfa.amsl.com>; Sun, 23 Apr 2017 01:14:10 -0700 (PDT)
Received: from newverein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E08E128D69 for <nfsv4@ietf.org>; Sun, 23 Apr 2017 01:14:09 -0700 (PDT)
Received: by newverein.lst.de (Postfix, from userid 2407) id 194F768D6E; Sun, 23 Apr 2017 10:14:07 +0200 (CEST)
Date: Sun, 23 Apr 2017 10:14:07 +0200
From: Christoph Hellwig <hch@lst.de>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>, spencer shepler <spencer.shepler@gmail.com>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Message-ID: <20170423081406.GD22942@lst.de>
References: <CAFt6Bak-5O+Pi15KbuwDJc8GYnR8Nh_zAz5iMhj4PLSja4YoAA@mail.gmail.com> <20170421142852.GA30579@lst.de> <52553727-6395-40C8-B07D-61C29693E5BB@oracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <52553727-6395-40C8-B07D-61C29693E5BB@oracle.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/MSlqQ66wBtydeJzih2xbVtzHkcA>
Subject: Re: [nfsv4] IETF 99 - July 16-21 - Prague (request for WG on meeting)
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: Sun, 23 Apr 2017 08:14:12 -0000

On Sat, Apr 22, 2017 at 11:28:28AM -0400, Chuck Lever wrote:
> I have cycles to help with a draft, if you'd like to offload
> some of that work.

Drafting should be easy - I'll need to get my prototype into a shape where
I even want to document it.


From nobody Mon Apr 24 04:57:16 2017
Return-Path: <tom@talpey.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 37C59131483 for <nfsv4@ietfa.amsl.com>; Mon, 24 Apr 2017 04:57:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
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 xdv-CbfADfSC for <nfsv4@ietfa.amsl.com>; Mon, 24 Apr 2017 04:57:11 -0700 (PDT)
Received: from p3plsmtpa06-07.prod.phx3.secureserver.net (p3plsmtpa06-07.prod.phx3.secureserver.net [173.201.192.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9B85312EC18 for <nfsv4@ietf.org>; Mon, 24 Apr 2017 04:57:11 -0700 (PDT)
Received: from [192.168.0.56] ([24.218.182.144]) by :SMTPAUTH: with SMTP id 2cbfdj5LxPdbk2cbgdz8gy; Mon, 24 Apr 2017 04:56:40 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com>
From: Tom Talpey <tom@talpey.com>
Message-ID: <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com>
Date: Mon, 24 Apr 2017 07:56:38 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-CMAE-Envelope: MS4wfHAUJ1PRrL4a7DEoFuy08BTDzVCKCrPi3TUrL65EwSfxw11+Q+VYbO0pMAX/O6CUNis8XtON7rkHTp9moQJ02vTvm34VhwToMX74hyzSMmS5oSZWkUe4 WLFHSAiBw5U1EtQIpyxK5zNpDjMrpuLZDc0KujkZM4aP8oxg+ckIvGos
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/3zkNNmwDL-8lS0xoOEG0EpxjFeM>
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: Mon, 24 Apr 2017 11:57:14 -0000

On 4/21/2017 10:43 AM, Chuck Lever wrote:
> I agree that SHOULD/MAY makes things cloudier, and does not
> seem to align with well-defined RFC2119 usage.
>
> Another way we've dealt with similar disagreements between
> specification and implementation is to decide that one of
> the implementations is incorrect.
>
> Can we agree that:
>
> - GARBAGE_ARGS is a bit of a layering violation, though it's
> understandable why it might be returned
>
> - RPC clients are already prepared for GARBAGE_ARGS

Are you certain of this? And out of curiosity, what is returned
to the consumer for GARBAGE_ARGS versus ERR_CHUNK?

>
> - In RPC-over-RDMA Version One, we are not trying to recover
> (in the sense of resending a simpler COMPOUND) but are rather
> trying to ensure the offending RPC is properly terminated on
> the client, and does not further block other RPCs or deadlock
> the transport
>
> Thus I claim it is harmless if a server returns GARBAGE_ARGS
> instead of ERR_CHUNK.

"Harmless" is a bit relative. The operation fails, through no fault
of the consumer. And, frankly, in a very mysterious way.

Again, I think there is more to say here. It's a limitation of the
protocol whose implications should be made clear (contraining the
complexity of COMPOUNDs, limiting scatter/gather lengths, etc).

Tom.


>
> As a result, I can change the Read list text in S5.4.1 to be
> the same as the Write list text, removing the mention of
> GARBAGE_ARGS.
>
> Would that sit comfortably with everyone?
>
>
>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com> wrote:
>>
>>> The "or" is a similar situation, it prescribes a choice, which
>>> does not define a protocol.
>>
>> Fair enough, but the point that needs to be made is that, with
>> regard to Version One, Chuck and  the working group is not
>> free to define a protocol.  As a result we have the kind of
>> ugliness you object to, but it is inherent in the choice to try to
>> revive Version One as-is.
>>
>>>   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 SHOULD reject the request by responding with an
>>>   RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>   server MAY reject the RPC with an RDMA_MSG message containing an RPC
>>>   Reply with an accept status of GARBAGE_ARGS.
>>
>> I think I know what you intend here and I've seen stuff like this in RFCs but I don't
>> wthink e can do this because this is not in line with the definitions of "SHOULD"
>> and "MAY" that appear in RFC2119.
>>
>> "SHOULD" means that you are supposed to do something but can avoid it if
>> you have a good reason and are aware of the consequences of not doing it.
>> In this case the "good" reason is that someone coded the implementation
>> to do something else, which is not all that good a reason.  The consequences of
>> returning the GARBAGEARGS are exactly zero, since the client has to be prepared
>> for either it or ERR_CHUNK.
>>
>> "MAY" means the implementation can choose to do the action or not, which is line
>> with the reality here but essentially contradicts the SHOULD.
>>
>>> This at least makes it clear which response is "preferred".
>>
>> But it is isn't really the job of the RFC2119 terms to say which is "preferred" or
>> "'preferred'".  These terms are supposed to describe interoperability and the
>> interoperability situation is that the server MUST return ERR_CHUNK or
>>  GARBAGEARGS and the client needs to be prepared for either.  That is the
>> unpleasant reality.  If you want to indicate a preference, you can say something
>> like:
>> 	• Returning ERR_CHUNK is preferrable.
>> 	• Returinng ERR_CHUNK is more in line with the appropriate protocol layering since this issue relates to a limitation of the transport implementation.
>> 	• Use of GARBAGEARGS is an unfortunate artifact of inappropriately layered implementations and is only allowed for reasons of compatibility with existing implementations.  It is desirable to avoid it.
>>> And one would hope a future draft would decide.
>>
>> Not sure what draft you are thinking of.  I don't see us doing an rfc5667bisbis (rfc5667tris).
>>
>> By the time we did that, the implementations with these restrictions will probably be gone.
>>
>>> I have a second question though. How does the client determine what is
>>> the actual error? As in, how many chunks were allowed?
>>
>> This is not fixable in Version One.  It would be in Version Two, but by then
>> the need will probably be gone.
>>
>>> Does the upper
>>> layer have to recover, and if so what are the implications?
>>
>> I think something could be put in to indicate that clients should break up COMPOUNDS
>> so the only have a single chunk each.
>>
>>> Yes, I know 5667 did not explore this very well.
>>
>> It didn't explore it at all.  And 5666's error reporting facilities were extremely limited.
>>
>>> Mea culpa.
>>
>> I don'tt think you have anything to apologize for.
>>
>>
>>
>>
>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> wrote:
>>
>>
>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>> Hi Tom-
>>
>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>
>> I noticed the same thing, and I'll add that the MUST reject condition
>> is very confusing because it allows an "or". In my opinion a MUST is
>> always a single requirement, never ambiguous.
>>
>> I agree this kind of thing is tricky. I wrote it as "the server MUST
>> reject the RPC". That's the single requirement. The choice is how the
>> rejection is conveyed to the client.
>>
>> The statement "MUST reject" is not testable. So, while it may be
>> understood what is intended, there is nothing implementable in the
>> MUST. The "or" is a similar situation, it prescribes a choice, which
>> does not define a protocol.
>>
>> Is there some reason you want to allow such a choice? I think you'll
>> find that, worded properly, it becomes actually much less implementable
>> and interoperable than you may think.
>>
>> The Solaris server can return an RPC-level error in cases like this.
>>
>> Well, this is happening because the Solaris server is (probably) just
>> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
>> processing that detects any problem.
>>
>> On the other hand, an implementation could do the opposite, it could
>> process the chunks at the lower layer, before ever invoking RPC
>> processing. This would naturally lead to a non-RPC error.
>>
>> The challenge in defining the protocol is to hide these possibilities.
>>
>> I think there are similar choices allowed in rfc5666bis. Let's say
>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
>> documenting existing implementation behavior here.
>>
>> I'm not sure it matters to the client: both errors are permanent and
>> the RPC is terminated on the client.
>>
>> I'm open to alternatives.
>>
>> The icky way to do this is to split into two weak requirements.
>>
>>    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 SHOULD reject the request by responding with an
>>    RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>    server MAY reject the RPC with an RDMA_MSG message containing an RPC
>>    Reply with an accept status of GARBAGE_ARGS.
>>
>> This at least makes it clear which response is "preferred". And one
>> would hope a future draft would decide.
>>
>> I have a second question though. How does the client determine what is
>> the actual error? As in, how many chunks were allowed? Does the upper
>> layer have to recover, and if so what are the implications?
>>
>> Yes, I know 5667 did not explore this very well. Mea culpa.
>>
>>
>>
>> Tom.
>>
>>
>>
>> On 4/18/2017 6:32 PM, karen deitke wrote:
>> Hi Chuck, its unclear what you mean by "is prepared to process" in the text below.
>> 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*
>> Giventhat 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
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>> _______________________________________________
>> 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
>


From nobody Mon Apr 24 07:30:43 2017
Return-Path: <chuck.lever@oracle.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 6E15213153E for <nfsv4@ietfa.amsl.com>; Mon, 24 Apr 2017 07:30:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
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 HoEh8HcaEEx1 for <nfsv4@ietfa.amsl.com>; Mon, 24 Apr 2017 07:30:33 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 84386131541 for <nfsv4@ietf.org>; Mon, 24 Apr 2017 07:30:28 -0700 (PDT)
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3OEURWv024758 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 24 Apr 2017 14:30:27 GMT
Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v3OEUQUR002146 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 24 Apr 2017 14:30:27 GMT
Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3OEUQx6003552; Mon, 24 Apr 2017 14:30:26 GMT
Received: from anon-dhcp-171.1015granger.net (/68.46.169.226) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 24 Apr 2017 07:30:25 -0700
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com>
Date: Mon, 24 Apr 2017 10:30:24 -0400
Cc: nfsv4@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com>
To: Tom Talpey <tom@talpey.com>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: userv0022.oracle.com [156.151.31.74]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/5Pty-pwVwh6KNGiP04NlatLxmzM>
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: Mon, 24 Apr 2017 14:30:40 -0000

> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
>=20
> On 4/21/2017 10:43 AM, Chuck Lever wrote:
>> I agree that SHOULD/MAY makes things cloudier, and does not
>> seem to align with well-defined RFC2119 usage.
>>=20
>> Another way we've dealt with similar disagreements between
>> specification and implementation is to decide that one of
>> the implementations is incorrect.
>>=20
>> Can we agree that:
>>=20
>> - GARBAGE_ARGS is a bit of a layering violation, though it's
>> understandable why it might be returned
>>=20
>> - RPC clients are already prepared for GARBAGE_ARGS
>=20
> Are you certain of this?

GARBAGE_ARGS has been part of the RPC protocol for decades.
The two Unix-flavored clients that have NFS/RDMA support can
both handle this error.


> And out of curiosity, what is returned
> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?

RFC 5531:
> GARBAGE_ARGS  =3D 4, /* procedure can=E2=80=99t decode params   */


GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
with accept_stat GARBAGE_ARGS. An XID is available in the
header.

rfc5666bis:
> If the rdma_vers field contains a recognized value, but an
> XDR parsing error occurs, the responder MUST reply with an
> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.


ERR_CHUNK is a transport level error. An XID is available
in the header.

The difference is that the RPC layer v. the transport layer
are reporting they don't understand the contents of the
message (Call). There is nothing more in either type of
message.


>> - In RPC-over-RDMA Version One, we are not trying to recover
>> (in the sense of resending a simpler COMPOUND) but are rather
>> trying to ensure the offending RPC is properly terminated on
>> the client, and does not further block other RPCs or deadlock
>> the transport
>>=20
>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
>> instead of ERR_CHUNK.
>=20
> "Harmless" is a bit relative. The operation fails, through no fault
> of the consumer. And, frankly, in a very mysterious way.

We have no richer way of communicating failure in RPC-over-RDMA
Version One. We are not looking for recovery here, so I don't
believe any more information would be useful. If the server
wishes, it can log the failure with a message explaining what
went wrong.


> Again, I think there is more to say here. It's a limitation of the
> protocol whose implications should be made clear (contraining the
> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).

I'd welcome any suggested text.

Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
RPC-over-RDMA have a sophisticated mechanism to communicate this
kind of limitation. The best an NFSv4 server can do is return
NFS4ERR_RESOURCE, which also carries little extra information
about what a client should do to recover.

So are you comfortable with eliminating GARBAGE_ARGS if we can
come up with more detail about the impact of not knowing how
complex a COMPOUND can be?


> Tom.
>=20
>=20
>>=20
>> As a result, I can change the Read list text in S5.4.1 to be
>> the same as the Write list text, removing the mention of
>> GARBAGE_ARGS.
>>=20
>> Would that sit comfortably with everyone?
>>=20
>>=20
>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com> =
wrote:
>>>=20
>>>> The "or" is a similar situation, it prescribes a choice, which
>>>> does not define a protocol.
>>>=20
>>> Fair enough, but the point that needs to be made is that, with
>>> regard to Version One, Chuck and  the working group is not
>>> free to define a protocol.  As a result we have the kind of
>>> ugliness you object to, but it is inherent in the choice to try to
>>> revive Version One as-is.
>>>=20
>>>>  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 SHOULD reject the request by responding with =
an
>>>>  RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>  server MAY reject the RPC with an RDMA_MSG message containing an =
RPC
>>>>  Reply with an accept status of GARBAGE_ARGS.
>>>=20
>>> I think I know what you intend here and I've seen stuff like this in =
RFCs but I don't
>>> wthink e can do this because this is not in line with the =
definitions of "SHOULD"
>>> and "MAY" that appear in RFC2119.
>>>=20
>>> "SHOULD" means that you are supposed to do something but can avoid =
it if
>>> you have a good reason and are aware of the consequences of not =
doing it.
>>> In this case the "good" reason is that someone coded the =
implementation
>>> to do something else, which is not all that good a reason.  The =
consequences of
>>> returning the GARBAGEARGS are exactly zero, since the client has to =
be prepared
>>> for either it or ERR_CHUNK.
>>>=20
>>> "MAY" means the implementation can choose to do the action or not, =
which is line
>>> with the reality here but essentially contradicts the SHOULD.
>>>=20
>>>> This at least makes it clear which response is "preferred".
>>>=20
>>> But it is isn't really the job of the RFC2119 terms to say which is =
"preferred" or
>>> "'preferred'".  These terms are supposed to describe =
interoperability and the
>>> interoperability situation is that the server MUST return ERR_CHUNK =
or
>>> GARBAGEARGS and the client needs to be prepared for either.  That is =
the
>>> unpleasant reality.  If you want to indicate a preference, you can =
say something
>>> like:
>>> 	=E2=80=A2 Returning ERR_CHUNK is preferrable.
>>> 	=E2=80=A2 Returinng ERR_CHUNK is more in line with the =
appropriate protocol layering since this issue relates to a limitation =
of the transport implementation.
>>> 	=E2=80=A2 Use of GARBAGEARGS is an unfortunate artifact of =
inappropriately layered implementations and is only allowed for reasons =
of compatibility with existing implementations.  It is desirable to =
avoid it.
>>>> And one would hope a future draft would decide.
>>>=20
>>> Not sure what draft you are thinking of.  I don't see us doing an =
rfc5667bisbis (rfc5667tris).
>>>=20
>>> By the time we did that, the implementations with these restrictions =
will probably be gone.
>>>=20
>>>> I have a second question though. How does the client determine what =
is
>>>> the actual error? As in, how many chunks were allowed?
>>>=20
>>> This is not fixable in Version One.  It would be in Version Two, but =
by then
>>> the need will probably be gone.
>>>=20
>>>> Does the upper
>>>> layer have to recover, and if so what are the implications?
>>>=20
>>> I think something could be put in to indicate that clients should =
break up COMPOUNDS
>>> so the only have a single chunk each.
>>>=20
>>>> Yes, I know 5667 did not explore this very well.
>>>=20
>>> It didn't explore it at all.  And 5666's error reporting facilities =
were extremely limited.
>>>=20
>>>> Mea culpa.
>>>=20
>>> I don'tt think you have anything to apologize for.
>>>=20
>>>=20
>>>=20
>>>=20
>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> wrote:
>>>=20
>>>=20
>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>>> Hi Tom-
>>>=20
>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>>=20
>>> I noticed the same thing, and I'll add that the MUST reject =
condition
>>> is very confusing because it allows an "or". In my opinion a MUST is
>>> always a single requirement, never ambiguous.
>>>=20
>>> I agree this kind of thing is tricky. I wrote it as "the server MUST
>>> reject the RPC". That's the single requirement. The choice is how =
the
>>> rejection is conveyed to the client.
>>>=20
>>> The statement "MUST reject" is not testable. So, while it may be
>>> understood what is intended, there is nothing implementable in the
>>> MUST. The "or" is a similar situation, it prescribes a choice, which
>>> does not define a protocol.
>>>=20
>>> Is there some reason you want to allow such a choice? I think you'll
>>> find that, worded properly, it becomes actually much less =
implementable
>>> and interoperable than you may think.
>>>=20
>>> The Solaris server can return an RPC-level error in cases like this.
>>>=20
>>> Well, this is happening because the Solaris server is (probably) =
just
>>> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
>>> processing that detects any problem.
>>>=20
>>> On the other hand, an implementation could do the opposite, it could
>>> process the chunks at the lower layer, before ever invoking RPC
>>> processing. This would naturally lead to a non-RPC error.
>>>=20
>>> The challenge in defining the protocol is to hide these =
possibilities.
>>>=20
>>> I think there are similar choices allowed in rfc5666bis. Let's say
>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
>>> documenting existing implementation behavior here.
>>>=20
>>> I'm not sure it matters to the client: both errors are permanent and
>>> the RPC is terminated on the client.
>>>=20
>>> I'm open to alternatives.
>>>=20
>>> The icky way to do this is to split into two weak requirements.
>>>=20
>>>   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 SHOULD reject the request by responding with =
an
>>>   RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>   server MAY reject the RPC with an RDMA_MSG message containing an =
RPC
>>>   Reply with an accept status of GARBAGE_ARGS.
>>>=20
>>> This at least makes it clear which response is "preferred". And one
>>> would hope a future draft would decide.
>>>=20
>>> I have a second question though. How does the client determine what =
is
>>> the actual error? As in, how many chunks were allowed? Does the =
upper
>>> layer have to recover, and if so what are the implications?
>>>=20
>>> Yes, I know 5667 did not explore this very well. Mea culpa.
>>>=20
>>>=20
>>>=20
>>> Tom.
>>>=20
>>>=20
>>>=20
>>> On 4/18/2017 6:32 PM, karen deitke wrote:
>>> Hi Chuck, its unclear what you mean by "is prepared to process" in =
the text below.
>>> Other than that, looks good.
>>>=20
>>> Karen
>>>=20
>>> 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.
>>>=20
>>>=20
>>>  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.
>>>=20
>>>=20
>>> On 4/18/2017 1:21 PM, David Noveck wrote:
>>> *Overall Evaluation*
>>> *
>>> *
>>> Major improvement over RFC5667.  Almost ready to ship.  No technical
>>> issues.
>>>=20
>>> A lot of my comments are basically editorial and are offered on a
>>> take-it-or-lease-it basis.
>>>=20
>>> I think some clarification in Section 5.4.1 is needed although not
>>> necessarily in the ways suggested below,
>>>=20
>>> *Comments by Section*
>>> *5.4.1. Multiple DDP-eligible Data Items*
>>> Giventhat 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:
>>>=20
>>>   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.
>>>=20
>>> 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.
>>>=20
>>>   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.
>>>=20
>>> *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"
>>>=20
>>>=20
>>> _______________________________________________
>>> nfsv4 mailing list
>>> nfsv4@ietf.org
>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>=20
>>>=20
>>>=20
>>> _______________________________________________
>>> nfsv4 mailing list
>>> nfsv4@ietf.org
>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>=20
>>>=20
>>> _______________________________________________
>>> nfsv4 mailing list
>>> nfsv4@ietf.org
>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>=20
>>> --
>>> Chuck Lever
>>>=20
>>>=20
>>>=20
>>> _______________________________________________
>>> nfsv4 mailing list
>>> nfsv4@ietf.org
>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>=20
>>>=20
>>>=20
>>> _______________________________________________
>>> nfsv4 mailing list
>>> nfsv4@ietf.org
>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>=20
>>> _______________________________________________
>>> nfsv4 mailing list
>>> nfsv4@ietf.org
>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>=20
>> --
>> Chuck Lever
>>=20
>>=20
>>=20
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
>>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

--
Chuck Lever




From nobody Mon Apr 24 07:36:59 2017
Return-Path: <karen.deitke@oracle.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 C124513156B for <nfsv4@ietfa.amsl.com>; Mon, 24 Apr 2017 07:36:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level: 
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 9L5M7RSduEoO for <nfsv4@ietfa.amsl.com>; Mon, 24 Apr 2017 07:36:56 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 762A413156A for <nfsv4@ietf.org>; Mon, 24 Apr 2017 07:36:56 -0700 (PDT)
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3OEatRo012618 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Mon, 24 Apr 2017 14:36:55 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v3OEatgc022572 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Mon, 24 Apr 2017 14:36:55 GMT
Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3OEas9g026906 for <nfsv4@ietf.org>; Mon, 24 Apr 2017 14:36:55 GMT
Received: from [10.159.114.163] (/10.159.114.163) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 24 Apr 2017 07:36:54 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com>
From: karen deitke <karen.deitke@oracle.com>
Organization: Oracle Corporation
Message-ID: <413d4364-6652-d571-7377-fc2d7a266838@oracle.com>
Date: Mon, 24 Apr 2017 08:36:42 -0600
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Source-IP: userv0021.oracle.com [156.151.31.71]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/IPkQZjuWacqJJnjNomUUD94qv0o>
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: Mon, 24 Apr 2017 14:36:59 -0000

On 4/24/2017 5:56 AM, Tom Talpey wrote:
> On 4/21/2017 10:43 AM, Chuck Lever wrote:
>> I agree that SHOULD/MAY makes things cloudier, and does not
>> seem to align with well-defined RFC2119 usage.
>>
>> Another way we've dealt with similar disagreements between
>> specification and implementation is to decide that one of
>> the implementations is incorrect.
>>
>> Can we agree that:
>>
>> - GARBAGE_ARGS is a bit of a layering violation, though it's
>> understandable why it might be returned
>>
>> - RPC clients are already prepared for GARBAGE_ARGS
>
> Are you certain of this? And out of curiosity, what is returned
> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
Consumer will see EIO for both.
>
>>
>> - In RPC-over-RDMA Version One, we are not trying to recover
>> (in the sense of resending a simpler COMPOUND) but are rather
>> trying to ensure the offending RPC is properly terminated on
>> the client, and does not further block other RPCs or deadlock
>> the transport
>>
>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
>> instead of ERR_CHUNK.
>
> "Harmless" is a bit relative. The operation fails, through no fault
> of the consumer. And, frankly, in a very mysterious way.
>
> Again, I think there is more to say here. It's a limitation of the
> protocol whose implications should be made clear (contraining the
> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
>
> Tom.
>
>
>>
>> As a result, I can change the Read list text in S5.4.1 to be
>> the same as the Write list text, removing the mention of
>> GARBAGE_ARGS.
>>
>> Would that sit comfortably with everyone?
>>
>>
>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com> wrote:
>>>
>>>> The "or" is a similar situation, it prescribes a choice, which
>>>> does not define a protocol.
>>>
>>> Fair enough, but the point that needs to be made is that, with
>>> regard to Version One, Chuck and  the working group is not
>>> free to define a protocol.  As a result we have the kind of
>>> ugliness you object to, but it is inherent in the choice to try to
>>> revive Version One as-is.
>>>
>>>>   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 SHOULD reject the request by responding with an
>>>>   RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>   server MAY reject the RPC with an RDMA_MSG message containing an RPC
>>>>   Reply with an accept status of GARBAGE_ARGS.
>>>
>>> I think I know what you intend here and I've seen stuff like this in 
>>> RFCs but I don't
>>> wthink e can do this because this is not in line with the 
>>> definitions of "SHOULD"
>>> and "MAY" that appear in RFC2119.
>>>
>>> "SHOULD" means that you are supposed to do something but can avoid 
>>> it if
>>> you have a good reason and are aware of the consequences of not 
>>> doing it.
>>> In this case the "good" reason is that someone coded the implementation
>>> to do something else, which is not all that good a reason. The 
>>> consequences of
>>> returning the GARBAGEARGS are exactly zero, since the client has to 
>>> be prepared
>>> for either it or ERR_CHUNK.
>>>
>>> "MAY" means the implementation can choose to do the action or not, 
>>> which is line
>>> with the reality here but essentially contradicts the SHOULD.
>>>
>>>> This at least makes it clear which response is "preferred".
>>>
>>> But it is isn't really the job of the RFC2119 terms to say which is 
>>> "preferred" or
>>> "'preferred'".  These terms are supposed to describe 
>>> interoperability and the
>>> interoperability situation is that the server MUST return ERR_CHUNK or
>>>  GARBAGEARGS and the client needs to be prepared for either. That is 
>>> the
>>> unpleasant reality.  If you want to indicate a preference, you can 
>>> say something
>>> like:
>>>     • Returning ERR_CHUNK is preferrable.
>>>     • Returinng ERR_CHUNK is more in line with the appropriate 
>>> protocol layering since this issue relates to a limitation of the 
>>> transport implementation.
>>>     • Use of GARBAGEARGS is an unfortunate artifact of 
>>> inappropriately layered implementations and is only allowed for 
>>> reasons of compatibility with existing implementations. It is 
>>> desirable to avoid it.
>>>> And one would hope a future draft would decide.
>>>
>>> Not sure what draft you are thinking of.  I don't see us doing an 
>>> rfc5667bisbis (rfc5667tris).
>>>
>>> By the time we did that, the implementations with these restrictions 
>>> will probably be gone.
>>>
>>>> I have a second question though. How does the client determine what is
>>>> the actual error? As in, how many chunks were allowed?
>>>
>>> This is not fixable in Version One.  It would be in Version Two, but 
>>> by then
>>> the need will probably be gone.
>>>
>>>> Does the upper
>>>> layer have to recover, and if so what are the implications?
>>>
>>> I think something could be put in to indicate that clients should 
>>> break up COMPOUNDS
>>> so the only have a single chunk each.
>>>
>>>> Yes, I know 5667 did not explore this very well.
>>>
>>> It didn't explore it at all.  And 5666's error reporting facilities 
>>> were extremely limited.
>>>
>>>> Mea culpa.
>>>
>>> I don'tt think you have anything to apologize for.
>>>
>>>
>>>
>>>
>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> wrote:
>>>
>>>
>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>>> Hi Tom-
>>>
>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>>
>>> I noticed the same thing, and I'll add that the MUST reject condition
>>> is very confusing because it allows an "or". In my opinion a MUST is
>>> always a single requirement, never ambiguous.
>>>
>>> I agree this kind of thing is tricky. I wrote it as "the server MUST
>>> reject the RPC". That's the single requirement. The choice is how the
>>> rejection is conveyed to the client.
>>>
>>> The statement "MUST reject" is not testable. So, while it may be
>>> understood what is intended, there is nothing implementable in the
>>> MUST. The "or" is a similar situation, it prescribes a choice, which
>>> does not define a protocol.
>>>
>>> Is there some reason you want to allow such a choice? I think you'll
>>> find that, worded properly, it becomes actually much less implementable
>>> and interoperable than you may think.
>>>
>>> The Solaris server can return an RPC-level error in cases like this.
>>>
>>> Well, this is happening because the Solaris server is (probably) just
>>> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
>>> processing that detects any problem.
>>>
>>> On the other hand, an implementation could do the opposite, it could
>>> process the chunks at the lower layer, before ever invoking RPC
>>> processing. This would naturally lead to a non-RPC error.
>>>
>>> The challenge in defining the protocol is to hide these possibilities.
>>>
>>> I think there are similar choices allowed in rfc5666bis. Let's say
>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
>>> documenting existing implementation behavior here.
>>>
>>> I'm not sure it matters to the client: both errors are permanent and
>>> the RPC is terminated on the client.
>>>
>>> I'm open to alternatives.
>>>
>>> The icky way to do this is to split into two weak requirements.
>>>
>>>    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 SHOULD reject the request by responding with an
>>>    RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>    server MAY reject the RPC with an RDMA_MSG message containing an RPC
>>>    Reply with an accept status of GARBAGE_ARGS.
>>>
>>> This at least makes it clear which response is "preferred". And one
>>> would hope a future draft would decide.
>>>
>>> I have a second question though. How does the client determine what is
>>> the actual error? As in, how many chunks were allowed? Does the upper
>>> layer have to recover, and if so what are the implications?
>>>
>>> Yes, I know 5667 did not explore this very well. Mea culpa.
>>>
>>>
>>>
>>> Tom.
>>>
>>>
>>>
>>> On 4/18/2017 6:32 PM, karen deitke wrote:
>>> Hi Chuck, its unclear what you mean by "is prepared to process" in 
>>> the text below.
>>> 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*
>>> Giventhat 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
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From nobody Mon Apr 24 07:46:32 2017
Return-Path: <chuck.lever@oracle.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 0854E1315AB for <nfsv4@ietfa.amsl.com>; Mon, 24 Apr 2017 07:46:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level: 
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
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 NvpLsR-T5-Si for <nfsv4@ietfa.amsl.com>; Mon, 24 Apr 2017 07:46:29 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E73B01315AE for <nfsv4@ietf.org>; Mon, 24 Apr 2017 07:46:05 -0700 (PDT)
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3OEk54x029082 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Mon, 24 Apr 2017 14:46:05 GMT
Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v3OEk5Of009584 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Mon, 24 Apr 2017 14:46:05 GMT
Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3OEk4H4015561 for <nfsv4@ietf.org>; Mon, 24 Apr 2017 14:46:05 GMT
Received: from anon-dhcp-171.1015granger.net (/68.46.169.226) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 24 Apr 2017 07:46:04 -0700
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <413d4364-6652-d571-7377-fc2d7a266838@oracle.com>
Date: Mon, 24 Apr 2017 10:46:04 -0400
Content-Transfer-Encoding: 7bit
Message-Id: <7ACCDB13-E13B-4241-A1D9-C71DB187671E@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <413d4364-6652-d571-7377-fc2d7a266838@oracle.com>
To: NFSv4 <nfsv4@ietf.org>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/T-255jren_1MzLInMWLcj_ypJSA>
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: Mon, 24 Apr 2017 14:46:31 -0000

> On Apr 24, 2017, at 10:36 AM, karen deitke <karen.deitke@oracle.com> wrote:
> 
> 
> 
> On 4/24/2017 5:56 AM, Tom Talpey wrote:
>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
>>> I agree that SHOULD/MAY makes things cloudier, and does not
>>> seem to align with well-defined RFC2119 usage.
>>> 
>>> Another way we've dealt with similar disagreements between
>>> specification and implementation is to decide that one of
>>> the implementations is incorrect.
>>> 
>>> Can we agree that:
>>> 
>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
>>> understandable why it might be returned
>>> 
>>> - RPC clients are already prepared for GARBAGE_ARGS
>> 
>> Are you certain of this? And out of curiosity, what is returned
>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
> Consumer will see EIO for both.

On Solaris.

On Linux, EIO for ERR_CHUNK, and EACCES for GARBAGE_ARGS
(historical behavior).


--
Chuck Lever




From nobody Mon Apr 24 09:00:45 2017
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 A1C21131774 for <nfsv4@ietfa.amsl.com>; Mon, 24 Apr 2017 09:00:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-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 gKjfrS0cEdE6 for <nfsv4@ietfa.amsl.com>; Mon, 24 Apr 2017 09:00:41 -0700 (PDT)
Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (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 F1CCC131798 for <nfsv4@ietf.org>; Mon, 24 Apr 2017 09:00:27 -0700 (PDT)
Received: by mail-it0-x229.google.com with SMTP id g66so1171437ite.1 for <nfsv4@ietf.org>; Mon, 24 Apr 2017 09:00:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to; bh=wL3SMCB7jsOPt34cZorEzy6YrCeuBQJ/7GoaKfBbHfQ=; b=FeUkobI0K6OpkIKdqybHLLubYeszGH6k2W5jWSki6PZuoo/wjPI77c6TpiL0Kg6K2M Q8VduhBeIr+Gwv/zL1AEX0Rf3bsHwSzBqxbB6dxk0GZs3VVX39pe5oLTkKvjvRg7QeNh MKS3TmYVFMrFrZIf+Ja8JamIZrI7Ce8yspInEfl1EFur6Hute8DlxtFJ/YxBJyEDxVf8 Pr/3P+tXm7Tg6TbzqUBwMtmTWnGT1PrDoWN0SPpsUvlYBty6T3DV1l2tZzu7eIEMktZf xXKZx6DxODDs6u39EsOmNXu2C9oXE5t78RVGI1Z6M/2FGCYaScW62hymWX2+svGnsKED 21Jg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wL3SMCB7jsOPt34cZorEzy6YrCeuBQJ/7GoaKfBbHfQ=; b=LcRrmaleqPeR8eSZfILUHgcF7i1ykzdG8eCy4jKvJ7YYvcmup435j/lTpjW1PdykKB nt0n7Rfo8mnEhLHOXi2dGv1JwJGkE1eAqCckOGBWgr+gXDuS1ahD+EguMcZmX11M01cf zKwWL9YNQgzQyV+kQBFYI5UjaQB8A+KVwTuLilccKqhsatgIUEBmNqP8PFH4s1LJKWS1 UVdzSEmBx5i/NiZMyZpTpWQf+TMIPkY8mn0MDb9CIO5unaWQbqvt+RtRZ/oloOgwKzZn H2rrAqcCWMuG5UD4glQsw0T9IgVqK9NTDzG4y5fDLOuEgljUDXWtt1x+xZ/3eKMv4h6s Dy6w==
X-Gm-Message-State: AN3rC/7Z5VxlmJBJIgAZZ3yo3PuVQqlaX/YfPDNCbtJnyUu8wNwDT8nw pCr9Guy+nakMPUSyf+bf2tU1DHYbBQ==
X-Received: by 10.36.228.12 with SMTP id o12mr14581222ith.83.1493049625718; Mon, 24 Apr 2017 09:00:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Mon, 24 Apr 2017 09:00:24 -0700 (PDT)
From: David Noveck <davenoveck@gmail.com>
Date: Mon, 24 Apr 2017 12:00:24 -0400
Message-ID: <CADaq8jeB8Ktv3DKuLosrNMm=+1g7YHhS3uyN4EdQY6pO4NAv3g@mail.gmail.com>
To: "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c1113e692bbb4054debb4a2
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/CAuI5fnbRbKDEAuLDPBCPkAvrq0>
Subject: [nfsv4] xml files for RFC drafts.
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: Mon, 24 Apr 2017 16:00:43 -0000

--94eb2c1113e692bbb4054debb4a2
Content-Type: text/plain; charset=UTF-8

I'm trying to get access to the xml versions of RFCs 7530, 5661, and 7931.
  I've tried a range of drafts leading up to the RFCs and it appears that
there are no links to the xml forms of these drafts, even though I'm
reasonably sure  that the drafts were submitted in xml form and should be
available.

Does anybody have access to reasonably current drafts in xml form?

Also, I'm curious about why this is and if there is any chance of changing
it.   It might be an simple bug, but I'm wondering if there is to more it
than that.

--94eb2c1113e692bbb4054debb4a2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I&#39;m trying to get access to the xml versions of RFCs 7=
530, 5661, and 7931. =C2=A0 I&#39;ve tried a range of drafts leading up to =
the RFCs and it appears that there are no links to the xml forms of these d=
rafts, even though I&#39;m reasonably sure =C2=A0that the drafts were submi=
tted in xml form and should be available.<div><br></div><div>Does anybody h=
ave access to reasonably current drafts in xml form?</div><div><br></div><d=
iv>Also, I&#39;m curious about why this is and if there is any chance of ch=
anging it. =C2=A0 It might be an simple bug, but I&#39;m wondering if there=
 is to more it than that.</div></div>

--94eb2c1113e692bbb4054debb4a2--


From nobody Mon Apr 24 09:23:12 2017
Return-Path: <kaduk@mit.edu>
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 63DB31317DB for <nfsv4@ietfa.amsl.com>; Mon, 24 Apr 2017 09:23:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.202
X-Spam-Level: 
X-Spam-Status: No, score=-4.202 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 hl7VGpJAIJm6 for <nfsv4@ietfa.amsl.com>; Mon, 24 Apr 2017 09:23:10 -0700 (PDT)
Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu [18.9.25.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C96C4129457 for <nfsv4@ietf.org>; Mon, 24 Apr 2017 09:23:09 -0700 (PDT)
X-AuditID: 1209190d-d1bff70000007697-66-58fe266c3170
Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by  (Symantec Messaging Gateway) with SMTP id EE.C4.30359.C662EF85; Mon, 24 Apr 2017 12:23:08 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id v3OGN7Za028931; Mon, 24 Apr 2017 12:23:08 -0400
Received: from kduck.kaduk.org (24-107-191-124.dhcp.stls.mo.charter.com [24.107.191.124]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id v3OGN3rl019697 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 24 Apr 2017 12:23:06 -0400
Date: Mon, 24 Apr 2017 11:23:02 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: David Noveck <davenoveck@gmail.com>
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Message-ID: <20170424162302.GJ30306@kduck.kaduk.org>
References: <CADaq8jeB8Ktv3DKuLosrNMm=+1g7YHhS3uyN4EdQY6pO4NAv3g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CADaq8jeB8Ktv3DKuLosrNMm=+1g7YHhS3uyN4EdQY6pO4NAv3g@mail.gmail.com>
User-Agent: Mutt/1.6.1 (2016-04-27)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGIsWRmVeSWpSXmKPExsUixG6nopuj9i/CYNZsPYuzU7+xW8x+/4jV gclj56y77B5LlvxkCmCK4rJJSc3JLEst0rdL4MrY8GoWe8EPjoql0w4xNzD2s3cxcnJICJhI vF6yl7GLkYtDSKCNSeLznlusIAkhgY2MEoc+skAkrjJJdP2bygySYBFQlbj87jJYN5uAikRD 92WwuIiAusSPB01sIDYzUM2J9k+MILawgJ7EszOTmUBsXqBtreumMkIsCJBY93MFO0RcUOLk zCcsEL1aEjf+vQSq5wCypSWW/+MACXMKBEpMerocbLyogLJEw4wHzBMYBWYh6Z6FpHsWQvcC RuZVjLIpuVW6uYmZOcWpybrFyYl5ealFukZ6uZkleqkppZsYQUHKKcm7g/HfXa9DjAIcjEo8 vAYM/yKEWBPLiitzDzFKcjApifJ6yQGF+JLyUyozEosz4otKc1KLDzFKcDArifA2SQLleFMS K6tSi/JhUtIcLErivOIajRFCAumJJanZqakFqUUwWRkODiUJXgtVoEbBotT01Iq0zJwShDQT ByfIcB6g4d9UQIYXFyTmFmemQ+RPMepyvFv64T2TEEtefl6qlDhvIkiRAEhRRmke3BxQcpHI 3l/zilEc6C1h3psg63iAiQlu0iugJUxAS6ba/wFZUpKIkJJqYDRL3Nnz1+rRP5lJTd6hugnW BW5vuaOkck4FPTFPM5Qon78hQaVJ6gevqTpPqWXr9iUFfp+qhaYyX6lQ5fLprnjiE9v/2ZV5 65TnjRK/P/uFfi/um9SeeuKR8kqWtcdlJlnscnCcXuQSW7hJ1sj9NdPGH1ZCR5PfPDr2ZMEE ++PcW2LdUosuKLEUZyQaajEXFScCAC82UewJAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/XzDUsoOgALYCTtG5Ux737hcDmmI>
Subject: Re: [nfsv4] xml files for RFC drafts.
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: Mon, 24 Apr 2017 16:23:11 -0000

On Mon, Apr 24, 2017 at 12:00:24PM -0400, David Noveck wrote:
> I'm trying to get access to the xml versions of RFCs 7530, 5661, and 7931.
>   I've tried a range of drafts leading up to the RFCs and it appears that
> there are no links to the xml forms of these drafts, even though I'm
> reasonably sure  that the drafts were submitted in xml form and should be
> available.
> 
> Does anybody have access to reasonably current drafts in xml form?

As an interim measure, mail rfc-editor@rfc-editor.org and ask :)

> Also, I'm curious about why this is and if there is any chance of changing
> it.   It might be an simple bug, but I'm wondering if there is to more it
> than that.

We might need more data to confirm that XML submissions were
performed.  For example, I can assert with confidence that
https://tools.ietf.org/html/rfc7546 was generated from XML, and lo
we find an xml link at
https://tools.ietf.org/html/draft-ietf-kitten-gss-loop-05 , the last
pre-rfc revision of that document.

Which does not preclude there being some bug that prevents xml links
from being generated in some cases, of course.

-Ben


From nobody Wed Apr 26 09:16:58 2017
Return-Path: <chuck.lever@oracle.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 E1B5713148D for <nfsv4@ietfa.amsl.com>; Wed, 26 Apr 2017 09:16:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
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 r9DlqnoUlYVo for <nfsv4@ietfa.amsl.com>; Wed, 26 Apr 2017 09:16:54 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0B9D4127876 for <nfsv4@ietf.org>; Wed, 26 Apr 2017 09:16:53 -0700 (PDT)
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3QGGrDM025992 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Wed, 26 Apr 2017 16:16:53 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v3QGGqBF002169 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Wed, 26 Apr 2017 16:16:53 GMT
Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id v3QGGowk027004 for <nfsv4@ietf.org>; Wed, 26 Apr 2017 16:16:51 GMT
Received: from dhcp-whq-5op-3rd-and-4th-floor-gen-off-10-211-46-132.usdhcp.oraclecorp.com (/10.211.46.132) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 26 Apr 2017 09:16:50 -0700
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com>
Date: Wed, 26 Apr 2017 09:18:23 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com>
To: NFSv4 <nfsv4@ietf.org>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: userv0022.oracle.com [156.151.31.74]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/Lkus37YsRUhoQ4UTUbLnCNMpF-A>
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, 26 Apr 2017 16:16:57 -0000

> On Apr 24, 2017, at 7:30 AM, Chuck Lever <chuck.lever@oracle.com> =
wrote:
>=20
>>=20
>> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
>>=20
>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
>>> I agree that SHOULD/MAY makes things cloudier, and does not
>>> seem to align with well-defined RFC2119 usage.
>>>=20
>>> Another way we've dealt with similar disagreements between
>>> specification and implementation is to decide that one of
>>> the implementations is incorrect.
>>>=20
>>> Can we agree that:
>>>=20
>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
>>> understandable why it might be returned
>>>=20
>>> - RPC clients are already prepared for GARBAGE_ARGS
>>=20
>> Are you certain of this?
>=20
> GARBAGE_ARGS has been part of the RPC protocol for decades.
> The two Unix-flavored clients that have NFS/RDMA support can
> both handle this error.

I've confirmed that the only other known NFS/RDMA client
(Oracle dNFS) properly recognizes GARBAGE_ARGS.


>> And out of curiosity, what is returned
>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
>=20
> RFC 5531:
>> GARBAGE_ARGS  =3D 4, /* procedure can=E2=80=99t decode params   */
>=20
>=20
> GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
> with accept_stat GARBAGE_ARGS. An XID is available in the
> header.
>=20
> rfc5666bis:
>> If the rdma_vers field contains a recognized value, but an
>> XDR parsing error occurs, the responder MUST reply with an
>> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
>=20
>=20
> ERR_CHUNK is a transport level error. An XID is available
> in the header.
>=20
> The difference is that the RPC layer v. the transport layer
> are reporting they don't understand the contents of the
> message (Call). There is nothing more in either type of
> message.
>=20
>=20
>>> - In RPC-over-RDMA Version One, we are not trying to recover
>>> (in the sense of resending a simpler COMPOUND) but are rather
>>> trying to ensure the offending RPC is properly terminated on
>>> the client, and does not further block other RPCs or deadlock
>>> the transport
>>>=20
>>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
>>> instead of ERR_CHUNK.
>>=20
>> "Harmless" is a bit relative. The operation fails, through no fault
>> of the consumer. And, frankly, in a very mysterious way.
>=20
> We have no richer way of communicating failure in RPC-over-RDMA
> Version One. We are not looking for recovery here, so I don't
> believe any more information would be useful. If the server
> wishes, it can log the failure with a message explaining what
> went wrong.
>=20
>=20
>> Again, I think there is more to say here. It's a limitation of the
>> protocol whose implications should be made clear (contraining the
>> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
>=20
> I'd welcome any suggested text.
>=20
> Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
> RPC-over-RDMA have a sophisticated mechanism to communicate this
> kind of limitation. The best an NFSv4 server can do is return
> NFS4ERR_RESOURCE, which also carries little extra information
> about what a client should do to recover.
>=20
> So are you comfortable with eliminating GARBAGE_ARGS if we can
> come up with more detail about the impact of not knowing how
> complex a COMPOUND can be?

I've come up with some possible replacement text for
the final two paragraphs of S5.4.1 in an attempt to
address comments from Tom, David, and Karen. The
normative requirements have been removed, and a (brief)
discussion of the consequences of not handling complex
COMPOUNDs was introduced.


5.4.2.  Complexity Considerations

   As mentioned above, an NFS version 4 COMPOUND procedure can contain
   more than one operation that carries a DDP-eligible data item.  The
   RPC-over-RDMA Version One protocol does not place any limit on the
   number of chunks that may appear in the Read or Write lists.
   Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
   Version One message containing more than one Read chunk or Write
   chunk.

   However, implementations have practical limits on the number of
   chunks or segments they are prepared to process in one of these
   lists.  There are several ways an NFS Version 4 server might indicate
   that an RPC Call message constructed by a client is valid but cannot
   be processed because of implementation limitations:

   o  If the problem is detected in the upper layer (i.e., by the NFS
      version 4 implementation), the server returns an NFS status of
      NFS4ERR_RESOURCE.

   o  If the problem is detected during XDR decoding of the request
      (e.g., during re-assembly of the Call message by the RPC layer),
      the server returns an RPC accept_stat of GARBAGE_ARGS.

   o  If the problem is detected at the transport layer (i.e., during
      transport header processing), the server returns an RDMA_ERROR
      message with the err_code field set to ERR_CHUNK.

   Such implementation limits can constrain the complexity of NFS
   version 4 COMPOUNDs, limit the number of elements in scatter-gather
   operations, or prevent the use of Kerberos integrity or privacy
   services.


Comments, opinions on this approach?


>> Tom.
>>=20
>>=20
>>>=20
>>> As a result, I can change the Read list text in S5.4.1 to be
>>> the same as the Write list text, removing the mention of
>>> GARBAGE_ARGS.
>>>=20
>>> Would that sit comfortably with everyone?
>>>=20
>>>=20
>>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com> =
wrote:
>>>>=20
>>>>> The "or" is a similar situation, it prescribes a choice, which
>>>>> does not define a protocol.
>>>>=20
>>>> Fair enough, but the point that needs to be made is that, with
>>>> regard to Version One, Chuck and  the working group is not
>>>> free to define a protocol.  As a result we have the kind of
>>>> ugliness you object to, but it is inherent in the choice to try to
>>>> revive Version One as-is.
>>>>=20
>>>>> 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 SHOULD reject the request by responding with =
an
>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>> server MAY reject the RPC with an RDMA_MSG message containing an =
RPC
>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>=20
>>>> I think I know what you intend here and I've seen stuff like this =
in RFCs but I don't
>>>> wthink e can do this because this is not in line with the =
definitions of "SHOULD"
>>>> and "MAY" that appear in RFC2119.
>>>>=20
>>>> "SHOULD" means that you are supposed to do something but can avoid =
it if
>>>> you have a good reason and are aware of the consequences of not =
doing it.
>>>> In this case the "good" reason is that someone coded the =
implementation
>>>> to do something else, which is not all that good a reason.  The =
consequences of
>>>> returning the GARBAGEARGS are exactly zero, since the client has to =
be prepared
>>>> for either it or ERR_CHUNK.
>>>>=20
>>>> "MAY" means the implementation can choose to do the action or not, =
which is line
>>>> with the reality here but essentially contradicts the SHOULD.
>>>>=20
>>>>> This at least makes it clear which response is "preferred".
>>>>=20
>>>> But it is isn't really the job of the RFC2119 terms to say which is =
"preferred" or
>>>> "'preferred'".  These terms are supposed to describe =
interoperability and the
>>>> interoperability situation is that the server MUST return ERR_CHUNK =
or
>>>> GARBAGEARGS and the client needs to be prepared for either.  That =
is the
>>>> unpleasant reality.  If you want to indicate a preference, you can =
say something
>>>> like:
>>>> 	=E2=80=A2 Returning ERR_CHUNK is preferrable.
>>>> 	=E2=80=A2 Returinng ERR_CHUNK is more in line with the =
appropriate protocol layering since this issue relates to a limitation =
of the transport implementation.
>>>> 	=E2=80=A2 Use of GARBAGEARGS is an unfortunate artifact of =
inappropriately layered implementations and is only allowed for reasons =
of compatibility with existing implementations.  It is desirable to =
avoid it.
>>>>> And one would hope a future draft would decide.
>>>>=20
>>>> Not sure what draft you are thinking of.  I don't see us doing an =
rfc5667bisbis (rfc5667tris).
>>>>=20
>>>> By the time we did that, the implementations with these =
restrictions will probably be gone.
>>>>=20
>>>>> I have a second question though. How does the client determine =
what is
>>>>> the actual error? As in, how many chunks were allowed?
>>>>=20
>>>> This is not fixable in Version One.  It would be in Version Two, =
but by then
>>>> the need will probably be gone.
>>>>=20
>>>>> Does the upper
>>>>> layer have to recover, and if so what are the implications?
>>>>=20
>>>> I think something could be put in to indicate that clients should =
break up COMPOUNDS
>>>> so the only have a single chunk each.
>>>>=20
>>>>> Yes, I know 5667 did not explore this very well.
>>>>=20
>>>> It didn't explore it at all.  And 5666's error reporting facilities =
were extremely limited.
>>>>=20
>>>>> Mea culpa.
>>>>=20
>>>> I don'tt think you have anything to apologize for.
>>>>=20
>>>>=20
>>>>=20
>>>>=20
>>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>=20
>>>>=20
>>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>>>> Hi Tom-
>>>>=20
>>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>=20
>>>> I noticed the same thing, and I'll add that the MUST reject =
condition
>>>> is very confusing because it allows an "or". In my opinion a MUST =
is
>>>> always a single requirement, never ambiguous.
>>>>=20
>>>> I agree this kind of thing is tricky. I wrote it as "the server =
MUST
>>>> reject the RPC". That's the single requirement. The choice is how =
the
>>>> rejection is conveyed to the client.
>>>>=20
>>>> The statement "MUST reject" is not testable. So, while it may be
>>>> understood what is intended, there is nothing implementable in the
>>>> MUST. The "or" is a similar situation, it prescribes a choice, =
which
>>>> does not define a protocol.
>>>>=20
>>>> Is there some reason you want to allow such a choice? I think =
you'll
>>>> find that, worded properly, it becomes actually much less =
implementable
>>>> and interoperable than you may think.
>>>>=20
>>>> The Solaris server can return an RPC-level error in cases like =
this.
>>>>=20
>>>> Well, this is happening because the Solaris server is (probably) =
just
>>>> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
>>>> processing that detects any problem.
>>>>=20
>>>> On the other hand, an implementation could do the opposite, it =
could
>>>> process the chunks at the lower layer, before ever invoking RPC
>>>> processing. This would naturally lead to a non-RPC error.
>>>>=20
>>>> The challenge in defining the protocol is to hide these =
possibilities.
>>>>=20
>>>> I think there are similar choices allowed in rfc5666bis. Let's say
>>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
>>>> documenting existing implementation behavior here.
>>>>=20
>>>> I'm not sure it matters to the client: both errors are permanent =
and
>>>> the RPC is terminated on the client.
>>>>=20
>>>> I'm open to alternatives.
>>>>=20
>>>> The icky way to do this is to split into two weak requirements.
>>>>=20
>>>>  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 SHOULD reject the request by responding with =
an
>>>>  RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>  server MAY reject the RPC with an RDMA_MSG message containing an =
RPC
>>>>  Reply with an accept status of GARBAGE_ARGS.
>>>>=20
>>>> This at least makes it clear which response is "preferred". And one
>>>> would hope a future draft would decide.
>>>>=20
>>>> I have a second question though. How does the client determine what =
is
>>>> the actual error? As in, how many chunks were allowed? Does the =
upper
>>>> layer have to recover, and if so what are the implications?
>>>>=20
>>>> Yes, I know 5667 did not explore this very well. Mea culpa.
>>>>=20
>>>>=20
>>>>=20
>>>> Tom.
>>>>=20
>>>>=20
>>>>=20
>>>> On 4/18/2017 6:32 PM, karen deitke wrote:
>>>> Hi Chuck, its unclear what you mean by "is prepared to process" in =
the text below.
>>>> Other than that, looks good.
>>>>=20
>>>> Karen
>>>>=20
>>>> 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.
>>>>=20
>>>>=20
>>>> 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.
>>>>=20
>>>>=20
>>>> On 4/18/2017 1:21 PM, David Noveck wrote:
>>>> *Overall Evaluation*
>>>> *
>>>> *
>>>> Major improvement over RFC5667.  Almost ready to ship.  No =
technical
>>>> issues.
>>>>=20
>>>> A lot of my comments are basically editorial and are offered on a
>>>> take-it-or-lease-it basis.
>>>>=20
>>>> I think some clarification in Section 5.4.1 is needed although not
>>>> necessarily in the ways suggested below,
>>>>=20
>>>> *Comments by Section*
>>>> *5.4.1. Multiple DDP-eligible Data Items*
>>>> Giventhat 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:
>>>>=20
>>>>  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.
>>>>=20
>>>> 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.
>>>>=20
>>>>  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.
>>>>=20
>>>> *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"
>>>>=20
>>>>=20
>>>> _______________________________________________
>>>> nfsv4 mailing list
>>>> nfsv4@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>=20
>>>>=20
>>>>=20
>>>> _______________________________________________
>>>> nfsv4 mailing list
>>>> nfsv4@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>=20
>>>>=20
>>>> _______________________________________________
>>>> nfsv4 mailing list
>>>> nfsv4@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>=20
>>>> --
>>>> Chuck Lever
>>>>=20
>>>>=20
>>>>=20
>>>> _______________________________________________
>>>> nfsv4 mailing list
>>>> nfsv4@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>=20
>>>>=20
>>>>=20
>>>> _______________________________________________
>>>> nfsv4 mailing list
>>>> nfsv4@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>=20
>>>> _______________________________________________
>>>> nfsv4 mailing list
>>>> nfsv4@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>=20
>>> --
>>> Chuck Lever
>>>=20
>>>=20
>>>=20
>>> _______________________________________________
>>> nfsv4 mailing list
>>> nfsv4@ietf.org
>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>=20
>>=20
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
>=20
> --
> Chuck Lever
>=20
>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

--
Chuck Lever




From nobody Wed Apr 26 10:06:06 2017
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 8B76C131538 for <nfsv4@ietfa.amsl.com>; Wed, 26 Apr 2017 10:06:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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] 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 ZIz2Ckdk3R6D for <nfsv4@ietfa.amsl.com>; Wed, 26 Apr 2017 10:05:56 -0700 (PDT)
Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (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 5179313152E for <nfsv4@ietf.org>; Wed, 26 Apr 2017 10:05:54 -0700 (PDT)
Received: by mail-it0-x229.google.com with SMTP id g66so43292919ite.1 for <nfsv4@ietf.org>; Wed, 26 Apr 2017 10:05:54 -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=Eao0GMWcvq9JcBD4W9B8we2YdRZoM72LXUiRnzBJ0Rc=; b=pf5Kpyne3nW670GOHCjDEAYtD47upVQJuKCkILAIzai4nUSV66BaXhrN31eWVQzIbs EbbCRycD7NpIIylzzoNb005stkC1kNeCiLX0M2SOJWAlmOB1DilWsH43bu1QxTUNlvkV Unn2YFuf/IrPDk0NwFTs3OdSRGVgJXGPGSaXU8OfaloLT0vJpIhsjdGQpTnGk/9zHZC5 zvLGk+8nrAr/Go7Xbzgqv8UidU4+Gr52Yn46WtPb9acKwAjph7ohsBAdChSIIp+gxilF b8zCCPKgxPVqInJozYsCRMqiqRZx6dMuOaTRBbUF8NE93Zu3nPpSAl+K90XQDwwlJgcC bOvA==
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=Eao0GMWcvq9JcBD4W9B8we2YdRZoM72LXUiRnzBJ0Rc=; b=n9EUXjkY9RNHX8i7dluL/TuzhF6r51zJ1DBhR4KNTCWMl0Jhns0qbCBOm3w07waEFb LNoN8q2nFC8uixAl26EvNWW1mZ6JJW83m7NWmg7s/iZiVuW+cRq/h21QtkJIV0WpRv9O KM6KNOy25EGm9w8UKwcbmc4YJk0hxhHg0KyfKNmZqZf1gzxrtpNMnJcwGo28hSA4e5rJ v6lyzbr6JxM3726M8wNahnolm7c5/c11Y1C3tU5Gi+hT8xVdi1pTwktz92mdjK8g1EWy p5v+FO4wCJw/O1qOS3C+mB1oJgQrPwtk1x47QAsNSXJfdgM1xSSqvg+k6L9HO5qXD0q+ TMVg==
X-Gm-Message-State: AN3rC/74MhmEEpwjCiXwxhByGdbie3gzj8Rw+SQUcIWJdypdeIUDTCdz mvC1MDAHELUKgCyZqztbgU+KkRWEQg==
X-Received: by 10.36.108.147 with SMTP id w141mr2243862itb.57.1493226353428; Wed, 26 Apr 2017 10:05:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Wed, 26 Apr 2017 10:05:52 -0700 (PDT)
In-Reply-To: <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com>
From: David Noveck <davenoveck@gmail.com>
Date: Wed, 26 Apr 2017 13:05:52 -0400
Message-ID: <CADaq8jct4F=rKSW9qSW9HGP_C2hsn1uCF5Tw8YCWwWTjwD7uGQ@mail.gmail.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a114417aa5d992d054e14da9d
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/_a2I-QHfOszgeE7Fb7poIA26Ydg>
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, 26 Apr 2017 17:06:05 -0000

--001a114417aa5d992d054e14da9d
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Works for me.

On Wed, Apr 26, 2017 at 12:18 PM, Chuck Lever <chuck.lever@oracle.com>
wrote:

>
> > On Apr 24, 2017, at 7:30 AM, Chuck Lever <chuck.lever@oracle.com> wrote=
:
> >
> >>
> >> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
> >>
> >> On 4/21/2017 10:43 AM, Chuck Lever wrote:
> >>> I agree that SHOULD/MAY makes things cloudier, and does not
> >>> seem to align with well-defined RFC2119 usage.
> >>>
> >>> Another way we've dealt with similar disagreements between
> >>> specification and implementation is to decide that one of
> >>> the implementations is incorrect.
> >>>
> >>> Can we agree that:
> >>>
> >>> - GARBAGE_ARGS is a bit of a layering violation, though it's
> >>> understandable why it might be returned
> >>>
> >>> - RPC clients are already prepared for GARBAGE_ARGS
> >>
> >> Are you certain of this?
> >
> > GARBAGE_ARGS has been part of the RPC protocol for decades.
> > The two Unix-flavored clients that have NFS/RDMA support can
> > both handle this error.
>
> I've confirmed that the only other known NFS/RDMA client
> (Oracle dNFS) properly recognizes GARBAGE_ARGS.
>
>
> >> And out of curiosity, what is returned
> >> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
> >
> > RFC 5531:
> >> GARBAGE_ARGS  =3D 4, /* procedure can=E2=80=99t decode params   */
> >
> >
> > GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
> > with accept_stat GARBAGE_ARGS. An XID is available in the
> > header.
> >
> > rfc5666bis:
> >> If the rdma_vers field contains a recognized value, but an
> >> XDR parsing error occurs, the responder MUST reply with an
> >> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
> >
> >
> > ERR_CHUNK is a transport level error. An XID is available
> > in the header.
> >
> > The difference is that the RPC layer v. the transport layer
> > are reporting they don't understand the contents of the
> > message (Call). There is nothing more in either type of
> > message.
> >
> >
> >>> - In RPC-over-RDMA Version One, we are not trying to recover
> >>> (in the sense of resending a simpler COMPOUND) but are rather
> >>> trying to ensure the offending RPC is properly terminated on
> >>> the client, and does not further block other RPCs or deadlock
> >>> the transport
> >>>
> >>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
> >>> instead of ERR_CHUNK.
> >>
> >> "Harmless" is a bit relative. The operation fails, through no fault
> >> of the consumer. And, frankly, in a very mysterious way.
> >
> > We have no richer way of communicating failure in RPC-over-RDMA
> > Version One. We are not looking for recovery here, so I don't
> > believe any more information would be useful. If the server
> > wishes, it can log the failure with a message explaining what
> > went wrong.
> >
> >
> >> Again, I think there is more to say here. It's a limitation of the
> >> protocol whose implications should be made clear (contraining the
> >> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
> >
> > I'd welcome any suggested text.
> >
> > Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
> > RPC-over-RDMA have a sophisticated mechanism to communicate this
> > kind of limitation. The best an NFSv4 server can do is return
> > NFS4ERR_RESOURCE, which also carries little extra information
> > about what a client should do to recover.
> >
> > So are you comfortable with eliminating GARBAGE_ARGS if we can
> > come up with more detail about the impact of not knowing how
> > complex a COMPOUND can be?
>
> I've come up with some possible replacement text for
> the final two paragraphs of S5.4.1 in an attempt to
> address comments from Tom, David, and Karen. The
> normative requirements have been removed, and a (brief)
> discussion of the consequences of not handling complex
> COMPOUNDs was introduced.
>
>
> 5.4.2.  Complexity Considerations
>
>    As mentioned above, an NFS version 4 COMPOUND procedure can contain
>    more than one operation that carries a DDP-eligible data item.  The
>    RPC-over-RDMA Version One protocol does not place any limit on the
>    number of chunks that may appear in the Read or Write lists.
>    Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
>    Version One message containing more than one Read chunk or Write
>    chunk.
>
>    However, implementations have practical limits on the number of
>    chunks or segments they are prepared to process in one of these
>    lists.  There are several ways an NFS Version 4 server might indicate
>    that an RPC Call message constructed by a client is valid but cannot
>    be processed because of implementation limitations:
>
>    o  If the problem is detected in the upper layer (i.e., by the NFS
>       version 4 implementation), the server returns an NFS status of
>       NFS4ERR_RESOURCE.
>
>    o  If the problem is detected during XDR decoding of the request
>       (e.g., during re-assembly of the Call message by the RPC layer),
>       the server returns an RPC accept_stat of GARBAGE_ARGS.
>
>    o  If the problem is detected at the transport layer (i.e., during
>       transport header processing), the server returns an RDMA_ERROR
>       message with the err_code field set to ERR_CHUNK.
>
>    Such implementation limits can constrain the complexity of NFS
>    version 4 COMPOUNDs, limit the number of elements in scatter-gather
>    operations, or prevent the use of Kerberos integrity or privacy
>    services.
>
>
> Comments, opinions on this approach?
>
>
> >> Tom.
> >>
> >>
> >>>
> >>> As a result, I can change the Read list text in S5.4.1 to be
> >>> the same as the Write list text, removing the mention of
> >>> GARBAGE_ARGS.
> >>>
> >>> Would that sit comfortably with everyone?
> >>>
> >>>
> >>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com>
> wrote:
> >>>>
> >>>>> The "or" is a similar situation, it prescribes a choice, which
> >>>>> does not define a protocol.
> >>>>
> >>>> Fair enough, but the point that needs to be made is that, with
> >>>> regard to Version One, Chuck and  the working group is not
> >>>> free to define a protocol.  As a result we have the kind of
> >>>> ugliness you object to, but it is inherent in the choice to try to
> >>>> revive Version One as-is.
> >>>>
> >>>>> 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 SHOULD reject the request by responding with an
> >>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
> >>>>> server MAY reject the RPC with an RDMA_MSG message containing an RP=
C
> >>>>> Reply with an accept status of GARBAGE_ARGS.
> >>>>
> >>>> I think I know what you intend here and I've seen stuff like this in
> RFCs but I don't
> >>>> wthink e can do this because this is not in line with the definition=
s
> of "SHOULD"
> >>>> and "MAY" that appear in RFC2119.
> >>>>
> >>>> "SHOULD" means that you are supposed to do something but can avoid i=
t
> if
> >>>> you have a good reason and are aware of the consequences of not doin=
g
> it.
> >>>> In this case the "good" reason is that someone coded the
> implementation
> >>>> to do something else, which is not all that good a reason.  The
> consequences of
> >>>> returning the GARBAGEARGS are exactly zero, since the client has to
> be prepared
> >>>> for either it or ERR_CHUNK.
> >>>>
> >>>> "MAY" means the implementation can choose to do the action or not,
> which is line
> >>>> with the reality here but essentially contradicts the SHOULD.
> >>>>
> >>>>> This at least makes it clear which response is "preferred".
> >>>>
> >>>> But it is isn't really the job of the RFC2119 terms to say which is
> "preferred" or
> >>>> "'preferred'".  These terms are supposed to describe interoperabilit=
y
> and the
> >>>> interoperability situation is that the server MUST return ERR_CHUNK =
or
> >>>> GARBAGEARGS and the client needs to be prepared for either.  That is
> the
> >>>> unpleasant reality.  If you want to indicate a preference, you can
> say something
> >>>> like:
> >>>>    =E2=80=A2 Returning ERR_CHUNK is preferrable.
> >>>>    =E2=80=A2 Returinng ERR_CHUNK is more in line with the appropriat=
e
> protocol layering since this issue relates to a limitation of the transpo=
rt
> implementation.
> >>>>    =E2=80=A2 Use of GARBAGEARGS is an unfortunate artifact of inappr=
opriately
> layered implementations and is only allowed for reasons of compatibility
> with existing implementations.  It is desirable to avoid it.
> >>>>> And one would hope a future draft would decide.
> >>>>
> >>>> Not sure what draft you are thinking of.  I don't see us doing an
> rfc5667bisbis (rfc5667tris).
> >>>>
> >>>> By the time we did that, the implementations with these restrictions
> will probably be gone.
> >>>>
> >>>>> I have a second question though. How does the client determine what
> is
> >>>>> the actual error? As in, how many chunks were allowed?
> >>>>
> >>>> This is not fixable in Version One.  It would be in Version Two, but
> by then
> >>>> the need will probably be gone.
> >>>>
> >>>>> Does the upper
> >>>>> layer have to recover, and if so what are the implications?
> >>>>
> >>>> I think something could be put in to indicate that clients should
> break up COMPOUNDS
> >>>> so the only have a single chunk each.
> >>>>
> >>>>> Yes, I know 5667 did not explore this very well.
> >>>>
> >>>> It didn't explore it at all.  And 5666's error reporting facilities
> were extremely limited.
> >>>>
> >>>>> Mea culpa.
> >>>>
> >>>> I don'tt think you have anything to apologize for.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> wrote:
> >>>>
> >>>>
> >>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
> >>>> Hi Tom-
> >>>>
> >>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
> >>>>
> >>>> I noticed the same thing, and I'll add that the MUST reject conditio=
n
> >>>> is very confusing because it allows an "or". In my opinion a MUST is
> >>>> always a single requirement, never ambiguous.
> >>>>
> >>>> I agree this kind of thing is tricky. I wrote it as "the server MUST
> >>>> reject the RPC". That's the single requirement. The choice is how th=
e
> >>>> rejection is conveyed to the client.
> >>>>
> >>>> The statement "MUST reject" is not testable. So, while it may be
> >>>> understood what is intended, there is nothing implementable in the
> >>>> MUST. The "or" is a similar situation, it prescribes a choice, which
> >>>> does not define a protocol.
> >>>>
> >>>> Is there some reason you want to allow such a choice? I think you'll
> >>>> find that, worded properly, it becomes actually much less
> implementable
> >>>> and interoperable than you may think.
> >>>>
> >>>> The Solaris server can return an RPC-level error in cases like this.
> >>>>
> >>>> Well, this is happening because the Solaris server is (probably) jus=
t
> >>>> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
> >>>> processing that detects any problem.
> >>>>
> >>>> On the other hand, an implementation could do the opposite, it could
> >>>> process the chunks at the lower layer, before ever invoking RPC
> >>>> processing. This would naturally lead to a non-RPC error.
> >>>>
> >>>> The challenge in defining the protocol is to hide these possibilitie=
s.
> >>>>
> >>>> I think there are similar choices allowed in rfc5666bis. Let's say
> >>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
> >>>> documenting existing implementation behavior here.
> >>>>
> >>>> I'm not sure it matters to the client: both errors are permanent and
> >>>> the RPC is terminated on the client.
> >>>>
> >>>> I'm open to alternatives.
> >>>>
> >>>> The icky way to do this is to split into two weak requirements.
> >>>>
> >>>>  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 SHOULD reject the request by responding with an
> >>>>  RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
> >>>>  server MAY reject the RPC with an RDMA_MSG message containing an RP=
C
> >>>>  Reply with an accept status of GARBAGE_ARGS.
> >>>>
> >>>> This at least makes it clear which response is "preferred". And one
> >>>> would hope a future draft would decide.
> >>>>
> >>>> I have a second question though. How does the client determine what =
is
> >>>> the actual error? As in, how many chunks were allowed? Does the uppe=
r
> >>>> layer have to recover, and if so what are the implications?
> >>>>
> >>>> Yes, I know 5667 did not explore this very well. Mea culpa.
> >>>>
> >>>>
> >>>>
> >>>> Tom.
> >>>>
> >>>>
> >>>>
> >>>> On 4/18/2017 6:32 PM, karen deitke wrote:
> >>>> Hi Chuck, its unclear what you mean by "is prepared to process" in
> the text below.
> >>>> 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*
> >>>> Giventhat READ_PLUS no longer has any DDP-eligible data items, the
> >>>> situation described in the fifth bullet can no longer arise. I sugge=
st
> >>>> 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 naturall=
y
> >>>> 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 no=
t"
> >>>> 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
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> 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
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> 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
> >>>
> >>
> >> _______________________________________________
> >> 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
>
> --
> Chuck Lever
>
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>

--001a114417aa5d992d054e14da9d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Works for me.</div><div class=3D"gmail_extra"><br><div cla=
ss=3D"gmail_quote">On Wed, Apr 26, 2017 at 12:18 PM, Chuck Lever <span dir=
=3D"ltr">&lt;<a href=3D"mailto:chuck.lever@oracle.com" target=3D"_blank">ch=
uck.lever@oracle.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
"><span class=3D""><br>
&gt; On Apr 24, 2017, at 7:30 AM, Chuck Lever &lt;<a href=3D"mailto:chuck.l=
ever@oracle.com">chuck.lever@oracle.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Apr 24, 2017, at 7:56 AM, Tom Talpey &lt;<a href=3D"mailto:tom@=
talpey.com">tom@talpey.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 4/21/2017 10:43 AM, Chuck Lever wrote:<br>
&gt;&gt;&gt; I agree that SHOULD/MAY makes things cloudier, and does not<br=
>
&gt;&gt;&gt; seem to align with well-defined RFC2119 usage.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Another way we&#39;ve dealt with similar disagreements between=
<br>
&gt;&gt;&gt; specification and implementation is to decide that one of<br>
&gt;&gt;&gt; the implementations is incorrect.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Can we agree that:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - GARBAGE_ARGS is a bit of a layering violation, though it&#39=
;s<br>
&gt;&gt;&gt; understandable why it might be returned<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - RPC clients are already prepared for GARBAGE_ARGS<br>
&gt;&gt;<br>
&gt;&gt; Are you certain of this?<br>
&gt;<br>
&gt; GARBAGE_ARGS has been part of the RPC protocol for decades.<br>
&gt; The two Unix-flavored clients that have NFS/RDMA support can<br>
&gt; both handle this error.<br>
<br>
</span>I&#39;ve confirmed that the only other known NFS/RDMA client<br>
(Oracle dNFS) properly recognizes GARBAGE_ARGS.<br>
<div><div class=3D"h5"><br>
<br>
&gt;&gt; And out of curiosity, what is returned<br>
&gt;&gt; to the consumer for GARBAGE_ARGS versus ERR_CHUNK?<br>
&gt;<br>
&gt; RFC 5531:<br>
&gt;&gt; GARBAGE_ARGS=C2=A0 =3D 4, /* procedure can=E2=80=99t decode params=
=C2=A0 =C2=A0*/<br>
&gt;<br>
&gt;<br>
&gt; GARBAGE_ARGS is an RPC-level error. The reply is &quot;accepted&quot;<=
br>
&gt; with accept_stat GARBAGE_ARGS. An XID is available in the<br>
&gt; header.<br>
&gt;<br>
&gt; rfc5666bis:<br>
&gt;&gt; If the rdma_vers field contains a recognized value, but an<br>
&gt;&gt; XDR parsing error occurs, the responder MUST reply with an<br>
&gt;&gt; RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.<br>
&gt;<br>
&gt;<br>
&gt; ERR_CHUNK is a transport level error. An XID is available<br>
&gt; in the header.<br>
&gt;<br>
&gt; The difference is that the RPC layer v. the transport layer<br>
&gt; are reporting they don&#39;t understand the contents of the<br>
&gt; message (Call). There is nothing more in either type of<br>
&gt; message.<br>
&gt;<br>
&gt;<br>
&gt;&gt;&gt; - In RPC-over-RDMA Version One, we are not trying to recover<b=
r>
&gt;&gt;&gt; (in the sense of resending a simpler COMPOUND) but are rather<=
br>
&gt;&gt;&gt; trying to ensure the offending RPC is properly terminated on<b=
r>
&gt;&gt;&gt; the client, and does not further block other RPCs or deadlock<=
br>
&gt;&gt;&gt; the transport<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thus I claim it is harmless if a server returns GARBAGE_ARGS<b=
r>
&gt;&gt;&gt; instead of ERR_CHUNK.<br>
&gt;&gt;<br>
&gt;&gt; &quot;Harmless&quot; is a bit relative. The operation fails, throu=
gh no fault<br>
&gt;&gt; of the consumer. And, frankly, in a very mysterious way.<br>
&gt;<br>
&gt; We have no richer way of communicating failure in RPC-over-RDMA<br>
&gt; Version One. We are not looking for recovery here, so I don&#39;t<br>
&gt; believe any more information would be useful. If the server<br>
&gt; wishes, it can log the failure with a message explaining what<br>
&gt; went wrong.<br>
&gt;<br>
&gt;<br>
&gt;&gt; Again, I think there is more to say here. It&#39;s a limitation of=
 the<br>
&gt;&gt; protocol whose implications should be made clear (contraining the<=
br>
&gt;&gt; complexity of COMPOUNDs, limiting scatter/gather lengths, etc).<br=
>
&gt;<br>
&gt; I&#39;d welcome any suggested text.<br>
&gt;<br>
&gt; Honestly, I&#39;m not sure what can be said. Neither NFSv4.0 nor<br>
&gt; RPC-over-RDMA have a sophisticated mechanism to communicate this<br>
&gt; kind of limitation. The best an NFSv4 server can do is return<br>
&gt; NFS4ERR_RESOURCE, which also carries little extra information<br>
&gt; about what a client should do to recover.<br>
&gt;<br>
&gt; So are you comfortable with eliminating GARBAGE_ARGS if we can<br>
&gt; come up with more detail about the impact of not knowing how<br>
&gt; complex a COMPOUND can be?<br>
<br>
</div></div>I&#39;ve come up with some possible replacement text for<br>
the final two paragraphs of S5.4.1 in an attempt to<br>
address comments from Tom, David, and Karen. The<br>
normative requirements have been removed, and a (brief)<br>
discussion of the consequences of not handling complex<br>
COMPOUNDs was introduced.<br>
<br>
<br>
5.4.2.=C2=A0 Complexity Considerations<br>
<br>
=C2=A0 =C2=A0As mentioned above, an NFS version 4 COMPOUND procedure can co=
ntain<br>
=C2=A0 =C2=A0more than one operation that carries a DDP-eligible data item.=
=C2=A0 The<br>
=C2=A0 =C2=A0RPC-over-RDMA Version One protocol does not place any limit on=
 the<br>
=C2=A0 =C2=A0number of chunks that may appear in the Read or Write lists.<b=
r>
=C2=A0 =C2=A0Therefore an NFS version 4 client MAY construct an RPC-over-RD=
MA<br>
=C2=A0 =C2=A0Version One message containing more than one Read chunk or Wri=
te<br>
=C2=A0 =C2=A0chunk.<br>
<br>
=C2=A0 =C2=A0However, implementations have practical limits on the number o=
f<br>
=C2=A0 =C2=A0chunks or segments they are prepared to process in one of thes=
e<br>
=C2=A0 =C2=A0lists.=C2=A0 There are several ways an NFS Version 4 server mi=
ght indicate<br>
=C2=A0 =C2=A0that an RPC Call message constructed by a client is valid but =
cannot<br>
=C2=A0 =C2=A0be processed because of implementation limitations:<br>
<br>
=C2=A0 =C2=A0o=C2=A0 If the problem is detected in the upper layer (i.e., b=
y the NFS<br>
=C2=A0 =C2=A0 =C2=A0 version 4 implementation), the server returns an NFS s=
tatus of<br>
=C2=A0 =C2=A0 =C2=A0 NFS4ERR_RESOURCE.<br>
<br>
=C2=A0 =C2=A0o=C2=A0 If the problem is detected during XDR decoding of the =
request<br>
=C2=A0 =C2=A0 =C2=A0 (e.g., during re-assembly of the Call message by the R=
PC layer),<br>
=C2=A0 =C2=A0 =C2=A0 the server returns an RPC accept_stat of GARBAGE_ARGS.=
<br>
<br>
=C2=A0 =C2=A0o=C2=A0 If the problem is detected at the transport layer (i.e=
., during<br>
=C2=A0 =C2=A0 =C2=A0 transport header processing), the server returns an RD=
MA_ERROR<br>
=C2=A0 =C2=A0 =C2=A0 message with the err_code field set to ERR_CHUNK.<br>
<br>
=C2=A0 =C2=A0Such implementation limits can constrain the complexity of NFS=
<br>
=C2=A0 =C2=A0version 4 COMPOUNDs, limit the number of elements in scatter-g=
ather<br>
=C2=A0 =C2=A0operations, or prevent the use of Kerberos integrity or privac=
y<br>
=C2=A0 =C2=A0services.<br>
<br>
<br>
Comments, opinions on this approach?<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
&gt;&gt; Tom.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; As a result, I can change the Read list text in S5.4.1 to be<b=
r>
&gt;&gt;&gt; the same as the Write list text, removing the mention of<br>
&gt;&gt;&gt; GARBAGE_ARGS.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Would that sit comfortably with everyone?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Apr 20, 2017, at 7:21 PM, David Noveck &lt;<a href=3D"m=
ailto:davenoveck@gmail.com">davenoveck@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The &quot;or&quot; is a similar situation, it prescrib=
es a choice, which<br>
&gt;&gt;&gt;&gt;&gt; does not define a protocol.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Fair enough, but the point that needs to be made is that, =
with<br>
&gt;&gt;&gt;&gt; regard to Version One, Chuck and=C2=A0 the working group i=
s not<br>
&gt;&gt;&gt;&gt; free to define a protocol.=C2=A0 As a result we have the k=
ind of<br>
&gt;&gt;&gt;&gt; ugliness you object to, but it is inherent in the choice t=
o try to<br>
&gt;&gt;&gt;&gt; revive Version One as-is.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; If an NFS version 4 client sends an RPC Call with a Re=
ad list that<br>
&gt;&gt;&gt;&gt;&gt; contains more chunks than an NFS version 4 server is p=
repared to<br>
&gt;&gt;&gt;&gt;&gt; process, the server SHOULD reject the request by respo=
nding with an<br>
&gt;&gt;&gt;&gt;&gt; RDMA_ERROR message with the rdma_err value set to ERR_=
CHUNK. The<br>
&gt;&gt;&gt;&gt;&gt; server MAY reject the RPC with an RDMA_MSG message con=
taining an RPC<br>
&gt;&gt;&gt;&gt;&gt; Reply with an accept status of GARBAGE_ARGS.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I think I know what you intend here and I&#39;ve seen stuf=
f like this in RFCs but I don&#39;t<br>
&gt;&gt;&gt;&gt; wthink e can do this because this is not in line with the =
definitions of &quot;SHOULD&quot;<br>
&gt;&gt;&gt;&gt; and &quot;MAY&quot; that appear in RFC2119.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &quot;SHOULD&quot; means that you are supposed to do somet=
hing but can avoid it if<br>
&gt;&gt;&gt;&gt; you have a good reason and are aware of the consequences o=
f not doing it.<br>
&gt;&gt;&gt;&gt; In this case the &quot;good&quot; reason is that someone c=
oded the implementation<br>
&gt;&gt;&gt;&gt; to do something else, which is not all that good a reason.=
=C2=A0 The consequences of<br>
&gt;&gt;&gt;&gt; returning the GARBAGEARGS are exactly zero, since the clie=
nt has to be prepared<br>
&gt;&gt;&gt;&gt; for either it or ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &quot;MAY&quot; means the implementation can choose to do =
the action or not, which is line<br>
&gt;&gt;&gt;&gt; with the reality here but essentially contradicts the SHOU=
LD.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; This at least makes it clear which response is &quot;p=
referred&quot;.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; But it is isn&#39;t really the job of the RFC2119 terms to=
 say which is &quot;preferred&quot; or<br>
&gt;&gt;&gt;&gt; &quot;&#39;preferred&#39;&quot;.=C2=A0 These terms are sup=
posed to describe interoperability and the<br>
&gt;&gt;&gt;&gt; interoperability situation is that the server MUST return =
ERR_CHUNK or<br>
&gt;&gt;&gt;&gt; GARBAGEARGS and the client needs to be prepared for either=
.=C2=A0 That is the<br>
&gt;&gt;&gt;&gt; unpleasant reality.=C2=A0 If you want to indicate a prefer=
ence, you can say something<br>
&gt;&gt;&gt;&gt; like:<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =E2=80=A2 Returning ERR_CHUNK is preferrable.=
<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =E2=80=A2 Returinng ERR_CHUNK is more in line=
 with the appropriate protocol layering since this issue relates to a limit=
ation of the transport implementation.<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =E2=80=A2 Use of GARBAGEARGS is an unfortunat=
e artifact of inappropriately layered implementations and is only allowed f=
or reasons of compatibility with existing implementations.=C2=A0 It is desi=
rable to avoid it.<br>
&gt;&gt;&gt;&gt;&gt; And one would hope a future draft would decide.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Not sure what draft you are thinking of.=C2=A0 I don&#39;t=
 see us doing an rfc5667bisbis (rfc5667tris).<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; By the time we did that, the implementations with these re=
strictions will probably be gone.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; I have a second question though. How does the client d=
etermine what is<br>
&gt;&gt;&gt;&gt;&gt; the actual error? As in, how many chunks were allowed?=
<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; This is not fixable in Version One.=C2=A0 It would be in V=
ersion Two, but by then<br>
&gt;&gt;&gt;&gt; the need will probably be gone.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Does the upper<br>
&gt;&gt;&gt;&gt;&gt; layer have to recover, and if so what are the implicat=
ions?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I think something could be put in to indicate that clients=
 should break up COMPOUNDS<br>
&gt;&gt;&gt;&gt; so the only have a single chunk each.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Yes, I know 5667 did not explore this very well.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; It didn&#39;t explore it at all.=C2=A0 And 5666&#39;s erro=
r reporting facilities were extremely limited.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Mea culpa.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I don&#39;tt think you have anything to apologize for.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey &lt;<a href=3D=
"mailto:tom@talpey.com">tom@talpey.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On 4/19/2017 11:14 AM, Chuck Lever wrote:<br>
&gt;&gt;&gt;&gt; Hi Tom-<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Apr 18, 2017, at 11:08 PM, Tom Talpey &lt;<a href=3D"ma=
ilto:tom@talpey.com">tom@talpey.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I noticed the same thing, and I&#39;ll add that the MUST r=
eject condition<br>
&gt;&gt;&gt;&gt; is very confusing because it allows an &quot;or&quot;. In =
my opinion a MUST is<br>
&gt;&gt;&gt;&gt; always a single requirement, never ambiguous.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I agree this kind of thing is tricky. I wrote it as &quot;=
the server MUST<br>
&gt;&gt;&gt;&gt; reject the RPC&quot;. That&#39;s the single requirement. T=
he choice is how the<br>
&gt;&gt;&gt;&gt; rejection is conveyed to the client.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The statement &quot;MUST reject&quot; is not testable. So,=
 while it may be<br>
&gt;&gt;&gt;&gt; understood what is intended, there is nothing implementabl=
e in the<br>
&gt;&gt;&gt;&gt; MUST. The &quot;or&quot; is a similar situation, it prescr=
ibes a choice, which<br>
&gt;&gt;&gt;&gt; does not define a protocol.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Is there some reason you want to allow such a choice? I th=
ink you&#39;ll<br>
&gt;&gt;&gt;&gt; find that, worded properly, it becomes actually much less =
implementable<br>
&gt;&gt;&gt;&gt; and interoperable than you may think.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The Solaris server can return an RPC-level error in cases =
like this.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Well, this is happening because the Solaris server is (pro=
bably) just<br>
&gt;&gt;&gt;&gt; handing the chunk list up to the RPC layer, and it&#39;s t=
he RPC (XDR)<br>
&gt;&gt;&gt;&gt; processing that detects any problem.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On the other hand, an implementation could do the opposite=
, it could<br>
&gt;&gt;&gt;&gt; process the chunks at the lower layer, before ever invokin=
g RPC<br>
&gt;&gt;&gt;&gt; processing. This would naturally lead to a non-RPC error.<=
br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The challenge in defining the protocol is to hide these po=
ssibilities.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I think there are similar choices allowed in rfc5666bis. L=
et&#39;s say<br>
&gt;&gt;&gt;&gt; that in a perfect world, I would go with only ERR_CHUNK, b=
ut I&#39;m<br>
&gt;&gt;&gt;&gt; documenting existing implementation behavior here.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I&#39;m not sure it matters to the client: both errors are=
 permanent and<br>
&gt;&gt;&gt;&gt; the RPC is terminated on the client.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I&#39;m open to alternatives.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The icky way to do this is to split into two weak requirem=
ents.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 If an NFS version 4 client sends an RPC Call with a =
Read list that<br>
&gt;&gt;&gt;&gt;=C2=A0 contains more chunks than an NFS version 4 server is=
 prepared to<br>
&gt;&gt;&gt;&gt;=C2=A0 process, the server SHOULD reject the request by res=
ponding with an<br>
&gt;&gt;&gt;&gt;=C2=A0 RDMA_ERROR message with the rdma_err value set to ER=
R_CHUNK. The<br>
&gt;&gt;&gt;&gt;=C2=A0 server MAY reject the RPC with an RDMA_MSG message c=
ontaining an RPC<br>
&gt;&gt;&gt;&gt;=C2=A0 Reply with an accept status of GARBAGE_ARGS.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; This at least makes it clear which response is &quot;prefe=
rred&quot;. And one<br>
&gt;&gt;&gt;&gt; would hope a future draft would decide.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I have a second question though. How does the client deter=
mine what is<br>
&gt;&gt;&gt;&gt; the actual error? As in, how many chunks were allowed? Doe=
s the upper<br>
&gt;&gt;&gt;&gt; layer have to recover, and if so what are the implications=
?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Yes, I know 5667 did not explore this very well. Mea culpa=
.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Tom.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On 4/18/2017 6:32 PM, karen deitke wrote:<br>
&gt;&gt;&gt;&gt; Hi Chuck, its unclear what you mean by &quot;is prepared t=
o process&quot; in the text below.<br>
&gt;&gt;&gt;&gt; Other than that, looks good.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Karen<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 5.4.1<br>
&gt;&gt;&gt;&gt; If an NFS version 4 client sends an RPC Call with a Write =
list that<br>
&gt;&gt;&gt;&gt; contains more chunks than an NFS version 4 server is prepa=
red to<br>
&gt;&gt;&gt;&gt; process, the server MUST reject the RPC by responding with=
 an<br>
&gt;&gt;&gt;&gt; RDMA_ERROR message with the rdma_err value set to ERR_CHUN=
K.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; If an NFS version 4 client sends an RPC Call with a Read l=
ist that<br>
&gt;&gt;&gt;&gt; contains more chunks than an NFS version 4 server is prepa=
red to<br>
&gt;&gt;&gt;&gt; process, the server MUST reject the RPC by responding with=
 an<br>
&gt;&gt;&gt;&gt; RDMA_MSG message containing an RPC Reply with an accept st=
atus of<br>
&gt;&gt;&gt;&gt; GARBAGE_ARGS, or with an RDMA_ERROR message with the rdma_=
err value<br>
&gt;&gt;&gt;&gt; set to ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On 4/18/2017 1:21 PM, David Noveck wrote:<br>
&gt;&gt;&gt;&gt; *Overall Evaluation*<br>
&gt;&gt;&gt;&gt; *<br>
&gt;&gt;&gt;&gt; *<br>
&gt;&gt;&gt;&gt; Major improvement over RFC5667.=C2=A0 Almost ready to ship=
.=C2=A0 No technical<br>
&gt;&gt;&gt;&gt; issues.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; A lot of my comments are basically editorial and are offer=
ed on a<br>
&gt;&gt;&gt;&gt; take-it-or-lease-it basis.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I think some clarification in Section 5.4.1 is needed alth=
ough not<br>
&gt;&gt;&gt;&gt; necessarily in the ways suggested below,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; *Comments by Section*<br>
&gt;&gt;&gt;&gt; *5.4.1. Multiple DDP-eligible Data Items*<br>
&gt;&gt;&gt;&gt; Giventhat READ_PLUS no longer has any DDP-eligible data it=
ems, the<br>
&gt;&gt;&gt;&gt; situation described in the fifth bullet can no longer aris=
e. I suggest<br>
&gt;&gt;&gt;&gt; deleting the bullet.<br>
&gt;&gt;&gt;&gt; The penultimate paragraph can be read as applying to some =
situations<br>
&gt;&gt;&gt;&gt; in which it shouldn&#39;t and where the extra chunks would=
 very naturally<br>
&gt;&gt;&gt;&gt; ignored. For example, if you had on write chunk together w=
ith a READ<br>
&gt;&gt;&gt;&gt; operation which failed, the server would have more chunks =
(i.e. one)<br>
&gt;&gt;&gt;&gt; than the number it is prepared to process (i.e. zero). Sug=
gest, as a<br>
&gt;&gt;&gt;&gt; possible replacement:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 Normally, when an NFS version 4 client sends an RPC =
Call with a<br>
&gt;&gt;&gt;&gt;=C2=A0 Write list that contains multiple chunks. each such,=
 when matched<br>
&gt;&gt;&gt;&gt;=C2=A0 with a DDP-eligible data item in the response, direc=
ts the<br>
&gt;&gt;&gt;&gt;=C2=A0 placement of the data item as specified by<br>
&gt;&gt;&gt;&gt;=C2=A0 [I.D.-nfsv4-rfc5666bis]. When there are DDP-eligible=
 data items<br>
&gt;&gt;&gt;&gt;=C2=A0 matched to write chunks that an NFS version 4 server=
 is not<br>
&gt;&gt;&gt;&gt;=C2=A0 prepared to process, the server MUST reject the RPC =
by responding<br>
&gt;&gt;&gt;&gt;=C2=A0 with an RDMA_ERROR message with the rdma_err value s=
et to ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; With regard to the last paragraph, I am curious that this =
paragraph,<br>
&gt;&gt;&gt;&gt; unlike the previous one, allows GARBGEARGS. Is this so bec=
ause that<br>
&gt;&gt;&gt;&gt; would be allowed if the chunks in question had offsets oth=
er than<br>
&gt;&gt;&gt;&gt; those that correspond to DDP-eligible data items? If so, p=
lease<br>
&gt;&gt;&gt;&gt; consider the following possible replacement.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 Normally, when an NFS version 4 client sends an RPC =
Call with a<br>
&gt;&gt;&gt;&gt;=C2=A0 Read list that contains multiple chunks, each such, =
when properly<br>
&gt;&gt;&gt;&gt;=C2=A0 matched with a DDP-eliigible data item in the reques=
t, directs the<br>
&gt;&gt;&gt;&gt;=C2=A0 fetching of the the data item as specified by<br>
&gt;&gt;&gt;&gt;=C2=A0 [I.D.-nfsv4-rfc5666bis]. When there are DDP-eligible=
 data items<br>
&gt;&gt;&gt;&gt;=C2=A0 matched to read chunks that an NFS version 4 server =
is not<br>
&gt;&gt;&gt;&gt;=C2=A0 prepared to process, the server MUST reject the RPC =
by responding<br>
&gt;&gt;&gt;&gt;=C2=A0 with an RDMA_ERROR message with the rdma_err value s=
et to ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; *5.6. Session-Related Considerations*<br>
&gt;&gt;&gt;&gt; In the third sentence of the second paragraph, suggest rep=
lacing &quot;no<br>
&gt;&gt;&gt;&gt; different&quot; by &quot;not different&quot;.<br>
&gt;&gt;&gt;&gt; In the last sentence of the last paragraph, suggest replac=
ing &quot;is not&quot;<br>
&gt;&gt;&gt;&gt; by &quot;were not&quot;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" re=
l=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listin=
fo/nfsv4</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" re=
l=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listin=
fo/nfsv4</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" re=
l=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listin=
fo/nfsv4</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; Chuck Lever<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" re=
l=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listin=
fo/nfsv4</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" re=
l=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listin=
fo/nfsv4</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" re=
l=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listin=
fo/nfsv4</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Chuck Lever<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D=
"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/n=
fsv4</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; nfsv4 mailing list<br>
&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"nor=
eferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4=
</a><br>
&gt;<br>
&gt; --<br>
&gt; Chuck Lever<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; nfsv4 mailing list<br>
&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"norefer=
rer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4</a>=
<br>
<br>
--<br>
Chuck Lever<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4</a><br>
</div></div></blockquote></div><br></div>

--001a114417aa5d992d054e14da9d--


From nobody Wed Apr 26 12:37:15 2017
Return-Path: <karen.deitke@oracle.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 44C0C1314BD for <nfsv4@ietfa.amsl.com>; Wed, 26 Apr 2017 12:37:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.222
X-Spam-Level: 
X-Spam-Status: No, score=-4.222 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 bhNZ9tCL5909 for <nfsv4@ietfa.amsl.com>; Wed, 26 Apr 2017 12:37:02 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8E35113144C for <nfsv4@ietf.org>; Wed, 26 Apr 2017 12:37:02 -0700 (PDT)
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3QJb0Sw002719 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Wed, 26 Apr 2017 19:37:01 GMT
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v3QJb0xr005522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Wed, 26 Apr 2017 19:37:00 GMT
Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v3QJb088016400 for <nfsv4@ietf.org>; Wed, 26 Apr 2017 19:37:00 GMT
Received: from [10.159.108.130] (/10.159.108.130) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 26 Apr 2017 12:36:59 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <CADaq8jct4F=rKSW9qSW9HGP_C2hsn1uCF5Tw8YCWwWTjwD7uGQ@mail.gmail.com>
From: karen deitke <karen.deitke@oracle.com>
Organization: Oracle Corporation
Message-ID: <60248732-a86f-e8c3-03f5-1138ea178440@oracle.com>
Date: Wed, 26 Apr 2017 13:37:28 -0600
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <CADaq8jct4F=rKSW9qSW9HGP_C2hsn1uCF5Tw8YCWwWTjwD7uGQ@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/u1G5LSKspTSuDvaaEes950Ya7s4>
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, 26 Apr 2017 19:37:06 -0000

How does this prevent kerberos integrity or privacy?  Couldnt that still 
be done with simply just 1 offset 0 read chunk?

Karen


On 4/26/2017 11:05 AM, David Noveck wrote:
>  Such implementation limits can constrain the complexity of NFS
>    version 4 COMPOUNDs, limit the number of elements in scatter-gather
>    operations, or prevent the use of Kerberos integrity or privacy
>    services.


From nobody Wed Apr 26 13:33:29 2017
Return-Path: <chuck.lever@oracle.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 DDFA3129464 for <nfsv4@ietfa.amsl.com>; Wed, 26 Apr 2017 13:33:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no
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 6dP2t66G15dN for <nfsv4@ietfa.amsl.com>; Wed, 26 Apr 2017 13:33:26 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 66C2E12943D for <nfsv4@ietf.org>; Wed, 26 Apr 2017 13:33:26 -0700 (PDT)
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3QKXOen006788 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Wed, 26 Apr 2017 20:33:25 GMT
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v3QKXOcM018895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Wed, 26 Apr 2017 20:33:24 GMT
Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v3QKXN2L015031 for <nfsv4@ietf.org>; Wed, 26 Apr 2017 20:33:24 GMT
Received: from dhcp-whq-5op-3rd-and-4th-floor-gen-off-10-211-46-132.usdhcp.oraclecorp.com (/10.211.46.132) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 26 Apr 2017 13:33:23 -0700
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <60248732-a86f-e8c3-03f5-1138ea178440@oracle.com>
Date: Wed, 26 Apr 2017 13:34:56 -0700
Cc: nfsv4@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <25B4E5C0-9F14-4C81-B9E7-F7A0ECFDC380@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <CADaq8jct4F=rKSW9qSW9HGP_C2hsn1uCF5Tw8YCWwWTjwD7uGQ@mail.gmail.com> <60248732-a86f-e8c3-03f5-1138ea178440@oracle.com>
To: karen deitke <karen.deitke@oracle.com>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: userv0022.oracle.com [156.151.31.74]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/vDGoBrYr05WOCIzkk2_mJ398qtM>
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, 26 Apr 2017 20:33:28 -0000

Hi Karen-

The language also now mentions a limit on the maximum number
of chunk segments the server is prepared to process. Long
messages use chunks that can be broken into multiple
segments, and thus could encounter a maximum segment count
limit.


> On Apr 26, 2017, at 12:37 PM, karen deitke <karen.deitke@oracle.com> =
wrote:
>=20
> How does this prevent kerberos integrity or privacy?  Couldnt that =
still be done with simply just 1 offset 0 read chunk?
>=20
> Karen
>=20
>=20
> On 4/26/2017 11:05 AM, David Noveck wrote:
>> Such implementation limits can constrain the complexity of NFS
>>   version 4 COMPOUNDs, limit the number of elements in scatter-gather
>>   operations, or prevent the use of Kerberos integrity or privacy
>>   services.
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

--
Chuck Lever




From nobody Thu Apr 27 07:09:23 2017
Return-Path: <William.Adamson@netapp.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 146821279EB for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 07:09:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.4
X-Spam-Level: 
X-Spam-Status: No, score=-6.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=netapp.onmicrosoft.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 r7dFURD7H6Xp for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 07:09:19 -0700 (PDT)
Received: from mx142.netapp.com (mx142.netapp.com [216.240.21.19]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 419C9126CC7 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 07:09:18 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.37,384,1488873600";  d="scan'208,217";a="185100460"
Received: from hioexcmbx08-prd.hq.netapp.com ([10.122.105.41]) by mx142-out.netapp.com with ESMTP; 27 Apr 2017 06:54:22 -0700
Received: from VMWEXCCAS10-PRD.hq.netapp.com (10.122.105.28) by hioexcmbx08-prd.hq.netapp.com (10.122.105.41) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 27 Apr 2017 07:08:13 -0700
Received: from NAM03-CO1-obe.outbound.protection.outlook.com (10.120.60.153) by VMWEXCCAS10-PRD.hq.netapp.com (10.122.105.28) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Frontend Transport; Thu, 27 Apr 2017 07:08:13 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=E3uXJk1+miyKVzeXKuNyJvPwesZnV9aEJyU/6N7Ahxg=; b=XvQ2qBGReKUU21HzMv2aj8dcNFSAWFew6QnlW8qRhSXsbPTS04+1YrfVpGG1d7kb1PtBEvwNbjpHinKeivoGpKl3Y9Zb879Y8xtJPnKyAhV1W6x+XxZQWMUK31pYqAZ6/mndYJ+AyKN73sl29NQ1n7buT8Po7qKa3myUYKt5Wlk=
Received: from BN3PR0601MB1347.namprd06.prod.outlook.com (10.161.210.150) by BN3PR0601MB1346.namprd06.prod.outlook.com (10.161.210.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1047.13; Thu, 27 Apr 2017 14:08:11 +0000
Received: from BN3PR0601MB1347.namprd06.prod.outlook.com ([10.161.210.150]) by BN3PR0601MB1347.namprd06.prod.outlook.com ([10.161.210.150]) with mapi id 15.01.1047.019; Thu, 27 Apr 2017 14:08:12 +0000
From: "Adamson, Andy" <William.Adamson@netapp.com>
To: Christoph Hellwig <hch@lst.de>, Chuck Lever <chuck.lever@oracle.com>
CC: "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: [nfsv4] IETF 99 - July 16-21 - Prague (request for WG on meeting)
Thread-Index: AQHSt8mKXAVUn4e+AkqRhWmN3C6PjqHP558AgAGi/ACAARj5gIAGrAny
Date: Thu, 27 Apr 2017 14:08:11 +0000
Message-ID: <BN3PR0601MB1347641E76848DEA0458CF5285100@BN3PR0601MB1347.namprd06.prod.outlook.com>
References: <CAFt6Bak-5O+Pi15KbuwDJc8GYnR8Nh_zAz5iMhj4PLSja4YoAA@mail.gmail.com> <20170421142852.GA30579@lst.de> <52553727-6395-40C8-B07D-61C29693E5BB@oracle.com>, <20170423081406.GD22942@lst.de>
In-Reply-To: <20170423081406.GD22942@lst.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: lst.de; dkim=none (message not signed) header.d=none;lst.de; dmarc=none action=none header.from=netapp.com;
x-originating-ip: [132.245.23.149]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BN3PR0601MB1346; 7:b2fZg8YTa6QfVtcxCzO4KNq3GOXtPwr78yfe7lJQSrJkgG9FWtMBA9GuFdk6uOOnBw4bcbF7I6mYPTJo1acTpA0dvMvQyzbf08xYcveAOjeqPrwWuhgONqSRgZw4aLSrBHaDB4SHjtNyjWNfD8LuE834GvAOw2qaHwCIAzdeSNgyBTwV88eStp1ppIHuBQ00OK9lT6CLXYfcYKW18PeSZLM1fPps4RoMNJXjjt2pMfAamzoeSAouIwG3Op67yUcD7kqkj8sJih9D6JXJlj+hMmM96JGPPCQRkdbM5x5O1MprBsxe09w9Ez0YF3CN7o5Cn8pXDYYDFwJSdClPgjMeHw==
x-ms-office365-filtering-correlation-id: 1f1f5d94-2898-44e0-4ae3-08d48d76d71d
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:BN3PR0601MB1346; 
x-microsoft-antispam-prvs: <BN3PR0601MB1346737F76369608B2F1EA7D85100@BN3PR0601MB1346.namprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(20161123564025)(20161123555025)(20161123562025)(6072148); SRVR:BN3PR0601MB1346; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0601MB1346; 
x-forefront-prvs: 029097202E
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39450400003)(39840400002)(39410400002)(39850400002)(39400400002)(377454003)(24454002)(2900100001)(74316002)(5660300001)(122556002)(3660700001)(236005)(86362001)(99286003)(55016002)(6116002)(3846002)(102836003)(9686003)(189998001)(3280700002)(6306002)(54896002)(81166006)(76176999)(8936002)(4326008)(50986999)(54356999)(25786009)(53546009)(6436002)(38730400002)(66066001)(229853002)(2906002)(33656002)(6246003)(6506006)(93886004)(7696004)(53936002)(77096006)(606005)(8676002)(2950100002)(7906003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0601MB1346; H:BN3PR0601MB1347.namprd06.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BN3PR0601MB1347641E76848DEA0458CF5285100BN3PR0601MB1347_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2017 14:08:11.9500 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0601MB1346
X-OriginatorOrg: netapp.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/Z9jlUye9V8U2qpK7tGuLp-sj46U>
Subject: Re: [nfsv4] IETF 99 - July 16-21 - Prague (request for WG on meeting)
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: Thu, 27 Apr 2017 14:09:21 -0000

--_000_BN3PR0601MB1347641E76848DEA0458CF5285100BN3PR0601MB1347_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I would also like to meet and clear up NFS4 and NFS4.1 mulitpath.


-->Andy

________________________________
From: nfsv4 <nfsv4-bounces@ietf.org> on behalf of Christoph Hellwig <hch@ls=
t.de>
Sent: Sunday, April 23, 2017 4:14:07 AM
To: Chuck Lever
Cc: Christoph Hellwig; nfsv4@ietf.org
Subject: Re: [nfsv4] IETF 99 - July 16-21 - Prague (request for WG on meeti=
ng)

On Sat, Apr 22, 2017 at 11:28:28AM -0400, Chuck Lever wrote:
> I have cycles to help with a draft, if you'd like to offload
> some of that work.

Drafting should be easy - I'll need to get my prototype into a shape where
I even want to document it.

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www.ietf.org/mailman/listinfo/nfsv4

--_000_BN3PR0601MB1347641E76848DEA0458CF5285100BN3PR0601MB1347_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; pad=
ding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content=3D"text/html; charset=3DUTF-8">
<style type=3D"text/css" style=3D"">
<!--
p
	{margin-top:0;
	margin-bottom:0}
-->
</style>
<div dir=3D"ltr">
<div id=3D"x_divtagdefaultwrapper" dir=3D"ltr" style=3D"font-size:12pt; col=
or:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>I would also like to meet and clear up NFS4 and NFS4.1 mulitpath.</p>
<p><br>
</p>
<p>--&gt;Andy</p>
</div>
<hr tabindex=3D"-1" style=3D"display:inline-block; width:98%">
<div id=3D"x_divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" =
color=3D"#000000" style=3D"font-size:11pt"><b>From:</b> nfsv4 &lt;nfsv4-bou=
nces@ietf.org&gt; on behalf of Christoph Hellwig &lt;hch@lst.de&gt;<br>
<b>Sent:</b> Sunday, April 23, 2017 4:14:07 AM<br>
<b>To:</b> Chuck Lever<br>
<b>Cc:</b> Christoph Hellwig; nfsv4@ietf.org<br>
<b>Subject:</b> Re: [nfsv4] IETF 99 - July 16-21 - Prague (request for WG o=
n meeting)</font>
<div>&nbsp;</div>
</div>
</div>
<font size=3D"2"><span style=3D"font-size:10pt;">
<div class=3D"PlainText">On Sat, Apr 22, 2017 at 11:28:28AM -0400, Chuck Le=
ver wrote:<br>
&gt; I have cycles to help with a draft, if you'd like to offload<br>
&gt; some of that work.<br>
<br>
Drafting should be easy - I'll need to get my prototype into a shape where<=
br>
I even want to document it.<br>
<br>
_______________________________________________<br>
nfsv4 mailing list<br>
nfsv4@ietf.org<br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4">https://www.ietf.or=
g/mailman/listinfo/nfsv4</a><br>
</div>
</span></font>
</body>
</html>

--_000_BN3PR0601MB1347641E76848DEA0458CF5285100BN3PR0601MB1347_--


From nobody Thu Apr 27 07:21:35 2017
Return-Path: <tom@talpey.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 086C012954C for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 07:21:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level: 
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 Eq4XpSRRQ0sC for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 07:21:21 -0700 (PDT)
Received: from p3plsmtpa07-10.prod.phx3.secureserver.net (p3plsmtpa07-10.prod.phx3.secureserver.net [173.201.192.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6F2981294EE for <nfsv4@ietf.org>; Thu, 27 Apr 2017 07:21:21 -0700 (PDT)
Received: from [192.168.0.56] ([24.218.182.144]) by :SMTPAUTH: with SMTP id 3kHpdcYH0WVuO3kHqdQ5ZZ; Thu, 27 Apr 2017 07:20:50 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com>
From: Tom Talpey <tom@talpey.com>
Message-ID: <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com>
Date: Thu, 27 Apr 2017 10:20:49 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-CMAE-Envelope: MS4wfK9D5WjonVqngK2b5BFwreNvHeBivXVMTrAVpYt4sMKpFFEuFIP1A/0HNCXepzsmurzgB7Ozk4S650Jq9zg5gp+/Bhj/E7OY9LaHS0PDEbueMgSetFrg CrR+WdlxiLyn2f5cNmaQl36wGFRpOKFv0+OJvqGMeDPnURxMHtj2t0we
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/lLf1c6ww_3ATi_UBl9rIDL_DdJY>
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: Thu, 27 Apr 2017 14:21:24 -0000

 >snip:
 >    Such implementation limits can constrain the complexity of NFS
 >    version 4 COMPOUNDs, limit the number of elements in scatter-gather
 >    operations, or prevent the use of Kerberos integrity or privacy
 >    services.

I like the approach, and the lead-in language looks good. The text
quoted above is just a little bit dark, especially that bit about
preventing krb5i/krb5p. I'd suggest a more active statement to replace
the above, including the more prescriptive SHOULD rather than "can".
How about:

  "Client implementations SHOULD be prepared to provide mechanisms for
   reporting the above errors, and optionally provide configuration to
   limit the complexity of NFS version 4 COMPOUNDs, limit the number
   of elements in scatter-gather operations, and to avoid other possible
   sources of RPC-over-RDMA chunk overruns at the peer.

   These become especially important when Kerberos integrity or privacy
   is in place for the RPC connection. These facilities add payload to
   the RPC headers, potentially increasing the complexity of the chunk
   manipulation, independent of the upper layer NFS operation. The
   implementation SHOULD consider such RPC payload requirements in
   addition to the NFS considerations."

Feel free to wordsmith further.

Tom.


On 4/26/2017 12:18 PM, Chuck Lever wrote:
>
>> On Apr 24, 2017, at 7:30 AM, Chuck Lever <chuck.lever@oracle.com> wrote:
>>
>>>
>>> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
>>>
>>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
>>>> I agree that SHOULD/MAY makes things cloudier, and does not
>>>> seem to align with well-defined RFC2119 usage.
>>>>
>>>> Another way we've dealt with similar disagreements between
>>>> specification and implementation is to decide that one of
>>>> the implementations is incorrect.
>>>>
>>>> Can we agree that:
>>>>
>>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
>>>> understandable why it might be returned
>>>>
>>>> - RPC clients are already prepared for GARBAGE_ARGS
>>>
>>> Are you certain of this?
>>
>> GARBAGE_ARGS has been part of the RPC protocol for decades.
>> The two Unix-flavored clients that have NFS/RDMA support can
>> both handle this error.
>
> I've confirmed that the only other known NFS/RDMA client
> (Oracle dNFS) properly recognizes GARBAGE_ARGS.
>
>
>>> And out of curiosity, what is returned
>>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
>>
>> RFC 5531:
>>> GARBAGE_ARGS  = 4, /* procedure can’t decode params   */
>>
>>
>> GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
>> with accept_stat GARBAGE_ARGS. An XID is available in the
>> header.
>>
>> rfc5666bis:
>>> If the rdma_vers field contains a recognized value, but an
>>> XDR parsing error occurs, the responder MUST reply with an
>>> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
>>
>>
>> ERR_CHUNK is a transport level error. An XID is available
>> in the header.
>>
>> The difference is that the RPC layer v. the transport layer
>> are reporting they don't understand the contents of the
>> message (Call). There is nothing more in either type of
>> message.
>>
>>
>>>> - In RPC-over-RDMA Version One, we are not trying to recover
>>>> (in the sense of resending a simpler COMPOUND) but are rather
>>>> trying to ensure the offending RPC is properly terminated on
>>>> the client, and does not further block other RPCs or deadlock
>>>> the transport
>>>>
>>>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
>>>> instead of ERR_CHUNK.
>>>
>>> "Harmless" is a bit relative. The operation fails, through no fault
>>> of the consumer. And, frankly, in a very mysterious way.
>>
>> We have no richer way of communicating failure in RPC-over-RDMA
>> Version One. We are not looking for recovery here, so I don't
>> believe any more information would be useful. If the server
>> wishes, it can log the failure with a message explaining what
>> went wrong.
>>
>>
>>> Again, I think there is more to say here. It's a limitation of the
>>> protocol whose implications should be made clear (contraining the
>>> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
>>
>> I'd welcome any suggested text.
>>
>> Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
>> RPC-over-RDMA have a sophisticated mechanism to communicate this
>> kind of limitation. The best an NFSv4 server can do is return
>> NFS4ERR_RESOURCE, which also carries little extra information
>> about what a client should do to recover.
>>
>> So are you comfortable with eliminating GARBAGE_ARGS if we can
>> come up with more detail about the impact of not knowing how
>> complex a COMPOUND can be?
>
> I've come up with some possible replacement text for
> the final two paragraphs of S5.4.1 in an attempt to
> address comments from Tom, David, and Karen. The
> normative requirements have been removed, and a (brief)
> discussion of the consequences of not handling complex
> COMPOUNDs was introduced.
>
>
> 5.4.2.  Complexity Considerations
>
>    As mentioned above, an NFS version 4 COMPOUND procedure can contain
>    more than one operation that carries a DDP-eligible data item.  The
>    RPC-over-RDMA Version One protocol does not place any limit on the
>    number of chunks that may appear in the Read or Write lists.
>    Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
>    Version One message containing more than one Read chunk or Write
>    chunk.
>
>    However, implementations have practical limits on the number of
>    chunks or segments they are prepared to process in one of these
>    lists.  There are several ways an NFS Version 4 server might indicate
>    that an RPC Call message constructed by a client is valid but cannot
>    be processed because of implementation limitations:
>
>    o  If the problem is detected in the upper layer (i.e., by the NFS
>       version 4 implementation), the server returns an NFS status of
>       NFS4ERR_RESOURCE.
>
>    o  If the problem is detected during XDR decoding of the request
>       (e.g., during re-assembly of the Call message by the RPC layer),
>       the server returns an RPC accept_stat of GARBAGE_ARGS.
>
>    o  If the problem is detected at the transport layer (i.e., during
>       transport header processing), the server returns an RDMA_ERROR
>       message with the err_code field set to ERR_CHUNK.
>
>    Such implementation limits can constrain the complexity of NFS
>    version 4 COMPOUNDs, limit the number of elements in scatter-gather
>    operations, or prevent the use of Kerberos integrity or privacy
>    services.
>
>
> Comments, opinions on this approach?
>
>
>>> Tom.
>>>
>>>
>>>>
>>>> As a result, I can change the Read list text in S5.4.1 to be
>>>> the same as the Write list text, removing the mention of
>>>> GARBAGE_ARGS.
>>>>
>>>> Would that sit comfortably with everyone?
>>>>
>>>>
>>>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com> wrote:
>>>>>
>>>>>> The "or" is a similar situation, it prescribes a choice, which
>>>>>> does not define a protocol.
>>>>>
>>>>> Fair enough, but the point that needs to be made is that, with
>>>>> regard to Version One, Chuck and  the working group is not
>>>>> free to define a protocol.  As a result we have the kind of
>>>>> ugliness you object to, but it is inherent in the choice to try to
>>>>> revive Version One as-is.
>>>>>
>>>>>> 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 SHOULD reject the request by responding with an
>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>> server MAY reject the RPC with an RDMA_MSG message containing an RPC
>>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>>
>>>>> I think I know what you intend here and I've seen stuff like this in RFCs but I don't
>>>>> wthink e can do this because this is not in line with the definitions of "SHOULD"
>>>>> and "MAY" that appear in RFC2119.
>>>>>
>>>>> "SHOULD" means that you are supposed to do something but can avoid it if
>>>>> you have a good reason and are aware of the consequences of not doing it.
>>>>> In this case the "good" reason is that someone coded the implementation
>>>>> to do something else, which is not all that good a reason.  The consequences of
>>>>> returning the GARBAGEARGS are exactly zero, since the client has to be prepared
>>>>> for either it or ERR_CHUNK.
>>>>>
>>>>> "MAY" means the implementation can choose to do the action or not, which is line
>>>>> with the reality here but essentially contradicts the SHOULD.
>>>>>
>>>>>> This at least makes it clear which response is "preferred".
>>>>>
>>>>> But it is isn't really the job of the RFC2119 terms to say which is "preferred" or
>>>>> "'preferred'".  These terms are supposed to describe interoperability and the
>>>>> interoperability situation is that the server MUST return ERR_CHUNK or
>>>>> GARBAGEARGS and the client needs to be prepared for either.  That is the
>>>>> unpleasant reality.  If you want to indicate a preference, you can say something
>>>>> like:
>>>>> 	• Returning ERR_CHUNK is preferrable.
>>>>> 	• Returinng ERR_CHUNK is more in line with the appropriate protocol layering since this issue relates to a limitation of the transport implementation.
>>>>> 	• Use of GARBAGEARGS is an unfortunate artifact of inappropriately layered implementations and is only allowed for reasons of compatibility with existing implementations.  It is desirable to avoid it.
>>>>>> And one would hope a future draft would decide.
>>>>>
>>>>> Not sure what draft you are thinking of.  I don't see us doing an rfc5667bisbis (rfc5667tris).
>>>>>
>>>>> By the time we did that, the implementations with these restrictions will probably be gone.
>>>>>
>>>>>> I have a second question though. How does the client determine what is
>>>>>> the actual error? As in, how many chunks were allowed?
>>>>>
>>>>> This is not fixable in Version One.  It would be in Version Two, but by then
>>>>> the need will probably be gone.
>>>>>
>>>>>> Does the upper
>>>>>> layer have to recover, and if so what are the implications?
>>>>>
>>>>> I think something could be put in to indicate that clients should break up COMPOUNDS
>>>>> so the only have a single chunk each.
>>>>>
>>>>>> Yes, I know 5667 did not explore this very well.
>>>>>
>>>>> It didn't explore it at all.  And 5666's error reporting facilities were extremely limited.
>>>>>
>>>>>> Mea culpa.
>>>>>
>>>>> I don'tt think you have anything to apologize for.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>>
>>>>>
>>>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>>>>> Hi Tom-
>>>>>
>>>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>>
>>>>> I noticed the same thing, and I'll add that the MUST reject condition
>>>>> is very confusing because it allows an "or". In my opinion a MUST is
>>>>> always a single requirement, never ambiguous.
>>>>>
>>>>> I agree this kind of thing is tricky. I wrote it as "the server MUST
>>>>> reject the RPC". That's the single requirement. The choice is how the
>>>>> rejection is conveyed to the client.
>>>>>
>>>>> The statement "MUST reject" is not testable. So, while it may be
>>>>> understood what is intended, there is nothing implementable in the
>>>>> MUST. The "or" is a similar situation, it prescribes a choice, which
>>>>> does not define a protocol.
>>>>>
>>>>> Is there some reason you want to allow such a choice? I think you'll
>>>>> find that, worded properly, it becomes actually much less implementable
>>>>> and interoperable than you may think.
>>>>>
>>>>> The Solaris server can return an RPC-level error in cases like this.
>>>>>
>>>>> Well, this is happening because the Solaris server is (probably) just
>>>>> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
>>>>> processing that detects any problem.
>>>>>
>>>>> On the other hand, an implementation could do the opposite, it could
>>>>> process the chunks at the lower layer, before ever invoking RPC
>>>>> processing. This would naturally lead to a non-RPC error.
>>>>>
>>>>> The challenge in defining the protocol is to hide these possibilities.
>>>>>
>>>>> I think there are similar choices allowed in rfc5666bis. Let's say
>>>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
>>>>> documenting existing implementation behavior here.
>>>>>
>>>>> I'm not sure it matters to the client: both errors are permanent and
>>>>> the RPC is terminated on the client.
>>>>>
>>>>> I'm open to alternatives.
>>>>>
>>>>> The icky way to do this is to split into two weak requirements.
>>>>>
>>>>>  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 SHOULD reject the request by responding with an
>>>>>  RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>  server MAY reject the RPC with an RDMA_MSG message containing an RPC
>>>>>  Reply with an accept status of GARBAGE_ARGS.
>>>>>
>>>>> This at least makes it clear which response is "preferred". And one
>>>>> would hope a future draft would decide.
>>>>>
>>>>> I have a second question though. How does the client determine what is
>>>>> the actual error? As in, how many chunks were allowed? Does the upper
>>>>> layer have to recover, and if so what are the implications?
>>>>>
>>>>> Yes, I know 5667 did not explore this very well. Mea culpa.
>>>>>
>>>>>
>>>>>
>>>>> Tom.
>>>>>
>>>>>
>>>>>
>>>>> On 4/18/2017 6:32 PM, karen deitke wrote:
>>>>> Hi Chuck, its unclear what you mean by "is prepared to process" in the text below.
>>>>> 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*
>>>>> Giventhat 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
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>
>>> _______________________________________________
>>> 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
>
> --
> Chuck Lever
>
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>


From nobody Thu Apr 27 07:38:11 2017
Return-Path: <karen.deitke@oracle.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 DBB3B126CC7 for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 07:38:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 rJMA9QH-7gdE for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 07:38:07 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E63811270A7 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 07:38:06 -0700 (PDT)
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3REc5rI005806 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Thu, 27 Apr 2017 14:38:06 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v3REc5lm019985 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Thu, 27 Apr 2017 14:38:05 GMT
Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3REc5ax027640 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 14:38:05 GMT
Received: from [10.159.66.170] (/10.159.66.170) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 27 Apr 2017 07:38:04 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com>
From: karen deitke <karen.deitke@oracle.com>
Organization: Oracle Corporation
Message-ID: <6f23e91a-2d66-cbd8-aea9-2753ddfb9b79@oracle.com>
Date: Thu, 27 Apr 2017 08:38:28 -0600
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Source-IP: userv0022.oracle.com [156.151.31.74]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/F62yRnyZ2HGPcKBzJ-IiIAfWuWI>
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: Thu, 27 Apr 2017 14:38:10 -0000

On 4/27/2017 8:20 AM, Tom Talpey wrote:
> >snip:
> >    Such implementation limits can constrain the complexity of NFS
> >    version 4 COMPOUNDs, limit the number of elements in scatter-gather
> >    operations, or prevent the use of Kerberos integrity or privacy
> >    services.
>
> I like the approach, and the lead-in language looks good. The text
> quoted above is just a little bit dark, especially that bit about
> preventing krb5i/krb5p. I'd suggest a more active statement to replace
> the above, including the more prescriptive SHOULD rather than "can".
> How about:
>
>  "Client implementations SHOULD be prepared to provide mechanisms for
>   reporting the above errors, and optionally provide configuration to
>   limit the complexity of NFS version 4 COMPOUNDs, limit the number
>   of elements in scatter-gather operations, and to avoid other possible
>   sources of RPC-over-RDMA chunk overruns at the peer.
>
>   These become especially important when Kerberos integrity or privacy
>   is in place for the RPC connection. These facilities add payload to
>   the RPC headers, potentially increasing the complexity of the chunk
>   manipulation, independent of the upper layer NFS operation. The
>   implementation SHOULD consider such RPC payload requirements in
>   addition to the NFS considerations."
  This wording about preventing the use of krb5 is confusing to me. Are 
you saying that clients whose krb5 implementation causes "extraneous" 
number of chunks in an rdma header may not be supported by a server and 
thus prevent krb usage?

Also:

  "However, implementations have practical limits on the number of
   chunks_or_  _segments_  they are prepared to process in one of these
   lists."

Agreed, but what is the practical limit?  There are cases where a solaris client can send up to 16 segments in one write chunk.  WOuld that be considered under the "practical limit"?

Karen


>
> Feel free to wordsmith further.
>
> Tom.
>
>
> On 4/26/2017 12:18 PM, Chuck Lever wrote:
>>
>>> On Apr 24, 2017, at 7:30 AM, Chuck Lever <chuck.lever@oracle.com> 
>>> wrote:
>>>
>>>>
>>>> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
>>>>
>>>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
>>>>> I agree that SHOULD/MAY makes things cloudier, and does not
>>>>> seem to align with well-defined RFC2119 usage.
>>>>>
>>>>> Another way we've dealt with similar disagreements between
>>>>> specification and implementation is to decide that one of
>>>>> the implementations is incorrect.
>>>>>
>>>>> Can we agree that:
>>>>>
>>>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
>>>>> understandable why it might be returned
>>>>>
>>>>> - RPC clients are already prepared for GARBAGE_ARGS
>>>>
>>>> Are you certain of this?
>>>
>>> GARBAGE_ARGS has been part of the RPC protocol for decades.
>>> The two Unix-flavored clients that have NFS/RDMA support can
>>> both handle this error.
>>
>> I've confirmed that the only other known NFS/RDMA client
>> (Oracle dNFS) properly recognizes GARBAGE_ARGS.
>>
>>
>>>> And out of curiosity, what is returned
>>>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
>>>
>>> RFC 5531:
>>>> GARBAGE_ARGS  = 4, /* procedure can’t decode params   */
>>>
>>>
>>> GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
>>> with accept_stat GARBAGE_ARGS. An XID is available in the
>>> header.
>>>
>>> rfc5666bis:
>>>> If the rdma_vers field contains a recognized value, but an
>>>> XDR parsing error occurs, the responder MUST reply with an
>>>> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
>>>
>>>
>>> ERR_CHUNK is a transport level error. An XID is available
>>> in the header.
>>>
>>> The difference is that the RPC layer v. the transport layer
>>> are reporting they don't understand the contents of the
>>> message (Call). There is nothing more in either type of
>>> message.
>>>
>>>
>>>>> - In RPC-over-RDMA Version One, we are not trying to recover
>>>>> (in the sense of resending a simpler COMPOUND) but are rather
>>>>> trying to ensure the offending RPC is properly terminated on
>>>>> the client, and does not further block other RPCs or deadlock
>>>>> the transport
>>>>>
>>>>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
>>>>> instead of ERR_CHUNK.
>>>>
>>>> "Harmless" is a bit relative. The operation fails, through no fault
>>>> of the consumer. And, frankly, in a very mysterious way.
>>>
>>> We have no richer way of communicating failure in RPC-over-RDMA
>>> Version One. We are not looking for recovery here, so I don't
>>> believe any more information would be useful. If the server
>>> wishes, it can log the failure with a message explaining what
>>> went wrong.
>>>
>>>
>>>> Again, I think there is more to say here. It's a limitation of the
>>>> protocol whose implications should be made clear (contraining the
>>>> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
>>>
>>> I'd welcome any suggested text.
>>>
>>> Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
>>> RPC-over-RDMA have a sophisticated mechanism to communicate this
>>> kind of limitation. The best an NFSv4 server can do is return
>>> NFS4ERR_RESOURCE, which also carries little extra information
>>> about what a client should do to recover.
>>>
>>> So are you comfortable with eliminating GARBAGE_ARGS if we can
>>> come up with more detail about the impact of not knowing how
>>> complex a COMPOUND can be?
>>
>> I've come up with some possible replacement text for
>> the final two paragraphs of S5.4.1 in an attempt to
>> address comments from Tom, David, and Karen. The
>> normative requirements have been removed, and a (brief)
>> discussion of the consequences of not handling complex
>> COMPOUNDs was introduced.
>>
>>
>> 5.4.2.  Complexity Considerations
>>
>>    As mentioned above, an NFS version 4 COMPOUND procedure can contain
>>    more than one operation that carries a DDP-eligible data item.  The
>>    RPC-over-RDMA Version One protocol does not place any limit on the
>>    number of chunks that may appear in the Read or Write lists.
>>    Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
>>    Version One message containing more than one Read chunk or Write
>>    chunk.
>>
>>    However, implementations have practical limits on the number of
>>    chunks or segments they are prepared to process in one of these
>>    lists.  There are several ways an NFS Version 4 server might indicate
>>    that an RPC Call message constructed by a client is valid but cannot
>>    be processed because of implementation limitations:
>>
>>    o  If the problem is detected in the upper layer (i.e., by the NFS
>>       version 4 implementation), the server returns an NFS status of
>>       NFS4ERR_RESOURCE.
>>
>>    o  If the problem is detected during XDR decoding of the request
>>       (e.g., during re-assembly of the Call message by the RPC layer),
>>       the server returns an RPC accept_stat of GARBAGE_ARGS.
>>
>>    o  If the problem is detected at the transport layer (i.e., during
>>       transport header processing), the server returns an RDMA_ERROR
>>       message with the err_code field set to ERR_CHUNK.
>>
>>    Such implementation limits can constrain the complexity of NFS
>>    version 4 COMPOUNDs, limit the number of elements in scatter-gather
>>    operations, or prevent the use of Kerberos integrity or privacy
>>    services.
>>
>>
>> Comments, opinions on this approach?
>>
>>
>>>> Tom.
>>>>
>>>>
>>>>>
>>>>> As a result, I can change the Read list text in S5.4.1 to be
>>>>> the same as the Write list text, removing the mention of
>>>>> GARBAGE_ARGS.
>>>>>
>>>>> Would that sit comfortably with everyone?
>>>>>
>>>>>
>>>>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com> 
>>>>>> wrote:
>>>>>>
>>>>>>> The "or" is a similar situation, it prescribes a choice, which
>>>>>>> does not define a protocol.
>>>>>>
>>>>>> Fair enough, but the point that needs to be made is that, with
>>>>>> regard to Version One, Chuck and  the working group is not
>>>>>> free to define a protocol.  As a result we have the kind of
>>>>>> ugliness you object to, but it is inherent in the choice to try to
>>>>>> revive Version One as-is.
>>>>>>
>>>>>>> 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 SHOULD reject the request by responding with an
>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing an 
>>>>>>> RPC
>>>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>>>
>>>>>> I think I know what you intend here and I've seen stuff like this 
>>>>>> in RFCs but I don't
>>>>>> wthink e can do this because this is not in line with the 
>>>>>> definitions of "SHOULD"
>>>>>> and "MAY" that appear in RFC2119.
>>>>>>
>>>>>> "SHOULD" means that you are supposed to do something but can 
>>>>>> avoid it if
>>>>>> you have a good reason and are aware of the consequences of not 
>>>>>> doing it.
>>>>>> In this case the "good" reason is that someone coded the 
>>>>>> implementation
>>>>>> to do something else, which is not all that good a reason.  The 
>>>>>> consequences of
>>>>>> returning the GARBAGEARGS are exactly zero, since the client has 
>>>>>> to be prepared
>>>>>> for either it or ERR_CHUNK.
>>>>>>
>>>>>> "MAY" means the implementation can choose to do the action or 
>>>>>> not, which is line
>>>>>> with the reality here but essentially contradicts the SHOULD.
>>>>>>
>>>>>>> This at least makes it clear which response is "preferred".
>>>>>>
>>>>>> But it is isn't really the job of the RFC2119 terms to say which 
>>>>>> is "preferred" or
>>>>>> "'preferred'".  These terms are supposed to describe 
>>>>>> interoperability and the
>>>>>> interoperability situation is that the server MUST return 
>>>>>> ERR_CHUNK or
>>>>>> GARBAGEARGS and the client needs to be prepared for either.  That 
>>>>>> is the
>>>>>> unpleasant reality.  If you want to indicate a preference, you 
>>>>>> can say something
>>>>>> like:
>>>>>>     • Returning ERR_CHUNK is preferrable.
>>>>>>     • Returinng ERR_CHUNK is more in line with the appropriate 
>>>>>> protocol layering since this issue relates to a limitation of the 
>>>>>> transport implementation.
>>>>>>     • Use of GARBAGEARGS is an unfortunate artifact of 
>>>>>> inappropriately layered implementations and is only allowed for 
>>>>>> reasons of compatibility with existing implementations.  It is 
>>>>>> desirable to avoid it.
>>>>>>> And one would hope a future draft would decide.
>>>>>>
>>>>>> Not sure what draft you are thinking of.  I don't see us doing an 
>>>>>> rfc5667bisbis (rfc5667tris).
>>>>>>
>>>>>> By the time we did that, the implementations with these 
>>>>>> restrictions will probably be gone.
>>>>>>
>>>>>>> I have a second question though. How does the client determine 
>>>>>>> what is
>>>>>>> the actual error? As in, how many chunks were allowed?
>>>>>>
>>>>>> This is not fixable in Version One.  It would be in Version Two, 
>>>>>> but by then
>>>>>> the need will probably be gone.
>>>>>>
>>>>>>> Does the upper
>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>
>>>>>> I think something could be put in to indicate that clients should 
>>>>>> break up COMPOUNDS
>>>>>> so the only have a single chunk each.
>>>>>>
>>>>>>> Yes, I know 5667 did not explore this very well.
>>>>>>
>>>>>> It didn't explore it at all.  And 5666's error reporting 
>>>>>> facilities were extremely limited.
>>>>>>
>>>>>>> Mea culpa.
>>>>>>
>>>>>> I don'tt think you have anything to apologize for.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>
>>>>>>
>>>>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>>>>>> Hi Tom-
>>>>>>
>>>>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>
>>>>>> I noticed the same thing, and I'll add that the MUST reject 
>>>>>> condition
>>>>>> is very confusing because it allows an "or". In my opinion a MUST is
>>>>>> always a single requirement, never ambiguous.
>>>>>>
>>>>>> I agree this kind of thing is tricky. I wrote it as "the server MUST
>>>>>> reject the RPC". That's the single requirement. The choice is how 
>>>>>> the
>>>>>> rejection is conveyed to the client.
>>>>>>
>>>>>> The statement "MUST reject" is not testable. So, while it may be
>>>>>> understood what is intended, there is nothing implementable in the
>>>>>> MUST. The "or" is a similar situation, it prescribes a choice, which
>>>>>> does not define a protocol.
>>>>>>
>>>>>> Is there some reason you want to allow such a choice? I think you'll
>>>>>> find that, worded properly, it becomes actually much less 
>>>>>> implementable
>>>>>> and interoperable than you may think.
>>>>>>
>>>>>> The Solaris server can return an RPC-level error in cases like this.
>>>>>>
>>>>>> Well, this is happening because the Solaris server is (probably) 
>>>>>> just
>>>>>> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
>>>>>> processing that detects any problem.
>>>>>>
>>>>>> On the other hand, an implementation could do the opposite, it could
>>>>>> process the chunks at the lower layer, before ever invoking RPC
>>>>>> processing. This would naturally lead to a non-RPC error.
>>>>>>
>>>>>> The challenge in defining the protocol is to hide these 
>>>>>> possibilities.
>>>>>>
>>>>>> I think there are similar choices allowed in rfc5666bis. Let's say
>>>>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
>>>>>> documenting existing implementation behavior here.
>>>>>>
>>>>>> I'm not sure it matters to the client: both errors are permanent and
>>>>>> the RPC is terminated on the client.
>>>>>>
>>>>>> I'm open to alternatives.
>>>>>>
>>>>>> The icky way to do this is to split into two weak requirements.
>>>>>>
>>>>>>  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 SHOULD reject the request by responding with an
>>>>>>  RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>>  server MAY reject the RPC with an RDMA_MSG message containing an 
>>>>>> RPC
>>>>>>  Reply with an accept status of GARBAGE_ARGS.
>>>>>>
>>>>>> This at least makes it clear which response is "preferred". And one
>>>>>> would hope a future draft would decide.
>>>>>>
>>>>>> I have a second question though. How does the client determine 
>>>>>> what is
>>>>>> the actual error? As in, how many chunks were allowed? Does the 
>>>>>> upper
>>>>>> layer have to recover, and if so what are the implications?
>>>>>>
>>>>>> Yes, I know 5667 did not explore this very well. Mea culpa.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Tom.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 4/18/2017 6:32 PM, karen deitke wrote:
>>>>>> Hi Chuck, its unclear what you mean by "is prepared to process" 
>>>>>> in the text below.
>>>>>> 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*
>>>>>> Giventhat 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
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>
>> -- 
>> Chuck Lever
>>
>>
>>
>> _______________________________________________
>> 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


From nobody Thu Apr 27 08:14:52 2017
Return-Path: <tom@talpey.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 7A225129A9F for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 08:14:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.699
X-Spam-Level: 
X-Spam-Status: No, score=-4.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 aqym2bH9FW4y for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 08:14:47 -0700 (PDT)
Received: from p3plsmtpa11-07.prod.phx3.secureserver.net (p3plsmtpa11-07.prod.phx3.secureserver.net [68.178.252.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 92FDD129B1E for <nfsv4@ietf.org>; Thu, 27 Apr 2017 08:13:37 -0700 (PDT)
Received: from [192.168.0.56] ([24.218.182.144]) by :SMTPAUTH: with SMTP id 3l6Qd8eoCNmEj3l6QdcM5Y; Thu, 27 Apr 2017 08:13:06 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <6f23e91a-2d66-cbd8-aea9-2753ddfb9b79@oracle.com>
From: Tom Talpey <tom@talpey.com>
Message-ID: <ff6228ae-9df2-46a4-2c1c-69c74483ff28@talpey.com>
Date: Thu, 27 Apr 2017 11:13:05 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <6f23e91a-2d66-cbd8-aea9-2753ddfb9b79@oracle.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-CMAE-Envelope: MS4wfDbFzWmAg3x6N06+bHJgh6QAYNQioWYpGYgfAHeTOJC6ESiLO8eppVqYvhUpWVRBavFqKUEQqJ1b75KvCCPDzxDIlNa3Z+ivgZuFfyuRIXpKJjJ6ER3k jtV1jmVuktvGPuoWxONXKrWvrgm7mEN8qiR+8rHFtyvPNM4qz7rTnGHO
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/Rhx4zU9jT3GqbEIhj7ryUbN2W60>
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: Thu, 27 Apr 2017 15:14:50 -0000

On 4/27/2017 10:38 AM, karen deitke wrote:
>
>
> On 4/27/2017 8:20 AM, Tom Talpey wrote:
>> >snip:
>> >    Such implementation limits can constrain the complexity of NFS
>> >    version 4 COMPOUNDs, limit the number of elements in scatter-gather
>> >    operations, or prevent the use of Kerberos integrity or privacy
>> >    services.
>>
>> I like the approach, and the lead-in language looks good. The text
>> quoted above is just a little bit dark, especially that bit about
>> preventing krb5i/krb5p. I'd suggest a more active statement to replace
>> the above, including the more prescriptive SHOULD rather than "can".
>> How about:
>>
>>  "Client implementations SHOULD be prepared to provide mechanisms for
>>   reporting the above errors, and optionally provide configuration to
>>   limit the complexity of NFS version 4 COMPOUNDs, limit the number
>>   of elements in scatter-gather operations, and to avoid other possible
>>   sources of RPC-over-RDMA chunk overruns at the peer.
>>
>>   These become especially important when Kerberos integrity or privacy
>>   is in place for the RPC connection. These facilities add payload to
>>   the RPC headers, potentially increasing the complexity of the chunk
>>   manipulation, independent of the upper layer NFS operation. The
>>   implementation SHOULD consider such RPC payload requirements in
>>   addition to the NFS considerations."
>  This wording about preventing the use of krb5 is confusing to me. Are
> you saying that clients whose krb5 implementation causes "extraneous"
> number of chunks in an rdma header may not be supported by a server and
> thus prevent krb usage?

As the protocol stands today, yes, there is no requirement that the
server MUST be prepared to handle any certain number of chunks. And,
since krb can increase the size of RPC headers, potentially pushing
them beyond the maximum message size, that can potentially add new
payload to the chunk list.

The implication is that NFS COMPOUNDs may need to shrink, if this is
the case. However, the "limit" is server implementation dependent,
and the chunks are built at the client. So my suggestion, short of
writing a new protocol, is to inform the client implementer of this
possibility.

>
> Also:
>
>  "However, implementations have practical limits on the number of
>   chunks_or_  _segments_  they are prepared to process in one of these
>   lists."
>
> Agreed, but what is the practical limit?  There are cases where a
> solaris client can send up to 16 segments in one write chunk.  WOuld
> that be considered under the "practical limit"?

I'm afraid there is not enough experience to define such a limit. This
document could attempt to define one, but that may be problematic. The
stated goal of this -bis update is to clarify, not to make new
requirements.

Tom.

>
> Karen
>
>
>>
>> Feel free to wordsmith further.
>>
>> Tom.
>>
>>
>> On 4/26/2017 12:18 PM, Chuck Lever wrote:
>>>
>>>> On Apr 24, 2017, at 7:30 AM, Chuck Lever <chuck.lever@oracle.com>
>>>> wrote:
>>>>
>>>>>
>>>>> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
>>>>>
>>>>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
>>>>>> I agree that SHOULD/MAY makes things cloudier, and does not
>>>>>> seem to align with well-defined RFC2119 usage.
>>>>>>
>>>>>> Another way we've dealt with similar disagreements between
>>>>>> specification and implementation is to decide that one of
>>>>>> the implementations is incorrect.
>>>>>>
>>>>>> Can we agree that:
>>>>>>
>>>>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
>>>>>> understandable why it might be returned
>>>>>>
>>>>>> - RPC clients are already prepared for GARBAGE_ARGS
>>>>>
>>>>> Are you certain of this?
>>>>
>>>> GARBAGE_ARGS has been part of the RPC protocol for decades.
>>>> The two Unix-flavored clients that have NFS/RDMA support can
>>>> both handle this error.
>>>
>>> I've confirmed that the only other known NFS/RDMA client
>>> (Oracle dNFS) properly recognizes GARBAGE_ARGS.
>>>
>>>
>>>>> And out of curiosity, what is returned
>>>>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
>>>>
>>>> RFC 5531:
>>>>> GARBAGE_ARGS  = 4, /* procedure can’t decode params   */
>>>>
>>>>
>>>> GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
>>>> with accept_stat GARBAGE_ARGS. An XID is available in the
>>>> header.
>>>>
>>>> rfc5666bis:
>>>>> If the rdma_vers field contains a recognized value, but an
>>>>> XDR parsing error occurs, the responder MUST reply with an
>>>>> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
>>>>
>>>>
>>>> ERR_CHUNK is a transport level error. An XID is available
>>>> in the header.
>>>>
>>>> The difference is that the RPC layer v. the transport layer
>>>> are reporting they don't understand the contents of the
>>>> message (Call). There is nothing more in either type of
>>>> message.
>>>>
>>>>
>>>>>> - In RPC-over-RDMA Version One, we are not trying to recover
>>>>>> (in the sense of resending a simpler COMPOUND) but are rather
>>>>>> trying to ensure the offending RPC is properly terminated on
>>>>>> the client, and does not further block other RPCs or deadlock
>>>>>> the transport
>>>>>>
>>>>>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
>>>>>> instead of ERR_CHUNK.
>>>>>
>>>>> "Harmless" is a bit relative. The operation fails, through no fault
>>>>> of the consumer. And, frankly, in a very mysterious way.
>>>>
>>>> We have no richer way of communicating failure in RPC-over-RDMA
>>>> Version One. We are not looking for recovery here, so I don't
>>>> believe any more information would be useful. If the server
>>>> wishes, it can log the failure with a message explaining what
>>>> went wrong.
>>>>
>>>>
>>>>> Again, I think there is more to say here. It's a limitation of the
>>>>> protocol whose implications should be made clear (contraining the
>>>>> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
>>>>
>>>> I'd welcome any suggested text.
>>>>
>>>> Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
>>>> RPC-over-RDMA have a sophisticated mechanism to communicate this
>>>> kind of limitation. The best an NFSv4 server can do is return
>>>> NFS4ERR_RESOURCE, which also carries little extra information
>>>> about what a client should do to recover.
>>>>
>>>> So are you comfortable with eliminating GARBAGE_ARGS if we can
>>>> come up with more detail about the impact of not knowing how
>>>> complex a COMPOUND can be?
>>>
>>> I've come up with some possible replacement text for
>>> the final two paragraphs of S5.4.1 in an attempt to
>>> address comments from Tom, David, and Karen. The
>>> normative requirements have been removed, and a (brief)
>>> discussion of the consequences of not handling complex
>>> COMPOUNDs was introduced.
>>>
>>>
>>> 5.4.2.  Complexity Considerations
>>>
>>>    As mentioned above, an NFS version 4 COMPOUND procedure can contain
>>>    more than one operation that carries a DDP-eligible data item.  The
>>>    RPC-over-RDMA Version One protocol does not place any limit on the
>>>    number of chunks that may appear in the Read or Write lists.
>>>    Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
>>>    Version One message containing more than one Read chunk or Write
>>>    chunk.
>>>
>>>    However, implementations have practical limits on the number of
>>>    chunks or segments they are prepared to process in one of these
>>>    lists.  There are several ways an NFS Version 4 server might indicate
>>>    that an RPC Call message constructed by a client is valid but cannot
>>>    be processed because of implementation limitations:
>>>
>>>    o  If the problem is detected in the upper layer (i.e., by the NFS
>>>       version 4 implementation), the server returns an NFS status of
>>>       NFS4ERR_RESOURCE.
>>>
>>>    o  If the problem is detected during XDR decoding of the request
>>>       (e.g., during re-assembly of the Call message by the RPC layer),
>>>       the server returns an RPC accept_stat of GARBAGE_ARGS.
>>>
>>>    o  If the problem is detected at the transport layer (i.e., during
>>>       transport header processing), the server returns an RDMA_ERROR
>>>       message with the err_code field set to ERR_CHUNK.
>>>
>>>    Such implementation limits can constrain the complexity of NFS
>>>    version 4 COMPOUNDs, limit the number of elements in scatter-gather
>>>    operations, or prevent the use of Kerberos integrity or privacy
>>>    services.
>>>
>>>
>>> Comments, opinions on this approach?
>>>
>>>
>>>>> Tom.
>>>>>
>>>>>
>>>>>>
>>>>>> As a result, I can change the Read list text in S5.4.1 to be
>>>>>> the same as the Write list text, removing the mention of
>>>>>> GARBAGE_ARGS.
>>>>>>
>>>>>> Would that sit comfortably with everyone?
>>>>>>
>>>>>>
>>>>>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> The "or" is a similar situation, it prescribes a choice, which
>>>>>>>> does not define a protocol.
>>>>>>>
>>>>>>> Fair enough, but the point that needs to be made is that, with
>>>>>>> regard to Version One, Chuck and  the working group is not
>>>>>>> free to define a protocol.  As a result we have the kind of
>>>>>>> ugliness you object to, but it is inherent in the choice to try to
>>>>>>> revive Version One as-is.
>>>>>>>
>>>>>>>> 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 SHOULD reject the request by responding with an
>>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing an
>>>>>>>> RPC
>>>>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>>>>
>>>>>>> I think I know what you intend here and I've seen stuff like this
>>>>>>> in RFCs but I don't
>>>>>>> wthink e can do this because this is not in line with the
>>>>>>> definitions of "SHOULD"
>>>>>>> and "MAY" that appear in RFC2119.
>>>>>>>
>>>>>>> "SHOULD" means that you are supposed to do something but can
>>>>>>> avoid it if
>>>>>>> you have a good reason and are aware of the consequences of not
>>>>>>> doing it.
>>>>>>> In this case the "good" reason is that someone coded the
>>>>>>> implementation
>>>>>>> to do something else, which is not all that good a reason.  The
>>>>>>> consequences of
>>>>>>> returning the GARBAGEARGS are exactly zero, since the client has
>>>>>>> to be prepared
>>>>>>> for either it or ERR_CHUNK.
>>>>>>>
>>>>>>> "MAY" means the implementation can choose to do the action or
>>>>>>> not, which is line
>>>>>>> with the reality here but essentially contradicts the SHOULD.
>>>>>>>
>>>>>>>> This at least makes it clear which response is "preferred".
>>>>>>>
>>>>>>> But it is isn't really the job of the RFC2119 terms to say which
>>>>>>> is "preferred" or
>>>>>>> "'preferred'".  These terms are supposed to describe
>>>>>>> interoperability and the
>>>>>>> interoperability situation is that the server MUST return
>>>>>>> ERR_CHUNK or
>>>>>>> GARBAGEARGS and the client needs to be prepared for either.  That
>>>>>>> is the
>>>>>>> unpleasant reality.  If you want to indicate a preference, you
>>>>>>> can say something
>>>>>>> like:
>>>>>>>     • Returning ERR_CHUNK is preferrable.
>>>>>>>     • Returinng ERR_CHUNK is more in line with the appropriate
>>>>>>> protocol layering since this issue relates to a limitation of the
>>>>>>> transport implementation.
>>>>>>>     • Use of GARBAGEARGS is an unfortunate artifact of
>>>>>>> inappropriately layered implementations and is only allowed for
>>>>>>> reasons of compatibility with existing implementations.  It is
>>>>>>> desirable to avoid it.
>>>>>>>> And one would hope a future draft would decide.
>>>>>>>
>>>>>>> Not sure what draft you are thinking of.  I don't see us doing an
>>>>>>> rfc5667bisbis (rfc5667tris).
>>>>>>>
>>>>>>> By the time we did that, the implementations with these
>>>>>>> restrictions will probably be gone.
>>>>>>>
>>>>>>>> I have a second question though. How does the client determine
>>>>>>>> what is
>>>>>>>> the actual error? As in, how many chunks were allowed?
>>>>>>>
>>>>>>> This is not fixable in Version One.  It would be in Version Two,
>>>>>>> but by then
>>>>>>> the need will probably be gone.
>>>>>>>
>>>>>>>> Does the upper
>>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>>
>>>>>>> I think something could be put in to indicate that clients should
>>>>>>> break up COMPOUNDS
>>>>>>> so the only have a single chunk each.
>>>>>>>
>>>>>>>> Yes, I know 5667 did not explore this very well.
>>>>>>>
>>>>>>> It didn't explore it at all.  And 5666's error reporting
>>>>>>> facilities were extremely limited.
>>>>>>>
>>>>>>>> Mea culpa.
>>>>>>>
>>>>>>> I don'tt think you have anything to apologize for.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>>
>>>>>>>
>>>>>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>>>>>>> Hi Tom-
>>>>>>>
>>>>>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>>
>>>>>>> I noticed the same thing, and I'll add that the MUST reject
>>>>>>> condition
>>>>>>> is very confusing because it allows an "or". In my opinion a MUST is
>>>>>>> always a single requirement, never ambiguous.
>>>>>>>
>>>>>>> I agree this kind of thing is tricky. I wrote it as "the server MUST
>>>>>>> reject the RPC". That's the single requirement. The choice is how
>>>>>>> the
>>>>>>> rejection is conveyed to the client.
>>>>>>>
>>>>>>> The statement "MUST reject" is not testable. So, while it may be
>>>>>>> understood what is intended, there is nothing implementable in the
>>>>>>> MUST. The "or" is a similar situation, it prescribes a choice, which
>>>>>>> does not define a protocol.
>>>>>>>
>>>>>>> Is there some reason you want to allow such a choice? I think you'll
>>>>>>> find that, worded properly, it becomes actually much less
>>>>>>> implementable
>>>>>>> and interoperable than you may think.
>>>>>>>
>>>>>>> The Solaris server can return an RPC-level error in cases like this.
>>>>>>>
>>>>>>> Well, this is happening because the Solaris server is (probably)
>>>>>>> just
>>>>>>> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
>>>>>>> processing that detects any problem.
>>>>>>>
>>>>>>> On the other hand, an implementation could do the opposite, it could
>>>>>>> process the chunks at the lower layer, before ever invoking RPC
>>>>>>> processing. This would naturally lead to a non-RPC error.
>>>>>>>
>>>>>>> The challenge in defining the protocol is to hide these
>>>>>>> possibilities.
>>>>>>>
>>>>>>> I think there are similar choices allowed in rfc5666bis. Let's say
>>>>>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
>>>>>>> documenting existing implementation behavior here.
>>>>>>>
>>>>>>> I'm not sure it matters to the client: both errors are permanent and
>>>>>>> the RPC is terminated on the client.
>>>>>>>
>>>>>>> I'm open to alternatives.
>>>>>>>
>>>>>>> The icky way to do this is to split into two weak requirements.
>>>>>>>
>>>>>>>  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 SHOULD reject the request by responding with an
>>>>>>>  RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>>>  server MAY reject the RPC with an RDMA_MSG message containing an
>>>>>>> RPC
>>>>>>>  Reply with an accept status of GARBAGE_ARGS.
>>>>>>>
>>>>>>> This at least makes it clear which response is "preferred". And one
>>>>>>> would hope a future draft would decide.
>>>>>>>
>>>>>>> I have a second question though. How does the client determine
>>>>>>> what is
>>>>>>> the actual error? As in, how many chunks were allowed? Does the
>>>>>>> upper
>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>>
>>>>>>> Yes, I know 5667 did not explore this very well. Mea culpa.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Tom.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 4/18/2017 6:32 PM, karen deitke wrote:
>>>>>>> Hi Chuck, its unclear what you mean by "is prepared to process"
>>>>>>> in the text below.
>>>>>>> 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*
>>>>>>> Giventhat 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
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>> --
>>> Chuck Lever
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From nobody Thu Apr 27 08:35:37 2017
Return-Path: <chuck.lever@oracle.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 D08EC129584 for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 08:35:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level: 
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 t3-k-evo9BU1 for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 08:35:33 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4B59312944E for <nfsv4@ietf.org>; Thu, 27 Apr 2017 08:34:09 -0700 (PDT)
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3RFY8ve026605 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Thu, 27 Apr 2017 15:34:08 GMT
Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v3RFY7rF017852 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Thu, 27 Apr 2017 15:34:07 GMT
Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3RFY7GE025253 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 15:34:07 GMT
Received: from dhcp-whq-5op-3rd-and-4th-floor-gen-off-10-211-46-5.usdhcp.oraclecorp.com (/10.211.46.5) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 27 Apr 2017 08:34:06 -0700
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <6f23e91a-2d66-cbd8-aea9-2753ddfb9b79@oracle.com>
Date: Thu, 27 Apr 2017 08:35:44 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <9726D6E8-0A9E-46C9-9DCF-FB2FB492622D@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <6f23e91a-2d66-cbd8-aea9-2753ddfb9b79@oracle.com>
To: NFSv4 <nfsv4@ietf.org>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: userv0021.oracle.com [156.151.31.71]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/kQ1kCLUWTFU5tEvpOVgqqFr7vXE>
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: Thu, 27 Apr 2017 15:35:35 -0000

> On Apr 27, 2017, at 7:38 AM, karen deitke <karen.deitke@oracle.com> =
wrote:
>=20
> "However, implementations have practical limits on the number of
>  chunks_or_  _segments_  they are prepared to process in one of these
>  lists."
>=20
> Agreed, but what is the practical limit?

There has to be a limit based on rsize/wsize constraints, page
size, client memory registration mode, the maximum size of
transport headers, and so on.

"Implementations have practical limits" means implementers
get to choose to support only a certain number of segments or
chunks to keep their implementations as simple as possible. The
choice of the limit is based on the features they want their
implementation to support. The protocol specification doesn't
define a limit.

It's OK that the protocol doesn't define a limit. The problem
is there's no way for a client and server to discover the
other's actual limits. Since we're documenting the protocol
here, not defining it, we're stuck with that for the moment.

We could do something clever like add these limits to the
RDMA CM private data.


> There are cases where a solaris client can send up to 16 segments in =
one write chunk.  WOuld that be considered under the "practical limit"?

No, that would _be_ the practical limit for your client.

For example, the Linux server has a limit of about 260 segments,
because it supports 1MB NFS READs and WRITEs, and 256 pages (plus
a few to accommodate non-aligned payloads) is needed with 4KB
pages.

The Linux server has a limit of 1 normal Read chunk or 1
Position-zero Read chunk. That's totally arbitrary, and was an
implementation choice based on what the Linux client of 2008
might send. Clearly, the Linux server will need to be improved
to support more general clients like Solaris.


--
Chuck Lever




From nobody Thu Apr 27 08:44:12 2017
Return-Path: <chuck.lever@oracle.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 DB1611293D6 for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 08:44:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level: 
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 ymQsXn_Nmqwm for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 08:44:07 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 80091129415 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 08:42:58 -0700 (PDT)
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3RFgvrV007256 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Thu, 27 Apr 2017 15:42:57 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v3RFgv60014885 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Thu, 27 Apr 2017 15:42:57 GMT
Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3RFguMr004900 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 15:42:56 GMT
Received: from dhcp-whq-5op-3rd-and-4th-floor-gen-off-10-211-46-5.usdhcp.oraclecorp.com (/10.211.46.5) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 27 Apr 2017 08:42:56 -0700
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com>
Date: Thu, 27 Apr 2017 08:44:34 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <F842F8E7-B576-4781-A845-F13317593F88@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com>
To: NFSv4 <nfsv4@ietf.org>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: userv0021.oracle.com [156.151.31.71]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/Hp0uNK77t54e46CT63CPXgV-Ai4>
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: Thu, 27 Apr 2017 15:44:11 -0000

> On Apr 27, 2017, at 7:20 AM, Tom Talpey <tom@talpey.com> wrote:
>=20
> >snip:
> >    Such implementation limits can constrain the complexity of NFS
> >    version 4 COMPOUNDs, limit the number of elements in =
scatter-gather
> >    operations, or prevent the use of Kerberos integrity or privacy
> >    services.
>=20
> I like the approach, and the lead-in language looks good. The text
> quoted above is just a little bit dark, especially that bit about
> preventing krb5i/krb5p. I'd suggest a more active statement to replace
> the above, including the more prescriptive SHOULD rather than "can".
> How about:
>=20
> "Client implementations SHOULD be prepared to provide mechanisms for
>  reporting the above errors, and optionally provide configuration to
>  limit the complexity of NFS version 4 COMPOUNDs, limit the number
>  of elements in scatter-gather operations, and to avoid other possible
>  sources of RPC-over-RDMA chunk overruns at the peer.
>=20
>  These become especially important when Kerberos integrity or privacy
>  is in place for the RPC connection. These facilities add payload to
>  the RPC headers, potentially increasing the complexity of the chunk
>  manipulation, independent of the upper layer NFS operation. The
>  implementation SHOULD consider such RPC payload requirements in
>  addition to the NFS considerations."

Sure, I can work this in.

When you say "Client implementations SHOULD ... [report] the above
errors" you are talking about reporting them to administrators
and/or RPC consumers? I don't think we can use SHOULD in that case.
This feels like implementation advice, not protocol.

Would "recommend" be enough for this section?


> Feel free to wordsmith further.
>=20
> Tom.
>=20
>=20
> On 4/26/2017 12:18 PM, Chuck Lever wrote:
>>=20
>>> On Apr 24, 2017, at 7:30 AM, Chuck Lever <chuck.lever@oracle.com> =
wrote:
>>>=20
>>>>=20
>>>> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
>>>>=20
>>>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
>>>>> I agree that SHOULD/MAY makes things cloudier, and does not
>>>>> seem to align with well-defined RFC2119 usage.
>>>>>=20
>>>>> Another way we've dealt with similar disagreements between
>>>>> specification and implementation is to decide that one of
>>>>> the implementations is incorrect.
>>>>>=20
>>>>> Can we agree that:
>>>>>=20
>>>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
>>>>> understandable why it might be returned
>>>>>=20
>>>>> - RPC clients are already prepared for GARBAGE_ARGS
>>>>=20
>>>> Are you certain of this?
>>>=20
>>> GARBAGE_ARGS has been part of the RPC protocol for decades.
>>> The two Unix-flavored clients that have NFS/RDMA support can
>>> both handle this error.
>>=20
>> I've confirmed that the only other known NFS/RDMA client
>> (Oracle dNFS) properly recognizes GARBAGE_ARGS.
>>=20
>>=20
>>>> And out of curiosity, what is returned
>>>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
>>>=20
>>> RFC 5531:
>>>> GARBAGE_ARGS  =3D 4, /* procedure can=E2=80=99t decode params   */
>>>=20
>>>=20
>>> GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
>>> with accept_stat GARBAGE_ARGS. An XID is available in the
>>> header.
>>>=20
>>> rfc5666bis:
>>>> If the rdma_vers field contains a recognized value, but an
>>>> XDR parsing error occurs, the responder MUST reply with an
>>>> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
>>>=20
>>>=20
>>> ERR_CHUNK is a transport level error. An XID is available
>>> in the header.
>>>=20
>>> The difference is that the RPC layer v. the transport layer
>>> are reporting they don't understand the contents of the
>>> message (Call). There is nothing more in either type of
>>> message.
>>>=20
>>>=20
>>>>> - In RPC-over-RDMA Version One, we are not trying to recover
>>>>> (in the sense of resending a simpler COMPOUND) but are rather
>>>>> trying to ensure the offending RPC is properly terminated on
>>>>> the client, and does not further block other RPCs or deadlock
>>>>> the transport
>>>>>=20
>>>>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
>>>>> instead of ERR_CHUNK.
>>>>=20
>>>> "Harmless" is a bit relative. The operation fails, through no fault
>>>> of the consumer. And, frankly, in a very mysterious way.
>>>=20
>>> We have no richer way of communicating failure in RPC-over-RDMA
>>> Version One. We are not looking for recovery here, so I don't
>>> believe any more information would be useful. If the server
>>> wishes, it can log the failure with a message explaining what
>>> went wrong.
>>>=20
>>>=20
>>>> Again, I think there is more to say here. It's a limitation of the
>>>> protocol whose implications should be made clear (contraining the
>>>> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
>>>=20
>>> I'd welcome any suggested text.
>>>=20
>>> Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
>>> RPC-over-RDMA have a sophisticated mechanism to communicate this
>>> kind of limitation. The best an NFSv4 server can do is return
>>> NFS4ERR_RESOURCE, which also carries little extra information
>>> about what a client should do to recover.
>>>=20
>>> So are you comfortable with eliminating GARBAGE_ARGS if we can
>>> come up with more detail about the impact of not knowing how
>>> complex a COMPOUND can be?
>>=20
>> I've come up with some possible replacement text for
>> the final two paragraphs of S5.4.1 in an attempt to
>> address comments from Tom, David, and Karen. The
>> normative requirements have been removed, and a (brief)
>> discussion of the consequences of not handling complex
>> COMPOUNDs was introduced.
>>=20
>>=20
>> 5.4.2.  Complexity Considerations
>>=20
>>   As mentioned above, an NFS version 4 COMPOUND procedure can contain
>>   more than one operation that carries a DDP-eligible data item.  The
>>   RPC-over-RDMA Version One protocol does not place any limit on the
>>   number of chunks that may appear in the Read or Write lists.
>>   Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
>>   Version One message containing more than one Read chunk or Write
>>   chunk.
>>=20
>>   However, implementations have practical limits on the number of
>>   chunks or segments they are prepared to process in one of these
>>   lists.  There are several ways an NFS Version 4 server might =
indicate
>>   that an RPC Call message constructed by a client is valid but =
cannot
>>   be processed because of implementation limitations:
>>=20
>>   o  If the problem is detected in the upper layer (i.e., by the NFS
>>      version 4 implementation), the server returns an NFS status of
>>      NFS4ERR_RESOURCE.
>>=20
>>   o  If the problem is detected during XDR decoding of the request
>>      (e.g., during re-assembly of the Call message by the RPC layer),
>>      the server returns an RPC accept_stat of GARBAGE_ARGS.
>>=20
>>   o  If the problem is detected at the transport layer (i.e., during
>>      transport header processing), the server returns an RDMA_ERROR
>>      message with the err_code field set to ERR_CHUNK.
>>=20
>>   Such implementation limits can constrain the complexity of NFS
>>   version 4 COMPOUNDs, limit the number of elements in scatter-gather
>>   operations, or prevent the use of Kerberos integrity or privacy
>>   services.
>>=20
>>=20
>> Comments, opinions on this approach?
>>=20
>>=20
>>>> Tom.
>>>>=20
>>>>=20
>>>>>=20
>>>>> As a result, I can change the Read list text in S5.4.1 to be
>>>>> the same as the Write list text, removing the mention of
>>>>> GARBAGE_ARGS.
>>>>>=20
>>>>> Would that sit comfortably with everyone?
>>>>>=20
>>>>>=20
>>>>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com> =
wrote:
>>>>>>=20
>>>>>>> The "or" is a similar situation, it prescribes a choice, which
>>>>>>> does not define a protocol.
>>>>>>=20
>>>>>> Fair enough, but the point that needs to be made is that, with
>>>>>> regard to Version One, Chuck and  the working group is not
>>>>>> free to define a protocol.  As a result we have the kind of
>>>>>> ugliness you object to, but it is inherent in the choice to try =
to
>>>>>> revive Version One as-is.
>>>>>>=20
>>>>>>> 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 SHOULD reject the request by responding with =
an
>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing an =
RPC
>>>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>>>=20
>>>>>> I think I know what you intend here and I've seen stuff like this =
in RFCs but I don't
>>>>>> wthink e can do this because this is not in line with the =
definitions of "SHOULD"
>>>>>> and "MAY" that appear in RFC2119.
>>>>>>=20
>>>>>> "SHOULD" means that you are supposed to do something but can =
avoid it if
>>>>>> you have a good reason and are aware of the consequences of not =
doing it.
>>>>>> In this case the "good" reason is that someone coded the =
implementation
>>>>>> to do something else, which is not all that good a reason.  The =
consequences of
>>>>>> returning the GARBAGEARGS are exactly zero, since the client has =
to be prepared
>>>>>> for either it or ERR_CHUNK.
>>>>>>=20
>>>>>> "MAY" means the implementation can choose to do the action or =
not, which is line
>>>>>> with the reality here but essentially contradicts the SHOULD.
>>>>>>=20
>>>>>>> This at least makes it clear which response is "preferred".
>>>>>>=20
>>>>>> But it is isn't really the job of the RFC2119 terms to say which =
is "preferred" or
>>>>>> "'preferred'".  These terms are supposed to describe =
interoperability and the
>>>>>> interoperability situation is that the server MUST return =
ERR_CHUNK or
>>>>>> GARBAGEARGS and the client needs to be prepared for either.  That =
is the
>>>>>> unpleasant reality.  If you want to indicate a preference, you =
can say something
>>>>>> like:
>>>>>> 	=E2=80=A2 Returning ERR_CHUNK is preferrable.
>>>>>> 	=E2=80=A2 Returinng ERR_CHUNK is more in line with the =
appropriate protocol layering since this issue relates to a limitation =
of the transport implementation.
>>>>>> 	=E2=80=A2 Use of GARBAGEARGS is an unfortunate artifact of =
inappropriately layered implementations and is only allowed for reasons =
of compatibility with existing implementations.  It is desirable to =
avoid it.
>>>>>>> And one would hope a future draft would decide.
>>>>>>=20
>>>>>> Not sure what draft you are thinking of.  I don't see us doing an =
rfc5667bisbis (rfc5667tris).
>>>>>>=20
>>>>>> By the time we did that, the implementations with these =
restrictions will probably be gone.
>>>>>>=20
>>>>>>> I have a second question though. How does the client determine =
what is
>>>>>>> the actual error? As in, how many chunks were allowed?
>>>>>>=20
>>>>>> This is not fixable in Version One.  It would be in Version Two, =
but by then
>>>>>> the need will probably be gone.
>>>>>>=20
>>>>>>> Does the upper
>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>=20
>>>>>> I think something could be put in to indicate that clients should =
break up COMPOUNDS
>>>>>> so the only have a single chunk each.
>>>>>>=20
>>>>>>> Yes, I know 5667 did not explore this very well.
>>>>>>=20
>>>>>> It didn't explore it at all.  And 5666's error reporting =
facilities were extremely limited.
>>>>>>=20
>>>>>>> Mea culpa.
>>>>>>=20
>>>>>> I don'tt think you have anything to apologize for.
>>>>>>=20
>>>>>>=20
>>>>>>=20
>>>>>>=20
>>>>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> =
wrote:
>>>>>>=20
>>>>>>=20
>>>>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>>>>>> Hi Tom-
>>>>>>=20
>>>>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>=20
>>>>>> I noticed the same thing, and I'll add that the MUST reject =
condition
>>>>>> is very confusing because it allows an "or". In my opinion a MUST =
is
>>>>>> always a single requirement, never ambiguous.
>>>>>>=20
>>>>>> I agree this kind of thing is tricky. I wrote it as "the server =
MUST
>>>>>> reject the RPC". That's the single requirement. The choice is how =
the
>>>>>> rejection is conveyed to the client.
>>>>>>=20
>>>>>> The statement "MUST reject" is not testable. So, while it may be
>>>>>> understood what is intended, there is nothing implementable in =
the
>>>>>> MUST. The "or" is a similar situation, it prescribes a choice, =
which
>>>>>> does not define a protocol.
>>>>>>=20
>>>>>> Is there some reason you want to allow such a choice? I think =
you'll
>>>>>> find that, worded properly, it becomes actually much less =
implementable
>>>>>> and interoperable than you may think.
>>>>>>=20
>>>>>> The Solaris server can return an RPC-level error in cases like =
this.
>>>>>>=20
>>>>>> Well, this is happening because the Solaris server is (probably) =
just
>>>>>> handing the chunk list up to the RPC layer, and it's the RPC =
(XDR)
>>>>>> processing that detects any problem.
>>>>>>=20
>>>>>> On the other hand, an implementation could do the opposite, it =
could
>>>>>> process the chunks at the lower layer, before ever invoking RPC
>>>>>> processing. This would naturally lead to a non-RPC error.
>>>>>>=20
>>>>>> The challenge in defining the protocol is to hide these =
possibilities.
>>>>>>=20
>>>>>> I think there are similar choices allowed in rfc5666bis. Let's =
say
>>>>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
>>>>>> documenting existing implementation behavior here.
>>>>>>=20
>>>>>> I'm not sure it matters to the client: both errors are permanent =
and
>>>>>> the RPC is terminated on the client.
>>>>>>=20
>>>>>> I'm open to alternatives.
>>>>>>=20
>>>>>> The icky way to do this is to split into two weak requirements.
>>>>>>=20
>>>>>> 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 SHOULD reject the request by responding with =
an
>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>> server MAY reject the RPC with an RDMA_MSG message containing an =
RPC
>>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>>>=20
>>>>>> This at least makes it clear which response is "preferred". And =
one
>>>>>> would hope a future draft would decide.
>>>>>>=20
>>>>>> I have a second question though. How does the client determine =
what is
>>>>>> the actual error? As in, how many chunks were allowed? Does the =
upper
>>>>>> layer have to recover, and if so what are the implications?
>>>>>>=20
>>>>>> Yes, I know 5667 did not explore this very well. Mea culpa.
>>>>>>=20
>>>>>>=20
>>>>>>=20
>>>>>> Tom.
>>>>>>=20
>>>>>>=20
>>>>>>=20
>>>>>> On 4/18/2017 6:32 PM, karen deitke wrote:
>>>>>> Hi Chuck, its unclear what you mean by "is prepared to process" =
in the text below.
>>>>>> Other than that, looks good.
>>>>>>=20
>>>>>> Karen
>>>>>>=20
>>>>>> 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.
>>>>>>=20
>>>>>>=20
>>>>>> 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.
>>>>>>=20
>>>>>>=20
>>>>>> On 4/18/2017 1:21 PM, David Noveck wrote:
>>>>>> *Overall Evaluation*
>>>>>> *
>>>>>> *
>>>>>> Major improvement over RFC5667.  Almost ready to ship.  No =
technical
>>>>>> issues.
>>>>>>=20
>>>>>> A lot of my comments are basically editorial and are offered on a
>>>>>> take-it-or-lease-it basis.
>>>>>>=20
>>>>>> I think some clarification in Section 5.4.1 is needed although =
not
>>>>>> necessarily in the ways suggested below,
>>>>>>=20
>>>>>> *Comments by Section*
>>>>>> *5.4.1. Multiple DDP-eligible Data Items*
>>>>>> Giventhat 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:
>>>>>>=20
>>>>>> 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.
>>>>>>=20
>>>>>> 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.
>>>>>>=20
>>>>>> 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.
>>>>>>=20
>>>>>> *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"
>>>>>>=20
>>>>>>=20
>>>>>> _______________________________________________
>>>>>> nfsv4 mailing list
>>>>>> nfsv4@ietf.org
>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>>=20
>>>>>>=20
>>>>>>=20
>>>>>> _______________________________________________
>>>>>> nfsv4 mailing list
>>>>>> nfsv4@ietf.org
>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>>=20
>>>>>>=20
>>>>>> _______________________________________________
>>>>>> nfsv4 mailing list
>>>>>> nfsv4@ietf.org
>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>>=20
>>>>>> --
>>>>>> Chuck Lever
>>>>>>=20
>>>>>>=20
>>>>>>=20
>>>>>> _______________________________________________
>>>>>> nfsv4 mailing list
>>>>>> nfsv4@ietf.org
>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>>=20
>>>>>>=20
>>>>>>=20
>>>>>> _______________________________________________
>>>>>> nfsv4 mailing list
>>>>>> nfsv4@ietf.org
>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>>=20
>>>>>> _______________________________________________
>>>>>> nfsv4 mailing list
>>>>>> nfsv4@ietf.org
>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>=20
>>>>> --
>>>>> Chuck Lever
>>>>>=20
>>>>>=20
>>>>>=20
>>>>> _______________________________________________
>>>>> nfsv4 mailing list
>>>>> nfsv4@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>=20
>>>>=20
>>>> _______________________________________________
>>>> nfsv4 mailing list
>>>> nfsv4@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>=20
>>> --
>>> Chuck Lever
>>>=20
>>>=20
>>>=20
>>> _______________________________________________
>>> nfsv4 mailing list
>>> nfsv4@ietf.org
>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>=20
>> --
>> Chuck Lever
>>=20
>>=20
>>=20
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
>>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

--
Chuck Lever




From nobody Thu Apr 27 08:49:18 2017
Return-Path: <tom@talpey.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 88EA212953E for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 08:49:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level: 
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
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 0Bfqn0YG9ZjT for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 08:49:14 -0700 (PDT)
Received: from p3plsmtpa08-06.prod.phx3.secureserver.net (p3plsmtpa08-06.prod.phx3.secureserver.net [173.201.193.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5D6BC129462 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 08:47:30 -0700 (PDT)
Received: from [192.168.0.56] ([24.218.182.144]) by :SMTPAUTH: with SMTP id 3ldDdQQNGXszK3ldDdrSFU; Thu, 27 Apr 2017 08:46:59 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <6f23e91a-2d66-cbd8-aea9-2753ddfb9b79@oracle.com> <9726D6E8-0A9E-46C9-9DCF-FB2FB492622D@oracle.com>
From: Tom Talpey <tom@talpey.com>
Message-ID: <700f84d2-a514-bfa8-7f0b-5ffd4173c16d@talpey.com>
Date: Thu, 27 Apr 2017 11:46:58 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <9726D6E8-0A9E-46C9-9DCF-FB2FB492622D@oracle.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfGhOGiHNgsmKVxILaZq3xsIXq+9vKPq0YYjP7a1kb0eKyorlkakw/MihqIIZ/KOW2DJ0Majj/TYipaRptGpO10VD0Pxgd02t6VvLJPIu4w9Q1JaOyLNE azK+nX3TOwgW8qu5XrHeh44BnedM/0PimPqjwSCviyAK9QrOf3Qdcnns
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/uJ0tp77ZiDMBgdznoxElhHHOV74>
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: Thu, 27 Apr 2017 15:49:15 -0000

On 4/27/2017 11:35 AM, Chuck Lever wrote:
> We could do something clever like add these limits to the
> RDMA CM private data.

Please, no. Placing a message in that data is in itself a protocol,
and the size and support for that data is implementation defined,
in the RDMA layer.

If such a parameter exchange is required (and remember it needs to
go both ways), just define it as a full-blown negotiation, at the
RPC-RDMA, or better, the NFS layer. There are already some RDMA
values exchanged in the NFSv4.1 Session establishment, which could
be extended.

Tom.


From nobody Thu Apr 27 08:54:01 2017
Return-Path: <chuck.lever@oracle.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 9DF43129A9A for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 08:53:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level: 
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 OH6SMuj6_J6k for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 08:53:58 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AAB93129AE0 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 08:51:56 -0700 (PDT)
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3RFptXL025169 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Thu, 27 Apr 2017 15:51:56 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v3RFpshR010767 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Thu, 27 Apr 2017 15:51:54 GMT
Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id v3RFpp3W003476 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 15:51:52 GMT
Received: from dhcp-whq-5op-3rd-and-4th-floor-gen-off-10-211-46-5.usdhcp.oraclecorp.com (/10.211.46.5) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 27 Apr 2017 08:51:51 -0700
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <700f84d2-a514-bfa8-7f0b-5ffd4173c16d@talpey.com>
Date: Thu, 27 Apr 2017 08:53:29 -0700
Content-Transfer-Encoding: 7bit
Message-Id: <EBC491EB-860B-401C-B192-9A8E9F8176B0@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <6f23e91a-2d66-cbd8-aea9-2753ddfb9b79@oracle.com> <9726D6E8-0A9E-46C9-9DCF-FB2FB492622D@oracle.com> <700f84d2-a514-bfa8-7f0b-5ffd4173c16d@talpey.com>
To: NFSv4 <nfsv4@ietf.org>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: aserv0022.oracle.com [141.146.126.234]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/XP9Yx-S9c8Y7UKJbj4nAkUhxV30>
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: Thu, 27 Apr 2017 15:54:00 -0000

> On Apr 27, 2017, at 8:46 AM, Tom Talpey <tom@talpey.com> wrote:
> 
> On 4/27/2017 11:35 AM, Chuck Lever wrote:
>> We could do something clever like add these limits to the
>> RDMA CM private data.
> 
> Please, no. Placing a message in that data is in itself a protocol,
> and the size and support for that data is implementation defined,
> in the RDMA layer.

So you would object strenuously to

https://datatracker.ietf.org/doc/draft-cel-nfsv4-rpcrdma-cm-pvt-msg/


> If such a parameter exchange is required (and remember it needs to
> go both ways), just define it as a full-blown negotiation, at the
> RPC-RDMA, or better, the NFS layer. There are already some RDMA
> values exchanged in the NFSv4.1 Session establishment, which could
> be extended.


--
Chuck Lever




From nobody Thu Apr 27 08:57:02 2017
Return-Path: <tom@talpey.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 1DC5C129B1E for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 08:57:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 ooH7Qrr99p-M for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 08:56:56 -0700 (PDT)
Received: from p3plsmtpa07-02.prod.phx3.secureserver.net (p3plsmtpa07-02.prod.phx3.secureserver.net [173.201.192.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 671CC129B18 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 08:55:05 -0700 (PDT)
Received: from [192.168.0.56] ([24.218.182.144]) by :SMTPAUTH: with SMTP id 3lkXdjOA1KTaZ3lkYdIFbf; Thu, 27 Apr 2017 08:54:34 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <F842F8E7-B576-4781-A845-F13317593F88@oracle.com>
From: Tom Talpey <tom@talpey.com>
Message-ID: <1451a113-115b-5c43-5cfe-f0c5e21b59d6@talpey.com>
Date: Thu, 27 Apr 2017 11:54:33 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <F842F8E7-B576-4781-A845-F13317593F88@oracle.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-CMAE-Envelope: MS4wfOa/90Vex3RkmQDYeUhlUI/wOFmyW3Lh6eGCz+zD42qigtUx3TLPOB0/tkZPpjktuInF8C4m4b3zj6KixgpnzjIAARsXNrX2zeNB0aWWpu9O7wutNmrD hKSd2pH27RoohNyBP0F/fVa6UZXp9x1RYihyDzajglc4lczmhJXa5F68
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/nlUzJKD9Lownh74eDfuuaHs83XQ>
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: Thu, 27 Apr 2017 15:57:00 -0000

On 4/27/2017 11:44 AM, Chuck Lever wrote:
>
>> On Apr 27, 2017, at 7:20 AM, Tom Talpey <tom@talpey.com> wrote:
>>
>>> snip:
>>>    Such implementation limits can constrain the complexity of NFS
>>>    version 4 COMPOUNDs, limit the number of elements in scatter-gather
>>>    operations, or prevent the use of Kerberos integrity or privacy
>>>    services.
>>
>> I like the approach, and the lead-in language looks good. The text
>> quoted above is just a little bit dark, especially that bit about
>> preventing krb5i/krb5p. I'd suggest a more active statement to replace
>> the above, including the more prescriptive SHOULD rather than "can".
>> How about:
>>
>> "Client implementations SHOULD be prepared to provide mechanisms for
>>  reporting the above errors, and optionally provide configuration to
>>  limit the complexity of NFS version 4 COMPOUNDs, limit the number
>>  of elements in scatter-gather operations, and to avoid other possible
>>  sources of RPC-over-RDMA chunk overruns at the peer.
>>
>>  These become especially important when Kerberos integrity or privacy
>>  is in place for the RPC connection. These facilities add payload to
>>  the RPC headers, potentially increasing the complexity of the chunk
>>  manipulation, independent of the upper layer NFS operation. The
>>  implementation SHOULD consider such RPC payload requirements in
>>  addition to the NFS considerations."
>
> Sure, I can work this in.
>
> When you say "Client implementations SHOULD ... [report] the above
> errors" you are talking about reporting them to administrators
> and/or RPC consumers? I don't think we can use SHOULD in that case.

I am agnostic about who to inform. The important thing is that some
visibility of the error be surfaced. I absolutely don't think an
arbitrary GARBAGE_ARGS returned to an application that may simply
choke on it, qualifies.

> This feels like implementation advice, not protocol.

Correct. But since the protocol creates the problem, the protocol
definition needs to say something about dealing with it. So I believe
SHOULD is best.

> Would "recommend" be enough for this section?

The RFC2119 term RECOMMENDED is basically a synonym for SHOULD. It's
perfectly permissible.

Tom.

>
>
>> Feel free to wordsmith further.
>>
>> Tom.
>>
>>
>> On 4/26/2017 12:18 PM, Chuck Lever wrote:
>>>
>>>> On Apr 24, 2017, at 7:30 AM, Chuck Lever <chuck.lever@oracle.com> wrote:
>>>>
>>>>>
>>>>> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
>>>>>
>>>>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
>>>>>> I agree that SHOULD/MAY makes things cloudier, and does not
>>>>>> seem to align with well-defined RFC2119 usage.
>>>>>>
>>>>>> Another way we've dealt with similar disagreements between
>>>>>> specification and implementation is to decide that one of
>>>>>> the implementations is incorrect.
>>>>>>
>>>>>> Can we agree that:
>>>>>>
>>>>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
>>>>>> understandable why it might be returned
>>>>>>
>>>>>> - RPC clients are already prepared for GARBAGE_ARGS
>>>>>
>>>>> Are you certain of this?
>>>>
>>>> GARBAGE_ARGS has been part of the RPC protocol for decades.
>>>> The two Unix-flavored clients that have NFS/RDMA support can
>>>> both handle this error.
>>>
>>> I've confirmed that the only other known NFS/RDMA client
>>> (Oracle dNFS) properly recognizes GARBAGE_ARGS.
>>>
>>>
>>>>> And out of curiosity, what is returned
>>>>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
>>>>
>>>> RFC 5531:
>>>>> GARBAGE_ARGS  = 4, /* procedure can’t decode params   */
>>>>
>>>>
>>>> GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
>>>> with accept_stat GARBAGE_ARGS. An XID is available in the
>>>> header.
>>>>
>>>> rfc5666bis:
>>>>> If the rdma_vers field contains a recognized value, but an
>>>>> XDR parsing error occurs, the responder MUST reply with an
>>>>> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
>>>>
>>>>
>>>> ERR_CHUNK is a transport level error. An XID is available
>>>> in the header.
>>>>
>>>> The difference is that the RPC layer v. the transport layer
>>>> are reporting they don't understand the contents of the
>>>> message (Call). There is nothing more in either type of
>>>> message.
>>>>
>>>>
>>>>>> - In RPC-over-RDMA Version One, we are not trying to recover
>>>>>> (in the sense of resending a simpler COMPOUND) but are rather
>>>>>> trying to ensure the offending RPC is properly terminated on
>>>>>> the client, and does not further block other RPCs or deadlock
>>>>>> the transport
>>>>>>
>>>>>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
>>>>>> instead of ERR_CHUNK.
>>>>>
>>>>> "Harmless" is a bit relative. The operation fails, through no fault
>>>>> of the consumer. And, frankly, in a very mysterious way.
>>>>
>>>> We have no richer way of communicating failure in RPC-over-RDMA
>>>> Version One. We are not looking for recovery here, so I don't
>>>> believe any more information would be useful. If the server
>>>> wishes, it can log the failure with a message explaining what
>>>> went wrong.
>>>>
>>>>
>>>>> Again, I think there is more to say here. It's a limitation of the
>>>>> protocol whose implications should be made clear (contraining the
>>>>> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
>>>>
>>>> I'd welcome any suggested text.
>>>>
>>>> Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
>>>> RPC-over-RDMA have a sophisticated mechanism to communicate this
>>>> kind of limitation. The best an NFSv4 server can do is return
>>>> NFS4ERR_RESOURCE, which also carries little extra information
>>>> about what a client should do to recover.
>>>>
>>>> So are you comfortable with eliminating GARBAGE_ARGS if we can
>>>> come up with more detail about the impact of not knowing how
>>>> complex a COMPOUND can be?
>>>
>>> I've come up with some possible replacement text for
>>> the final two paragraphs of S5.4.1 in an attempt to
>>> address comments from Tom, David, and Karen. The
>>> normative requirements have been removed, and a (brief)
>>> discussion of the consequences of not handling complex
>>> COMPOUNDs was introduced.
>>>
>>>
>>> 5.4.2.  Complexity Considerations
>>>
>>>   As mentioned above, an NFS version 4 COMPOUND procedure can contain
>>>   more than one operation that carries a DDP-eligible data item.  The
>>>   RPC-over-RDMA Version One protocol does not place any limit on the
>>>   number of chunks that may appear in the Read or Write lists.
>>>   Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
>>>   Version One message containing more than one Read chunk or Write
>>>   chunk.
>>>
>>>   However, implementations have practical limits on the number of
>>>   chunks or segments they are prepared to process in one of these
>>>   lists.  There are several ways an NFS Version 4 server might indicate
>>>   that an RPC Call message constructed by a client is valid but cannot
>>>   be processed because of implementation limitations:
>>>
>>>   o  If the problem is detected in the upper layer (i.e., by the NFS
>>>      version 4 implementation), the server returns an NFS status of
>>>      NFS4ERR_RESOURCE.
>>>
>>>   o  If the problem is detected during XDR decoding of the request
>>>      (e.g., during re-assembly of the Call message by the RPC layer),
>>>      the server returns an RPC accept_stat of GARBAGE_ARGS.
>>>
>>>   o  If the problem is detected at the transport layer (i.e., during
>>>      transport header processing), the server returns an RDMA_ERROR
>>>      message with the err_code field set to ERR_CHUNK.
>>>
>>>   Such implementation limits can constrain the complexity of NFS
>>>   version 4 COMPOUNDs, limit the number of elements in scatter-gather
>>>   operations, or prevent the use of Kerberos integrity or privacy
>>>   services.
>>>
>>>
>>> Comments, opinions on this approach?
>>>
>>>
>>>>> Tom.
>>>>>
>>>>>
>>>>>>
>>>>>> As a result, I can change the Read list text in S5.4.1 to be
>>>>>> the same as the Write list text, removing the mention of
>>>>>> GARBAGE_ARGS.
>>>>>>
>>>>>> Would that sit comfortably with everyone?
>>>>>>
>>>>>>
>>>>>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com> wrote:
>>>>>>>
>>>>>>>> The "or" is a similar situation, it prescribes a choice, which
>>>>>>>> does not define a protocol.
>>>>>>>
>>>>>>> Fair enough, but the point that needs to be made is that, with
>>>>>>> regard to Version One, Chuck and  the working group is not
>>>>>>> free to define a protocol.  As a result we have the kind of
>>>>>>> ugliness you object to, but it is inherent in the choice to try to
>>>>>>> revive Version One as-is.
>>>>>>>
>>>>>>>> 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 SHOULD reject the request by responding with an
>>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing an RPC
>>>>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>>>>
>>>>>>> I think I know what you intend here and I've seen stuff like this in RFCs but I don't
>>>>>>> wthink e can do this because this is not in line with the definitions of "SHOULD"
>>>>>>> and "MAY" that appear in RFC2119.
>>>>>>>
>>>>>>> "SHOULD" means that you are supposed to do something but can avoid it if
>>>>>>> you have a good reason and are aware of the consequences of not doing it.
>>>>>>> In this case the "good" reason is that someone coded the implementation
>>>>>>> to do something else, which is not all that good a reason.  The consequences of
>>>>>>> returning the GARBAGEARGS are exactly zero, since the client has to be prepared
>>>>>>> for either it or ERR_CHUNK.
>>>>>>>
>>>>>>> "MAY" means the implementation can choose to do the action or not, which is line
>>>>>>> with the reality here but essentially contradicts the SHOULD.
>>>>>>>
>>>>>>>> This at least makes it clear which response is "preferred".
>>>>>>>
>>>>>>> But it is isn't really the job of the RFC2119 terms to say which is "preferred" or
>>>>>>> "'preferred'".  These terms are supposed to describe interoperability and the
>>>>>>> interoperability situation is that the server MUST return ERR_CHUNK or
>>>>>>> GARBAGEARGS and the client needs to be prepared for either.  That is the
>>>>>>> unpleasant reality.  If you want to indicate a preference, you can say something
>>>>>>> like:
>>>>>>> 	• Returning ERR_CHUNK is preferrable.
>>>>>>> 	• Returinng ERR_CHUNK is more in line with the appropriate protocol layering since this issue relates to a limitation of the transport implementation.
>>>>>>> 	• Use of GARBAGEARGS is an unfortunate artifact of inappropriately layered implementations and is only allowed for reasons of compatibility with existing implementations.  It is desirable to avoid it.
>>>>>>>> And one would hope a future draft would decide.
>>>>>>>
>>>>>>> Not sure what draft you are thinking of.  I don't see us doing an rfc5667bisbis (rfc5667tris).
>>>>>>>
>>>>>>> By the time we did that, the implementations with these restrictions will probably be gone.
>>>>>>>
>>>>>>>> I have a second question though. How does the client determine what is
>>>>>>>> the actual error? As in, how many chunks were allowed?
>>>>>>>
>>>>>>> This is not fixable in Version One.  It would be in Version Two, but by then
>>>>>>> the need will probably be gone.
>>>>>>>
>>>>>>>> Does the upper
>>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>>
>>>>>>> I think something could be put in to indicate that clients should break up COMPOUNDS
>>>>>>> so the only have a single chunk each.
>>>>>>>
>>>>>>>> Yes, I know 5667 did not explore this very well.
>>>>>>>
>>>>>>> It didn't explore it at all.  And 5666's error reporting facilities were extremely limited.
>>>>>>>
>>>>>>>> Mea culpa.
>>>>>>>
>>>>>>> I don'tt think you have anything to apologize for.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>>
>>>>>>>
>>>>>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>>>>>>> Hi Tom-
>>>>>>>
>>>>>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>>
>>>>>>> I noticed the same thing, and I'll add that the MUST reject condition
>>>>>>> is very confusing because it allows an "or". In my opinion a MUST is
>>>>>>> always a single requirement, never ambiguous.
>>>>>>>
>>>>>>> I agree this kind of thing is tricky. I wrote it as "the server MUST
>>>>>>> reject the RPC". That's the single requirement. The choice is how the
>>>>>>> rejection is conveyed to the client.
>>>>>>>
>>>>>>> The statement "MUST reject" is not testable. So, while it may be
>>>>>>> understood what is intended, there is nothing implementable in the
>>>>>>> MUST. The "or" is a similar situation, it prescribes a choice, which
>>>>>>> does not define a protocol.
>>>>>>>
>>>>>>> Is there some reason you want to allow such a choice? I think you'll
>>>>>>> find that, worded properly, it becomes actually much less implementable
>>>>>>> and interoperable than you may think.
>>>>>>>
>>>>>>> The Solaris server can return an RPC-level error in cases like this.
>>>>>>>
>>>>>>> Well, this is happening because the Solaris server is (probably) just
>>>>>>> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
>>>>>>> processing that detects any problem.
>>>>>>>
>>>>>>> On the other hand, an implementation could do the opposite, it could
>>>>>>> process the chunks at the lower layer, before ever invoking RPC
>>>>>>> processing. This would naturally lead to a non-RPC error.
>>>>>>>
>>>>>>> The challenge in defining the protocol is to hide these possibilities.
>>>>>>>
>>>>>>> I think there are similar choices allowed in rfc5666bis. Let's say
>>>>>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
>>>>>>> documenting existing implementation behavior here.
>>>>>>>
>>>>>>> I'm not sure it matters to the client: both errors are permanent and
>>>>>>> the RPC is terminated on the client.
>>>>>>>
>>>>>>> I'm open to alternatives.
>>>>>>>
>>>>>>> The icky way to do this is to split into two weak requirements.
>>>>>>>
>>>>>>> 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 SHOULD reject the request by responding with an
>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing an RPC
>>>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>>>>
>>>>>>> This at least makes it clear which response is "preferred". And one
>>>>>>> would hope a future draft would decide.
>>>>>>>
>>>>>>> I have a second question though. How does the client determine what is
>>>>>>> the actual error? As in, how many chunks were allowed? Does the upper
>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>>
>>>>>>> Yes, I know 5667 did not explore this very well. Mea culpa.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Tom.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 4/18/2017 6:32 PM, karen deitke wrote:
>>>>>>> Hi Chuck, its unclear what you mean by "is prepared to process" in the text below.
>>>>>>> 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*
>>>>>>> Giventhat 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
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>> --
>>> Chuck Lever
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>


From nobody Thu Apr 27 09:03:23 2017
Return-Path: <karen.deitke@oracle.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 7F3DC129649 for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 09:03:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 2yZ8oK_k6CKB for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 09:03:18 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 25781129AFA for <nfsv4@ietf.org>; Thu, 27 Apr 2017 09:01:24 -0700 (PDT)
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3RG1N3E003456 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Thu, 27 Apr 2017 16:01:23 GMT
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v3RG1Mmb017534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Thu, 27 Apr 2017 16:01:22 GMT
Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v3RG1MHk008103 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 16:01:22 GMT
Received: from [10.159.66.170] (/10.159.66.170) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 27 Apr 2017 09:01:22 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <6f23e91a-2d66-cbd8-aea9-2753ddfb9b79@oracle.com> <ff6228ae-9df2-46a4-2c1c-69c74483ff28@talpey.com>
From: karen deitke <karen.deitke@oracle.com>
Organization: Oracle Corporation
Message-ID: <a5234328-4e36-17c1-e1aa-fe32fc24c89a@oracle.com>
Date: Thu, 27 Apr 2017 10:01:51 -0600
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <ff6228ae-9df2-46a4-2c1c-69c74483ff28@talpey.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Source-IP: userv0022.oracle.com [156.151.31.74]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/XCS3j_sUqR6ev3c6sj2LfiajhZA>
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: Thu, 27 Apr 2017 16:03:22 -0000

On 4/27/2017 9:13 AM, Tom Talpey wrote:
> On 4/27/2017 10:38 AM, karen deitke wrote:
>>
>>
>> On 4/27/2017 8:20 AM, Tom Talpey wrote:
>>> >snip:
>>> >    Such implementation limits can constrain the complexity of NFS
>>> >    version 4 COMPOUNDs, limit the number of elements in 
>>> scatter-gather
>>> >    operations, or prevent the use of Kerberos integrity or privacy
>>> >    services.
>>>
>>> I like the approach, and the lead-in language looks good. The text
>>> quoted above is just a little bit dark, especially that bit about
>>> preventing krb5i/krb5p. I'd suggest a more active statement to replace
>>> the above, including the more prescriptive SHOULD rather than "can".
>>> How about:
>>>
>>>  "Client implementations SHOULD be prepared to provide mechanisms for
>>>   reporting the above errors, and optionally provide configuration to
>>>   limit the complexity of NFS version 4 COMPOUNDs, limit the number
>>>   of elements in scatter-gather operations, and to avoid other possible
>>>   sources of RPC-over-RDMA chunk overruns at the peer.
>>>
>>>   These become especially important when Kerberos integrity or privacy
>>>   is in place for the RPC connection. These facilities add payload to
>>>   the RPC headers, potentially increasing the complexity of the chunk
>>>   manipulation, independent of the upper layer NFS operation. The
>>>   implementation SHOULD consider such RPC payload requirements in
>>>   addition to the NFS considerations."
>>  This wording about preventing the use of krb5 is confusing to me. Are
>> you saying that clients whose krb5 implementation causes "extraneous"
>> number of chunks in an rdma header may not be supported by a server and
>> thus prevent krb usage?
>
> As the protocol stands today, yes, there is no requirement that the
> server MUST be prepared to handle any certain number of chunks. And,
> since krb can increase the size of RPC headers, potentially pushing
> them beyond the maximum message size, that can potentially add new
> payload to the chunk list.
>
> The implication is that NFS COMPOUNDs may need to shrink, if this is
> the case. However, the "limit" is server implementation dependent,
> and the chunks are built at the client. So my suggestion, short of
> writing a new protocol, is to inform the client implementer of this
> possibility.
Or the client can simply send the entire packet in 1 offset 0 read chuck 
as the solaris client does.  I'm guessing that the linux client can not 
do this based on where the packets are created, but just pointing out 
there are other ways to accomplish this.

Karen
>
>>
>> Also:
>>
>>  "However, implementations have practical limits on the number of
>>   chunks_or_  _segments_  they are prepared to process in one of these
>>   lists."
>>
>> Agreed, but what is the practical limit?  There are cases where a
>> solaris client can send up to 16 segments in one write chunk. WOuld
>> that be considered under the "practical limit"?
>
> I'm afraid there is not enough experience to define such a limit. This
> document could attempt to define one, but that may be problematic. The
> stated goal of this -bis update is to clarify, not to make new
> requirements.
>
> Tom.
>
>>
>> Karen
>>
>>
>>>
>>> Feel free to wordsmith further.
>>>
>>> Tom.
>>>
>>>
>>> On 4/26/2017 12:18 PM, Chuck Lever wrote:
>>>>
>>>>> On Apr 24, 2017, at 7:30 AM, Chuck Lever <chuck.lever@oracle.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>
>>>>>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
>>>>>>> I agree that SHOULD/MAY makes things cloudier, and does not
>>>>>>> seem to align with well-defined RFC2119 usage.
>>>>>>>
>>>>>>> Another way we've dealt with similar disagreements between
>>>>>>> specification and implementation is to decide that one of
>>>>>>> the implementations is incorrect.
>>>>>>>
>>>>>>> Can we agree that:
>>>>>>>
>>>>>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
>>>>>>> understandable why it might be returned
>>>>>>>
>>>>>>> - RPC clients are already prepared for GARBAGE_ARGS
>>>>>>
>>>>>> Are you certain of this?
>>>>>
>>>>> GARBAGE_ARGS has been part of the RPC protocol for decades.
>>>>> The two Unix-flavored clients that have NFS/RDMA support can
>>>>> both handle this error.
>>>>
>>>> I've confirmed that the only other known NFS/RDMA client
>>>> (Oracle dNFS) properly recognizes GARBAGE_ARGS.
>>>>
>>>>
>>>>>> And out of curiosity, what is returned
>>>>>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
>>>>>
>>>>> RFC 5531:
>>>>>> GARBAGE_ARGS  = 4, /* procedure can’t decode params   */
>>>>>
>>>>>
>>>>> GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
>>>>> with accept_stat GARBAGE_ARGS. An XID is available in the
>>>>> header.
>>>>>
>>>>> rfc5666bis:
>>>>>> If the rdma_vers field contains a recognized value, but an
>>>>>> XDR parsing error occurs, the responder MUST reply with an
>>>>>> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
>>>>>
>>>>>
>>>>> ERR_CHUNK is a transport level error. An XID is available
>>>>> in the header.
>>>>>
>>>>> The difference is that the RPC layer v. the transport layer
>>>>> are reporting they don't understand the contents of the
>>>>> message (Call). There is nothing more in either type of
>>>>> message.
>>>>>
>>>>>
>>>>>>> - In RPC-over-RDMA Version One, we are not trying to recover
>>>>>>> (in the sense of resending a simpler COMPOUND) but are rather
>>>>>>> trying to ensure the offending RPC is properly terminated on
>>>>>>> the client, and does not further block other RPCs or deadlock
>>>>>>> the transport
>>>>>>>
>>>>>>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
>>>>>>> instead of ERR_CHUNK.
>>>>>>
>>>>>> "Harmless" is a bit relative. The operation fails, through no fault
>>>>>> of the consumer. And, frankly, in a very mysterious way.
>>>>>
>>>>> We have no richer way of communicating failure in RPC-over-RDMA
>>>>> Version One. We are not looking for recovery here, so I don't
>>>>> believe any more information would be useful. If the server
>>>>> wishes, it can log the failure with a message explaining what
>>>>> went wrong.
>>>>>
>>>>>
>>>>>> Again, I think there is more to say here. It's a limitation of the
>>>>>> protocol whose implications should be made clear (contraining the
>>>>>> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
>>>>>
>>>>> I'd welcome any suggested text.
>>>>>
>>>>> Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
>>>>> RPC-over-RDMA have a sophisticated mechanism to communicate this
>>>>> kind of limitation. The best an NFSv4 server can do is return
>>>>> NFS4ERR_RESOURCE, which also carries little extra information
>>>>> about what a client should do to recover.
>>>>>
>>>>> So are you comfortable with eliminating GARBAGE_ARGS if we can
>>>>> come up with more detail about the impact of not knowing how
>>>>> complex a COMPOUND can be?
>>>>
>>>> I've come up with some possible replacement text for
>>>> the final two paragraphs of S5.4.1 in an attempt to
>>>> address comments from Tom, David, and Karen. The
>>>> normative requirements have been removed, and a (brief)
>>>> discussion of the consequences of not handling complex
>>>> COMPOUNDs was introduced.
>>>>
>>>>
>>>> 5.4.2.  Complexity Considerations
>>>>
>>>>    As mentioned above, an NFS version 4 COMPOUND procedure can contain
>>>>    more than one operation that carries a DDP-eligible data item.  The
>>>>    RPC-over-RDMA Version One protocol does not place any limit on the
>>>>    number of chunks that may appear in the Read or Write lists.
>>>>    Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
>>>>    Version One message containing more than one Read chunk or Write
>>>>    chunk.
>>>>
>>>>    However, implementations have practical limits on the number of
>>>>    chunks or segments they are prepared to process in one of these
>>>>    lists.  There are several ways an NFS Version 4 server might 
>>>> indicate
>>>>    that an RPC Call message constructed by a client is valid but 
>>>> cannot
>>>>    be processed because of implementation limitations:
>>>>
>>>>    o  If the problem is detected in the upper layer (i.e., by the NFS
>>>>       version 4 implementation), the server returns an NFS status of
>>>>       NFS4ERR_RESOURCE.
>>>>
>>>>    o  If the problem is detected during XDR decoding of the request
>>>>       (e.g., during re-assembly of the Call message by the RPC layer),
>>>>       the server returns an RPC accept_stat of GARBAGE_ARGS.
>>>>
>>>>    o  If the problem is detected at the transport layer (i.e., during
>>>>       transport header processing), the server returns an RDMA_ERROR
>>>>       message with the err_code field set to ERR_CHUNK.
>>>>
>>>>    Such implementation limits can constrain the complexity of NFS
>>>>    version 4 COMPOUNDs, limit the number of elements in scatter-gather
>>>>    operations, or prevent the use of Kerberos integrity or privacy
>>>>    services.
>>>>
>>>>
>>>> Comments, opinions on this approach?
>>>>
>>>>
>>>>>> Tom.
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> As a result, I can change the Read list text in S5.4.1 to be
>>>>>>> the same as the Write list text, removing the mention of
>>>>>>> GARBAGE_ARGS.
>>>>>>>
>>>>>>> Would that sit comfortably with everyone?
>>>>>>>
>>>>>>>
>>>>>>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> The "or" is a similar situation, it prescribes a choice, which
>>>>>>>>> does not define a protocol.
>>>>>>>>
>>>>>>>> Fair enough, but the point that needs to be made is that, with
>>>>>>>> regard to Version One, Chuck and  the working group is not
>>>>>>>> free to define a protocol.  As a result we have the kind of
>>>>>>>> ugliness you object to, but it is inherent in the choice to try to
>>>>>>>> revive Version One as-is.
>>>>>>>>
>>>>>>>>> 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 SHOULD reject the request by responding 
>>>>>>>>> with an
>>>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing an
>>>>>>>>> RPC
>>>>>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>>>>>
>>>>>>>> I think I know what you intend here and I've seen stuff like this
>>>>>>>> in RFCs but I don't
>>>>>>>> wthink e can do this because this is not in line with the
>>>>>>>> definitions of "SHOULD"
>>>>>>>> and "MAY" that appear in RFC2119.
>>>>>>>>
>>>>>>>> "SHOULD" means that you are supposed to do something but can
>>>>>>>> avoid it if
>>>>>>>> you have a good reason and are aware of the consequences of not
>>>>>>>> doing it.
>>>>>>>> In this case the "good" reason is that someone coded the
>>>>>>>> implementation
>>>>>>>> to do something else, which is not all that good a reason.  The
>>>>>>>> consequences of
>>>>>>>> returning the GARBAGEARGS are exactly zero, since the client has
>>>>>>>> to be prepared
>>>>>>>> for either it or ERR_CHUNK.
>>>>>>>>
>>>>>>>> "MAY" means the implementation can choose to do the action or
>>>>>>>> not, which is line
>>>>>>>> with the reality here but essentially contradicts the SHOULD.
>>>>>>>>
>>>>>>>>> This at least makes it clear which response is "preferred".
>>>>>>>>
>>>>>>>> But it is isn't really the job of the RFC2119 terms to say which
>>>>>>>> is "preferred" or
>>>>>>>> "'preferred'".  These terms are supposed to describe
>>>>>>>> interoperability and the
>>>>>>>> interoperability situation is that the server MUST return
>>>>>>>> ERR_CHUNK or
>>>>>>>> GARBAGEARGS and the client needs to be prepared for either.  That
>>>>>>>> is the
>>>>>>>> unpleasant reality.  If you want to indicate a preference, you
>>>>>>>> can say something
>>>>>>>> like:
>>>>>>>>     • Returning ERR_CHUNK is preferrable.
>>>>>>>>     • Returinng ERR_CHUNK is more in line with the appropriate
>>>>>>>> protocol layering since this issue relates to a limitation of the
>>>>>>>> transport implementation.
>>>>>>>>     • Use of GARBAGEARGS is an unfortunate artifact of
>>>>>>>> inappropriately layered implementations and is only allowed for
>>>>>>>> reasons of compatibility with existing implementations.  It is
>>>>>>>> desirable to avoid it.
>>>>>>>>> And one would hope a future draft would decide.
>>>>>>>>
>>>>>>>> Not sure what draft you are thinking of.  I don't see us doing an
>>>>>>>> rfc5667bisbis (rfc5667tris).
>>>>>>>>
>>>>>>>> By the time we did that, the implementations with these
>>>>>>>> restrictions will probably be gone.
>>>>>>>>
>>>>>>>>> I have a second question though. How does the client determine
>>>>>>>>> what is
>>>>>>>>> the actual error? As in, how many chunks were allowed?
>>>>>>>>
>>>>>>>> This is not fixable in Version One.  It would be in Version Two,
>>>>>>>> but by then
>>>>>>>> the need will probably be gone.
>>>>>>>>
>>>>>>>>> Does the upper
>>>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>>>
>>>>>>>> I think something could be put in to indicate that clients should
>>>>>>>> break up COMPOUNDS
>>>>>>>> so the only have a single chunk each.
>>>>>>>>
>>>>>>>>> Yes, I know 5667 did not explore this very well.
>>>>>>>>
>>>>>>>> It didn't explore it at all.  And 5666's error reporting
>>>>>>>> facilities were extremely limited.
>>>>>>>>
>>>>>>>>> Mea culpa.
>>>>>>>>
>>>>>>>> I don'tt think you have anything to apologize for.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>>>>>>>> Hi Tom-
>>>>>>>>
>>>>>>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>>>
>>>>>>>> I noticed the same thing, and I'll add that the MUST reject
>>>>>>>> condition
>>>>>>>> is very confusing because it allows an "or". In my opinion a 
>>>>>>>> MUST is
>>>>>>>> always a single requirement, never ambiguous.
>>>>>>>>
>>>>>>>> I agree this kind of thing is tricky. I wrote it as "the server 
>>>>>>>> MUST
>>>>>>>> reject the RPC". That's the single requirement. The choice is how
>>>>>>>> the
>>>>>>>> rejection is conveyed to the client.
>>>>>>>>
>>>>>>>> The statement "MUST reject" is not testable. So, while it may be
>>>>>>>> understood what is intended, there is nothing implementable in the
>>>>>>>> MUST. The "or" is a similar situation, it prescribes a choice, 
>>>>>>>> which
>>>>>>>> does not define a protocol.
>>>>>>>>
>>>>>>>> Is there some reason you want to allow such a choice? I think 
>>>>>>>> you'll
>>>>>>>> find that, worded properly, it becomes actually much less
>>>>>>>> implementable
>>>>>>>> and interoperable than you may think.
>>>>>>>>
>>>>>>>> The Solaris server can return an RPC-level error in cases like 
>>>>>>>> this.
>>>>>>>>
>>>>>>>> Well, this is happening because the Solaris server is (probably)
>>>>>>>> just
>>>>>>>> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
>>>>>>>> processing that detects any problem.
>>>>>>>>
>>>>>>>> On the other hand, an implementation could do the opposite, it 
>>>>>>>> could
>>>>>>>> process the chunks at the lower layer, before ever invoking RPC
>>>>>>>> processing. This would naturally lead to a non-RPC error.
>>>>>>>>
>>>>>>>> The challenge in defining the protocol is to hide these
>>>>>>>> possibilities.
>>>>>>>>
>>>>>>>> I think there are similar choices allowed in rfc5666bis. Let's say
>>>>>>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
>>>>>>>> documenting existing implementation behavior here.
>>>>>>>>
>>>>>>>> I'm not sure it matters to the client: both errors are 
>>>>>>>> permanent and
>>>>>>>> the RPC is terminated on the client.
>>>>>>>>
>>>>>>>> I'm open to alternatives.
>>>>>>>>
>>>>>>>> The icky way to do this is to split into two weak requirements.
>>>>>>>>
>>>>>>>>  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 SHOULD reject the request by responding 
>>>>>>>> with an
>>>>>>>>  RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>>>>  server MAY reject the RPC with an RDMA_MSG message containing an
>>>>>>>> RPC
>>>>>>>>  Reply with an accept status of GARBAGE_ARGS.
>>>>>>>>
>>>>>>>> This at least makes it clear which response is "preferred". And 
>>>>>>>> one
>>>>>>>> would hope a future draft would decide.
>>>>>>>>
>>>>>>>> I have a second question though. How does the client determine
>>>>>>>> what is
>>>>>>>> the actual error? As in, how many chunks were allowed? Does the
>>>>>>>> upper
>>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>>>
>>>>>>>> Yes, I know 5667 did not explore this very well. Mea culpa.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Tom.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 4/18/2017 6:32 PM, karen deitke wrote:
>>>>>>>> Hi Chuck, its unclear what you mean by "is prepared to process"
>>>>>>>> in the text below.
>>>>>>>> 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*
>>>>>>>> Giventhat 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
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>
>>>> -- 
>>>> Chuck Lever
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>
>> _______________________________________________
>> 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


From nobody Thu Apr 27 09:10:59 2017
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 68F21129A92 for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 09:10:57 -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 QGBSTtZGzlHL for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 09:10:50 -0700 (PDT)
Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (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 91DAF1296CD for <nfsv4@ietf.org>; Thu, 27 Apr 2017 09:09:19 -0700 (PDT)
Received: by mail-io0-x236.google.com with SMTP id r16so26558888ioi.2 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 09:09:19 -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=MXC6lJZ+NnJIC6drYV0Xg+mIP8gU8ayQNGlWN1Ag+oU=; b=uR+XkYNY0udOoNPESJ7OSjR94MEezaqQunTIaEbsxB0jVzM1mOVYamSe8tIC2PKWcx JlkcEek59IOtE/zxK4H0yUr/581acbi+6UfTV+VrFh9w2OHcqnbwSzWwOERn4Vs2KEmy RtwJN4l3XMEDGgAZ6qUHmQvCsvx9Q7FEFnckQGo7RdDUvJahqUiShMsB0GkMC09ztfyz fvzJtS5M8lz2acq5sC7zsSK5BfC2pjTfSSMake5h8z29lbzOxCwE3Mu9eHOG4fPIDHA/ t0eiLI2h8vESq5hYemPqUl4sUgNGSi8bHFj2YKcpKK43Ab7PtD4MB+iayPWwbboIhJtD ezGw==
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=MXC6lJZ+NnJIC6drYV0Xg+mIP8gU8ayQNGlWN1Ag+oU=; b=bzqJyEhKfZMVH60oywzKgT85p5hBiOy3z+e85Pdga50By++/NZsMHe4kqww2z/6fSN lOLYasXND0kDa6zJDiPFtcOGSNCPmG5nlPJTer61zcDcb7a/o9V9tE6uAYzZ7XKZQTVC /J6B4+clpXoyNqG8MjHUcDgcfM5kxP6pyzQztiahjgHDHb7666aAQFEE/4ql/d8WCSNe RE3WrSbQD7uCyy5jzi8LIZfP4ecmPgXRxefjCE6ZXi5sItg1z5UEg5ao+hBnw+t82MHh dM/XK639YKt7xKf3y0lK3Xd4Sy66GbUm/0GbMfvlbci+OLFu8HYEZI8AONPOSpnggHld GIcQ==
X-Gm-Message-State: AN3rC/68tacu5Y4nvmI5RixjNuf1BPyvt3NQzf0I5TyK2LyjPcS6+rIh U4WU48Or2LuS53Sg3vkShDQNvlVHeJA6
X-Received: by 10.107.143.1 with SMTP id r1mr5418156iod.137.1493309358422; Thu, 27 Apr 2017 09:09:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Thu, 27 Apr 2017 09:09:17 -0700 (PDT)
In-Reply-To: <F842F8E7-B576-4781-A845-F13317593F88@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <F842F8E7-B576-4781-A845-F13317593F88@oracle.com>
From: David Noveck <davenoveck@gmail.com>
Date: Thu, 27 Apr 2017 12:09:17 -0400
Message-ID: <CADaq8jd-AYo2KM5ts6WOszyeV_vmS8t5yYPYqA2HgBn7XFeing@mail.gmail.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c05f26cd9656d054e282d97
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/mGKHS5LlUjdUZy11--kHoL8rvuc>
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: Thu, 27 Apr 2017 16:10:57 -0000

--94eb2c05f26cd9656d054e282d97
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

> Would "recommend" be enough for this section?

I agree that what we want here is implementation advice but I would prefer
something stronger than "recommend".  Note that I don't consider the
normative "SHOULD" strong enough, particularly in the context "SHOULD
be prepared to provide".

How about:

Given that there are existing servers with quite restrictive limits, there
will

be situations in which such limits will be exceeded, making it necessary

for clients to provide reporting mechanisms that will bring these
situations
to the attention of those in a position to prevent further occurrences.
One
important way of allowing effective adaptation to such client limitations
would be to provide configuration options to limit the complexity of NFS
version 4 COMPOUNDs,  limit the number of elements in scatter-gather
operations, and to avoid other  possible sources of RPC-over-RDMA chunk
overruns at the peer.





On Thu, Apr 27, 2017 at 11:44 AM, Chuck Lever <chuck.lever@oracle.com>
wrote:

>
> > On Apr 27, 2017, at 7:20 AM, Tom Talpey <tom@talpey.com> wrote:
> >
> > >snip:
> > >    Such implementation limits can constrain the complexity of NFS
> > >    version 4 COMPOUNDs, limit the number of elements in scatter-gathe=
r
> > >    operations, or prevent the use of Kerberos integrity or privacy
> > >    services.
> >
> > I like the approach, and the lead-in language looks good. The text
> > quoted above is just a little bit dark, especially that bit about
> > preventing krb5i/krb5p. I'd suggest a more active statement to replace
> > the above, including the more prescriptive SHOULD rather than "can".
> > How about:
> >
> > "Client implementations SHOULD be prepared to provide mechanisms for
> >  reporting the above errors, and optionally provide configuration to
> >  limit the complexity of NFS version 4 COMPOUNDs, limit the number
> >  of elements in scatter-gather operations, and to avoid other possible
> >  sources of RPC-over-RDMA chunk overruns at the peer.
> >
> >  These become especially important when Kerberos integrity or privacy
> >  is in place for the RPC connection. These facilities add payload to
> >  the RPC headers, potentially increasing the complexity of the chunk
> >  manipulation, independent of the upper layer NFS operation. The
> >  implementation SHOULD consider such RPC payload requirements in
> >  addition to the NFS considerations."
>
> Sure, I can work this in.
>
> When you say "Client implementations SHOULD ... [report] the above
> errors" you are talking about reporting them to administrators
> and/or RPC consumers? I don't think we can use SHOULD in that case.
> This feels like implementation advice, not protocol.
>
> Would "recommend" be enough for this section?
>
>
> > Feel free to wordsmith further.
> >
> > Tom.
> >
> >
> > On 4/26/2017 12:18 PM, Chuck Lever wrote:
> >>
> >>> On Apr 24, 2017, at 7:30 AM, Chuck Lever <chuck.lever@oracle.com>
> wrote:
> >>>
> >>>>
> >>>> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
> >>>>
> >>>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
> >>>>> I agree that SHOULD/MAY makes things cloudier, and does not
> >>>>> seem to align with well-defined RFC2119 usage.
> >>>>>
> >>>>> Another way we've dealt with similar disagreements between
> >>>>> specification and implementation is to decide that one of
> >>>>> the implementations is incorrect.
> >>>>>
> >>>>> Can we agree that:
> >>>>>
> >>>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
> >>>>> understandable why it might be returned
> >>>>>
> >>>>> - RPC clients are already prepared for GARBAGE_ARGS
> >>>>
> >>>> Are you certain of this?
> >>>
> >>> GARBAGE_ARGS has been part of the RPC protocol for decades.
> >>> The two Unix-flavored clients that have NFS/RDMA support can
> >>> both handle this error.
> >>
> >> I've confirmed that the only other known NFS/RDMA client
> >> (Oracle dNFS) properly recognizes GARBAGE_ARGS.
> >>
> >>
> >>>> And out of curiosity, what is returned
> >>>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
> >>>
> >>> RFC 5531:
> >>>> GARBAGE_ARGS  =3D 4, /* procedure can=E2=80=99t decode params   */
> >>>
> >>>
> >>> GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
> >>> with accept_stat GARBAGE_ARGS. An XID is available in the
> >>> header.
> >>>
> >>> rfc5666bis:
> >>>> If the rdma_vers field contains a recognized value, but an
> >>>> XDR parsing error occurs, the responder MUST reply with an
> >>>> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
> >>>
> >>>
> >>> ERR_CHUNK is a transport level error. An XID is available
> >>> in the header.
> >>>
> >>> The difference is that the RPC layer v. the transport layer
> >>> are reporting they don't understand the contents of the
> >>> message (Call). There is nothing more in either type of
> >>> message.
> >>>
> >>>
> >>>>> - In RPC-over-RDMA Version One, we are not trying to recover
> >>>>> (in the sense of resending a simpler COMPOUND) but are rather
> >>>>> trying to ensure the offending RPC is properly terminated on
> >>>>> the client, and does not further block other RPCs or deadlock
> >>>>> the transport
> >>>>>
> >>>>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
> >>>>> instead of ERR_CHUNK.
> >>>>
> >>>> "Harmless" is a bit relative. The operation fails, through no fault
> >>>> of the consumer. And, frankly, in a very mysterious way.
> >>>
> >>> We have no richer way of communicating failure in RPC-over-RDMA
> >>> Version One. We are not looking for recovery here, so I don't
> >>> believe any more information would be useful. If the server
> >>> wishes, it can log the failure with a message explaining what
> >>> went wrong.
> >>>
> >>>
> >>>> Again, I think there is more to say here. It's a limitation of the
> >>>> protocol whose implications should be made clear (contraining the
> >>>> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
> >>>
> >>> I'd welcome any suggested text.
> >>>
> >>> Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
> >>> RPC-over-RDMA have a sophisticated mechanism to communicate this
> >>> kind of limitation. The best an NFSv4 server can do is return
> >>> NFS4ERR_RESOURCE, which also carries little extra information
> >>> about what a client should do to recover.
> >>>
> >>> So are you comfortable with eliminating GARBAGE_ARGS if we can
> >>> come up with more detail about the impact of not knowing how
> >>> complex a COMPOUND can be?
> >>
> >> I've come up with some possible replacement text for
> >> the final two paragraphs of S5.4.1 in an attempt to
> >> address comments from Tom, David, and Karen. The
> >> normative requirements have been removed, and a (brief)
> >> discussion of the consequences of not handling complex
> >> COMPOUNDs was introduced.
> >>
> >>
> >> 5.4.2.  Complexity Considerations
> >>
> >>   As mentioned above, an NFS version 4 COMPOUND procedure can contain
> >>   more than one operation that carries a DDP-eligible data item.  The
> >>   RPC-over-RDMA Version One protocol does not place any limit on the
> >>   number of chunks that may appear in the Read or Write lists.
> >>   Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
> >>   Version One message containing more than one Read chunk or Write
> >>   chunk.
> >>
> >>   However, implementations have practical limits on the number of
> >>   chunks or segments they are prepared to process in one of these
> >>   lists.  There are several ways an NFS Version 4 server might indicat=
e
> >>   that an RPC Call message constructed by a client is valid but cannot
> >>   be processed because of implementation limitations:
> >>
> >>   o  If the problem is detected in the upper layer (i.e., by the NFS
> >>      version 4 implementation), the server returns an NFS status of
> >>      NFS4ERR_RESOURCE.
> >>
> >>   o  If the problem is detected during XDR decoding of the request
> >>      (e.g., during re-assembly of the Call message by the RPC layer),
> >>      the server returns an RPC accept_stat of GARBAGE_ARGS.
> >>
> >>   o  If the problem is detected at the transport layer (i.e., during
> >>      transport header processing), the server returns an RDMA_ERROR
> >>      message with the err_code field set to ERR_CHUNK.
> >>
> >>   Such implementation limits can constrain the complexity of NFS
> >>   version 4 COMPOUNDs, limit the number of elements in scatter-gather
> >>   operations, or prevent the use of Kerberos integrity or privacy
> >>   services.
> >>
> >>
> >> Comments, opinions on this approach?
> >>
> >>
> >>>> Tom.
> >>>>
> >>>>
> >>>>>
> >>>>> As a result, I can change the Read list text in S5.4.1 to be
> >>>>> the same as the Write list text, removing the mention of
> >>>>> GARBAGE_ARGS.
> >>>>>
> >>>>> Would that sit comfortably with everyone?
> >>>>>
> >>>>>
> >>>>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com>
> wrote:
> >>>>>>
> >>>>>>> The "or" is a similar situation, it prescribes a choice, which
> >>>>>>> does not define a protocol.
> >>>>>>
> >>>>>> Fair enough, but the point that needs to be made is that, with
> >>>>>> regard to Version One, Chuck and  the working group is not
> >>>>>> free to define a protocol.  As a result we have the kind of
> >>>>>> ugliness you object to, but it is inherent in the choice to try to
> >>>>>> revive Version One as-is.
> >>>>>>
> >>>>>>> If an NFS version 4 client sends an RPC Call with a Read list tha=
t
> >>>>>>> contains more chunks than an NFS version 4 server is prepared to
> >>>>>>> process, the server SHOULD reject the request by responding with =
an
> >>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
> >>>>>>> server MAY reject the RPC with an RDMA_MSG message containing an
> RPC
> >>>>>>> Reply with an accept status of GARBAGE_ARGS.
> >>>>>>
> >>>>>> I think I know what you intend here and I've seen stuff like this
> in RFCs but I don't
> >>>>>> wthink e can do this because this is not in line with the
> definitions of "SHOULD"
> >>>>>> and "MAY" that appear in RFC2119.
> >>>>>>
> >>>>>> "SHOULD" means that you are supposed to do something but can avoid
> it if
> >>>>>> you have a good reason and are aware of the consequences of not
> doing it.
> >>>>>> In this case the "good" reason is that someone coded the
> implementation
> >>>>>> to do something else, which is not all that good a reason.  The
> consequences of
> >>>>>> returning the GARBAGEARGS are exactly zero, since the client has t=
o
> be prepared
> >>>>>> for either it or ERR_CHUNK.
> >>>>>>
> >>>>>> "MAY" means the implementation can choose to do the action or not,
> which is line
> >>>>>> with the reality here but essentially contradicts the SHOULD.
> >>>>>>
> >>>>>>> This at least makes it clear which response is "preferred".
> >>>>>>
> >>>>>> But it is isn't really the job of the RFC2119 terms to say which i=
s
> "preferred" or
> >>>>>> "'preferred'".  These terms are supposed to describe
> interoperability and the
> >>>>>> interoperability situation is that the server MUST return ERR_CHUN=
K
> or
> >>>>>> GARBAGEARGS and the client needs to be prepared for either.  That
> is the
> >>>>>> unpleasant reality.  If you want to indicate a preference, you can
> say something
> >>>>>> like:
> >>>>>>  =E2=80=A2 Returning ERR_CHUNK is preferrable.
> >>>>>>  =E2=80=A2 Returinng ERR_CHUNK is more in line with the appropriat=
e
> protocol layering since this issue relates to a limitation of the transpo=
rt
> implementation.
> >>>>>>  =E2=80=A2 Use of GARBAGEARGS is an unfortunate artifact of inappr=
opriately
> layered implementations and is only allowed for reasons of compatibility
> with existing implementations.  It is desirable to avoid it.
> >>>>>>> And one would hope a future draft would decide.
> >>>>>>
> >>>>>> Not sure what draft you are thinking of.  I don't see us doing an
> rfc5667bisbis (rfc5667tris).
> >>>>>>
> >>>>>> By the time we did that, the implementations with these
> restrictions will probably be gone.
> >>>>>>
> >>>>>>> I have a second question though. How does the client determine
> what is
> >>>>>>> the actual error? As in, how many chunks were allowed?
> >>>>>>
> >>>>>> This is not fixable in Version One.  It would be in Version Two,
> but by then
> >>>>>> the need will probably be gone.
> >>>>>>
> >>>>>>> Does the upper
> >>>>>>> layer have to recover, and if so what are the implications?
> >>>>>>
> >>>>>> I think something could be put in to indicate that clients should
> break up COMPOUNDS
> >>>>>> so the only have a single chunk each.
> >>>>>>
> >>>>>>> Yes, I know 5667 did not explore this very well.
> >>>>>>
> >>>>>> It didn't explore it at all.  And 5666's error reporting facilitie=
s
> were extremely limited.
> >>>>>>
> >>>>>>> Mea culpa.
> >>>>>>
> >>>>>> I don'tt think you have anything to apologize for.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> wrote=
:
> >>>>>>
> >>>>>>
> >>>>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
> >>>>>> Hi Tom-
> >>>>>>
> >>>>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
> >>>>>>
> >>>>>> I noticed the same thing, and I'll add that the MUST reject
> condition
> >>>>>> is very confusing because it allows an "or". In my opinion a MUST =
is
> >>>>>> always a single requirement, never ambiguous.
> >>>>>>
> >>>>>> I agree this kind of thing is tricky. I wrote it as "the server MU=
ST
> >>>>>> reject the RPC". That's the single requirement. The choice is how
> the
> >>>>>> rejection is conveyed to the client.
> >>>>>>
> >>>>>> The statement "MUST reject" is not testable. So, while it may be
> >>>>>> understood what is intended, there is nothing implementable in the
> >>>>>> MUST. The "or" is a similar situation, it prescribes a choice, whi=
ch
> >>>>>> does not define a protocol.
> >>>>>>
> >>>>>> Is there some reason you want to allow such a choice? I think you'=
ll
> >>>>>> find that, worded properly, it becomes actually much less
> implementable
> >>>>>> and interoperable than you may think.
> >>>>>>
> >>>>>> The Solaris server can return an RPC-level error in cases like thi=
s.
> >>>>>>
> >>>>>> Well, this is happening because the Solaris server is (probably)
> just
> >>>>>> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
> >>>>>> processing that detects any problem.
> >>>>>>
> >>>>>> On the other hand, an implementation could do the opposite, it cou=
ld
> >>>>>> process the chunks at the lower layer, before ever invoking RPC
> >>>>>> processing. This would naturally lead to a non-RPC error.
> >>>>>>
> >>>>>> The challenge in defining the protocol is to hide these
> possibilities.
> >>>>>>
> >>>>>> I think there are similar choices allowed in rfc5666bis. Let's say
> >>>>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
> >>>>>> documenting existing implementation behavior here.
> >>>>>>
> >>>>>> I'm not sure it matters to the client: both errors are permanent a=
nd
> >>>>>> the RPC is terminated on the client.
> >>>>>>
> >>>>>> I'm open to alternatives.
> >>>>>>
> >>>>>> The icky way to do this is to split into two weak requirements.
> >>>>>>
> >>>>>> 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 SHOULD reject the request by responding with a=
n
> >>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
> >>>>>> server MAY reject the RPC with an RDMA_MSG message containing an R=
PC
> >>>>>> Reply with an accept status of GARBAGE_ARGS.
> >>>>>>
> >>>>>> This at least makes it clear which response is "preferred". And on=
e
> >>>>>> would hope a future draft would decide.
> >>>>>>
> >>>>>> I have a second question though. How does the client determine wha=
t
> is
> >>>>>> the actual error? As in, how many chunks were allowed? Does the
> upper
> >>>>>> layer have to recover, and if so what are the implications?
> >>>>>>
> >>>>>> Yes, I know 5667 did not explore this very well. Mea culpa.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> Tom.
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> On 4/18/2017 6:32 PM, karen deitke wrote:
> >>>>>> Hi Chuck, its unclear what you mean by "is prepared to process" in
> the text below.
> >>>>>> Other than that, looks good.
> >>>>>>
> >>>>>> Karen
> >>>>>>
> >>>>>> 5.4.1
> >>>>>> If an NFS version 4 client sends an RPC Call with a Write list tha=
t
> >>>>>> 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 valu=
e
> >>>>>> 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 technic=
al
> >>>>>> 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*
> >>>>>> Giventhat 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 situatio=
ns
> >>>>>> 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 RE=
AD
> >>>>>> operation which failed, the server would have more chunks (i.e. on=
e)
> >>>>>> 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_CHUN=
K.
> >>>>>>
> >>>>>> With regard to the last paragraph, I am curious that this paragrap=
h,
> >>>>>> unlike the previous one, allows GARBGEARGS. Is this so because tha=
t
> >>>>>> 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_CHUN=
K.
> >>>>>>
> >>>>>> *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
> >>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> 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
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> 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
> >>>>>
> >>>>
> >>>> _______________________________________________
> >>>> 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
> >>
> >> --
> >> Chuck Lever
> >>
> >>
> >>
> >> _______________________________________________
> >> 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
>

--94eb2c05f26cd9656d054e282d97
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-size:12.8px">&gt; Would &quot;recommen=
d&quot; be enough for this section?</span><br><div><span style=3D"font-size=
:12.8px"><br></span></div><div><span style=3D"font-size:12.8px">I agree tha=
t what we want here is implementation advice but I would prefer=C2=A0</span=
></div><div><span style=3D"font-size:12.8px">something stronger than=C2=A0<=
/span><span style=3D"font-size:12.8px">&quot;recommend&quot;. =C2=A0</span>=
<span style=3D"font-size:12.8px">Note that I don&#39;t consider the=C2=A0</=
span></div><div><span style=3D"font-size:12.8px">normative &quot;SHOULD&quo=
t; strong enough,=C2=A0</span><span style=3D"font-size:12.8px">particularly=
 in the context &quot;SHOULD=C2=A0</span></div><div><span style=3D"font-siz=
e:12.8px">be prepared to provide&quot;.</span></div><div><span style=3D"fon=
t-size:12.8px"><br></span></div><div><span style=3D"font-size:12.8px">How a=
bout:</span></div><div><span style=3D"font-size:12.8px"><br></span></div><b=
lockquote style=3D"margin:0px 0px 0px 40px;border:none;padding:0px"><div><f=
ont color=3D"#000000"><span style=3D"font-size:12.8px">Given that there are=
 existing servers with quite restrictive limits, there wil</span><span styl=
e=3D"font-size:12.8px">l</span></font></div></blockquote><blockquote style=
=3D"margin:0px 0px 0px 40px;border:none;padding:0px"><font color=3D"#000000=
"><span style=3D"font-size:12.8px">be situations</span><span style=3D"font-=
size:12.8px">=C2=A0in which such limits will be exceeded, making it necessa=
ry=C2=A0</span></font></blockquote><blockquote style=3D"margin:0px 0px 0px =
40px;border:none;padding:0px"><div><span style=3D"font-size:12.8px"><font c=
olor=3D"#000000">for clients to provide reporting mechanisms that will brin=
g these situations=C2=A0</font></span></div><div><font color=3D"#000000"><s=
pan style=3D"font-size:12.8px">to the attention=C2=A0</span><span style=3D"=
font-size:12.8px">of those in a position to prevent further occurrences.=C2=
=A0 One=C2=A0</span></font></div><div><font color=3D"#000000"><span style=
=3D"font-size:12.8px">important way=C2=A0</span><span style=3D"font-size:12=
.8px">of allowing effective adaptation to such client limitations=C2=A0</sp=
an></font></div><div><font color=3D"#000000"><span style=3D"font-size:12.8p=
x">would be to provide=C2=A0</span><span style=3D"font-size:12.8px">configu=
ration options to </span><span style=3D"font-size:12.8px">limit the complex=
ity of NFS=C2=A0</span></font></div><div><font color=3D"#000000"><span styl=
e=3D"font-size:12.8px">version 4 COMPOUNDs, =C2=A0</span><span style=3D"fon=
t-size:12.8px">limit the number=C2=A0</span><span style=3D"font-size:12.8px=
">of elements in scatter-gather=C2=A0</span></font></div><div><font color=
=3D"#000000"><span style=3D"font-size:12.8px">operations, and to avoid othe=
r =C2=A0</span><span style=3D"font-size:12.8px">possible=C2=A0</span><span =
style=3D"font-size:12.8px">sources of RPC-over-RDMA chunk=C2=A0</span></fon=
t></div><div><span style=3D"font-size:12.8px"><font color=3D"#000000">overr=
uns at the peer.</font></span></div></blockquote><blockquote style=3D"margi=
n:0px 0px 0px 40px;border:none;padding:0px"><div><br></div></blockquote><di=
v><span style=3D"font-size:12.8px">=C2=A0 =C2=A0 =C2=A0 =C2=A0</span></div>=
<div><span style=3D"font-size:12.8px"><br></span></div></div><div class=3D"=
gmail_extra"><br><div class=3D"gmail_quote">On Thu, Apr 27, 2017 at 11:44 A=
M, Chuck Lever <span dir=3D"ltr">&lt;<a href=3D"mailto:chuck.lever@oracle.c=
om" target=3D"_blank">chuck.lever@oracle.com</a>&gt;</span> wrote:<br><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex"><span class=3D""><br>
&gt; On Apr 27, 2017, at 7:20 AM, Tom Talpey &lt;<a href=3D"mailto:tom@talp=
ey.com">tom@talpey.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;snip:<br>
&gt; &gt;=C2=A0 =C2=A0 Such implementation limits can constrain the complex=
ity of NFS<br>
&gt; &gt;=C2=A0 =C2=A0 version 4 COMPOUNDs, limit the number of elements in=
 scatter-gather<br>
&gt; &gt;=C2=A0 =C2=A0 operations, or prevent the use of Kerberos integrity=
 or privacy<br>
&gt; &gt;=C2=A0 =C2=A0 services.<br>
&gt;<br>
&gt; I like the approach, and the lead-in language looks good. The text<br>
&gt; quoted above is just a little bit dark, especially that bit about<br>
&gt; preventing krb5i/krb5p. I&#39;d suggest a more active statement to rep=
lace<br>
&gt; the above, including the more prescriptive SHOULD rather than &quot;ca=
n&quot;.<br>
&gt; How about:<br>
&gt;<br>
&gt; &quot;Client implementations SHOULD be prepared to provide mechanisms =
for<br>
&gt;=C2=A0 reporting the above errors, and optionally provide configuration=
 to<br>
&gt;=C2=A0 limit the complexity of NFS version 4 COMPOUNDs, limit the numbe=
r<br>
&gt;=C2=A0 of elements in scatter-gather operations, and to avoid other pos=
sible<br>
&gt;=C2=A0 sources of RPC-over-RDMA chunk overruns at the peer.<br>
&gt;<br>
&gt;=C2=A0 These become especially important when Kerberos integrity or pri=
vacy<br>
&gt;=C2=A0 is in place for the RPC connection. These facilities add payload=
 to<br>
&gt;=C2=A0 the RPC headers, potentially increasing the complexity of the ch=
unk<br>
&gt;=C2=A0 manipulation, independent of the upper layer NFS operation. The<=
br>
&gt;=C2=A0 implementation SHOULD consider such RPC payload requirements in<=
br>
&gt;=C2=A0 addition to the NFS considerations.&quot;<br>
<br>
</span>Sure, I can work this in.<br>
<br>
When you say &quot;Client implementations SHOULD ... [report] the above<br>
errors&quot; you are talking about reporting them to administrators<br>
and/or RPC consumers? I don&#39;t think we can use SHOULD in that case.<br>
This feels like implementation advice, not protocol.<br>
<br>
Would &quot;recommend&quot; be enough for this section?<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
&gt; Feel free to wordsmith further.<br>
&gt;<br>
&gt; Tom.<br>
&gt;<br>
&gt;<br>
&gt; On 4/26/2017 12:18 PM, Chuck Lever wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; On Apr 24, 2017, at 7:30 AM, Chuck Lever &lt;<a href=3D"mailto=
:chuck.lever@oracle.com">chuck.lever@oracle.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Apr 24, 2017, at 7:56 AM, Tom Talpey &lt;<a href=3D"mai=
lto:tom@talpey.com">tom@talpey.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On 4/21/2017 10:43 AM, Chuck Lever wrote:<br>
&gt;&gt;&gt;&gt;&gt; I agree that SHOULD/MAY makes things cloudier, and doe=
s not<br>
&gt;&gt;&gt;&gt;&gt; seem to align with well-defined RFC2119 usage.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Another way we&#39;ve dealt with similar disagreements=
 between<br>
&gt;&gt;&gt;&gt;&gt; specification and implementation is to decide that one=
 of<br>
&gt;&gt;&gt;&gt;&gt; the implementations is incorrect.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Can we agree that:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; - GARBAGE_ARGS is a bit of a layering violation, thoug=
h it&#39;s<br>
&gt;&gt;&gt;&gt;&gt; understandable why it might be returned<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; - RPC clients are already prepared for GARBAGE_ARGS<br=
>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Are you certain of this?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; GARBAGE_ARGS has been part of the RPC protocol for decades.<br=
>
&gt;&gt;&gt; The two Unix-flavored clients that have NFS/RDMA support can<b=
r>
&gt;&gt;&gt; both handle this error.<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve confirmed that the only other known NFS/RDMA client<br>
&gt;&gt; (Oracle dNFS) properly recognizes GARBAGE_ARGS.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt;&gt; And out of curiosity, what is returned<br>
&gt;&gt;&gt;&gt; to the consumer for GARBAGE_ARGS versus ERR_CHUNK?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; RFC 5531:<br>
&gt;&gt;&gt;&gt; GARBAGE_ARGS=C2=A0 =3D 4, /* procedure can=E2=80=99t decod=
e params=C2=A0 =C2=A0*/<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; GARBAGE_ARGS is an RPC-level error. The reply is &quot;accepte=
d&quot;<br>
&gt;&gt;&gt; with accept_stat GARBAGE_ARGS. An XID is available in the<br>
&gt;&gt;&gt; header.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; rfc5666bis:<br>
&gt;&gt;&gt;&gt; If the rdma_vers field contains a recognized value, but an=
<br>
&gt;&gt;&gt;&gt; XDR parsing error occurs, the responder MUST reply with an=
<br>
&gt;&gt;&gt;&gt; RDMA_ERROR procedure and set the rdma_err value to ERR_CHU=
NK.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ERR_CHUNK is a transport level error. An XID is available<br>
&gt;&gt;&gt; in the header.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The difference is that the RPC layer v. the transport layer<br=
>
&gt;&gt;&gt; are reporting they don&#39;t understand the contents of the<br=
>
&gt;&gt;&gt; message (Call). There is nothing more in either type of<br>
&gt;&gt;&gt; message.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; - In RPC-over-RDMA Version One, we are not trying to r=
ecover<br>
&gt;&gt;&gt;&gt;&gt; (in the sense of resending a simpler COMPOUND) but are=
 rather<br>
&gt;&gt;&gt;&gt;&gt; trying to ensure the offending RPC is properly termina=
ted on<br>
&gt;&gt;&gt;&gt;&gt; the client, and does not further block other RPCs or d=
eadlock<br>
&gt;&gt;&gt;&gt;&gt; the transport<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Thus I claim it is harmless if a server returns GARBAG=
E_ARGS<br>
&gt;&gt;&gt;&gt;&gt; instead of ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &quot;Harmless&quot; is a bit relative. The operation fail=
s, through no fault<br>
&gt;&gt;&gt;&gt; of the consumer. And, frankly, in a very mysterious way.<b=
r>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; We have no richer way of communicating failure in RPC-over-RDM=
A<br>
&gt;&gt;&gt; Version One. We are not looking for recovery here, so I don&#3=
9;t<br>
&gt;&gt;&gt; believe any more information would be useful. If the server<br=
>
&gt;&gt;&gt; wishes, it can log the failure with a message explaining what<=
br>
&gt;&gt;&gt; went wrong.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Again, I think there is more to say here. It&#39;s a limit=
ation of the<br>
&gt;&gt;&gt;&gt; protocol whose implications should be made clear (contrain=
ing the<br>
&gt;&gt;&gt;&gt; complexity of COMPOUNDs, limiting scatter/gather lengths, =
etc).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;d welcome any suggested text.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Honestly, I&#39;m not sure what can be said. Neither NFSv4.0 n=
or<br>
&gt;&gt;&gt; RPC-over-RDMA have a sophisticated mechanism to communicate th=
is<br>
&gt;&gt;&gt; kind of limitation. The best an NFSv4 server can do is return<=
br>
&gt;&gt;&gt; NFS4ERR_RESOURCE, which also carries little extra information<=
br>
&gt;&gt;&gt; about what a client should do to recover.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; So are you comfortable with eliminating GARBAGE_ARGS if we can=
<br>
&gt;&gt;&gt; come up with more detail about the impact of not knowing how<b=
r>
&gt;&gt;&gt; complex a COMPOUND can be?<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve come up with some possible replacement text for<br>
&gt;&gt; the final two paragraphs of S5.4.1 in an attempt to<br>
&gt;&gt; address comments from Tom, David, and Karen. The<br>
&gt;&gt; normative requirements have been removed, and a (brief)<br>
&gt;&gt; discussion of the consequences of not handling complex<br>
&gt;&gt; COMPOUNDs was introduced.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 5.4.2.=C2=A0 Complexity Considerations<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0As mentioned above, an NFS version 4 COMPOUND procedur=
e can contain<br>
&gt;&gt;=C2=A0 =C2=A0more than one operation that carries a DDP-eligible da=
ta item.=C2=A0 The<br>
&gt;&gt;=C2=A0 =C2=A0RPC-over-RDMA Version One protocol does not place any =
limit on the<br>
&gt;&gt;=C2=A0 =C2=A0number of chunks that may appear in the Read or Write =
lists.<br>
&gt;&gt;=C2=A0 =C2=A0Therefore an NFS version 4 client MAY construct an RPC=
-over-RDMA<br>
&gt;&gt;=C2=A0 =C2=A0Version One message containing more than one Read chun=
k or Write<br>
&gt;&gt;=C2=A0 =C2=A0chunk.<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0However, implementations have practical limits on the =
number of<br>
&gt;&gt;=C2=A0 =C2=A0chunks or segments they are prepared to process in one=
 of these<br>
&gt;&gt;=C2=A0 =C2=A0lists.=C2=A0 There are several ways an NFS Version 4 s=
erver might indicate<br>
&gt;&gt;=C2=A0 =C2=A0that an RPC Call message constructed by a client is va=
lid but cannot<br>
&gt;&gt;=C2=A0 =C2=A0be processed because of implementation limitations:<br=
>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0o=C2=A0 If the problem is detected in the upper layer =
(i.e., by the NFS<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 version 4 implementation), the server returns =
an NFS status of<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 NFS4ERR_RESOURCE.<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0o=C2=A0 If the problem is detected during XDR decoding=
 of the request<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 (e.g., during re-assembly of the Call message =
by the RPC layer),<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 the server returns an RPC accept_stat of GARBA=
GE_ARGS.<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0o=C2=A0 If the problem is detected at the transport la=
yer (i.e., during<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 transport header processing), the server retur=
ns an RDMA_ERROR<br>
&gt;&gt;=C2=A0 =C2=A0 =C2=A0 message with the err_code field set to ERR_CHU=
NK.<br>
&gt;&gt;<br>
&gt;&gt;=C2=A0 =C2=A0Such implementation limits can constrain the complexit=
y of NFS<br>
&gt;&gt;=C2=A0 =C2=A0version 4 COMPOUNDs, limit the number of elements in s=
catter-gather<br>
&gt;&gt;=C2=A0 =C2=A0operations, or prevent the use of Kerberos integrity o=
r privacy<br>
&gt;&gt;=C2=A0 =C2=A0services.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Comments, opinions on this approach?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt;&gt; Tom.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; As a result, I can change the Read list text in S5.4.1=
 to be<br>
&gt;&gt;&gt;&gt;&gt; the same as the Write list text, removing the mention =
of<br>
&gt;&gt;&gt;&gt;&gt; GARBAGE_ARGS.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Would that sit comfortably with everyone?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Apr 20, 2017, at 7:21 PM, David Noveck &lt;<a h=
ref=3D"mailto:davenoveck@gmail.com">davenoveck@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; The &quot;or&quot; is a similar situation, it =
prescribes a choice, which<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; does not define a protocol.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Fair enough, but the point that needs to be made i=
s that, with<br>
&gt;&gt;&gt;&gt;&gt;&gt; regard to Version One, Chuck and=C2=A0 the working=
 group is not<br>
&gt;&gt;&gt;&gt;&gt;&gt; free to define a protocol.=C2=A0 As a result we ha=
ve the kind of<br>
&gt;&gt;&gt;&gt;&gt;&gt; ugliness you object to, but it is inherent in the =
choice to try to<br>
&gt;&gt;&gt;&gt;&gt;&gt; revive Version One as-is.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; If an NFS version 4 client sends an RPC Call w=
ith a Read list that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; contains more chunks than an NFS version 4 ser=
ver is prepared to<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; process, the server SHOULD reject the request =
by responding with an<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; RDMA_ERROR message with the rdma_err value set=
 to ERR_CHUNK. The<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; server MAY reject the RPC with an RDMA_MSG mes=
sage containing an RPC<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Reply with an accept status of GARBAGE_ARGS.<b=
r>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I think I know what you intend here and I&#39;ve s=
een stuff like this in RFCs but I don&#39;t<br>
&gt;&gt;&gt;&gt;&gt;&gt; wthink e can do this because this is not in line w=
ith the definitions of &quot;SHOULD&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt; and &quot;MAY&quot; that appear in RFC2119.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; &quot;SHOULD&quot; means that you are supposed to =
do something but can avoid it if<br>
&gt;&gt;&gt;&gt;&gt;&gt; you have a good reason and are aware of the conseq=
uences of not doing it.<br>
&gt;&gt;&gt;&gt;&gt;&gt; In this case the &quot;good&quot; reason is that s=
omeone coded the implementation<br>
&gt;&gt;&gt;&gt;&gt;&gt; to do something else, which is not all that good a=
 reason.=C2=A0 The consequences of<br>
&gt;&gt;&gt;&gt;&gt;&gt; returning the GARBAGEARGS are exactly zero, since =
the client has to be prepared<br>
&gt;&gt;&gt;&gt;&gt;&gt; for either it or ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; &quot;MAY&quot; means the implementation can choos=
e to do the action or not, which is line<br>
&gt;&gt;&gt;&gt;&gt;&gt; with the reality here but essentially contradicts =
the SHOULD.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; This at least makes it clear which response is=
 &quot;preferred&quot;.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; But it is isn&#39;t really the job of the RFC2119 =
terms to say which is &quot;preferred&quot; or<br>
&gt;&gt;&gt;&gt;&gt;&gt; &quot;&#39;preferred&#39;&quot;.=C2=A0 These terms=
 are supposed to describe interoperability and the<br>
&gt;&gt;&gt;&gt;&gt;&gt; interoperability situation is that the server MUST=
 return ERR_CHUNK or<br>
&gt;&gt;&gt;&gt;&gt;&gt; GARBAGEARGS and the client needs to be prepared fo=
r either.=C2=A0 That is the<br>
&gt;&gt;&gt;&gt;&gt;&gt; unpleasant reality.=C2=A0 If you want to indicate =
a preference, you can say something<br>
&gt;&gt;&gt;&gt;&gt;&gt; like:<br>
&gt;&gt;&gt;&gt;&gt;&gt;=C2=A0 =E2=80=A2 Returning ERR_CHUNK is preferrable=
.<br>
&gt;&gt;&gt;&gt;&gt;&gt;=C2=A0 =E2=80=A2 Returinng ERR_CHUNK is more in lin=
e with the appropriate protocol layering since this issue relates to a limi=
tation of the transport implementation.<br>
&gt;&gt;&gt;&gt;&gt;&gt;=C2=A0 =E2=80=A2 Use of GARBAGEARGS is an unfortuna=
te artifact of inappropriately layered implementations and is only allowed =
for reasons of compatibility with existing implementations.=C2=A0 It is des=
irable to avoid it.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; And one would hope a future draft would decide=
.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Not sure what draft you are thinking of.=C2=A0 I d=
on&#39;t see us doing an rfc5667bisbis (rfc5667tris).<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; By the time we did that, the implementations with =
these restrictions will probably be gone.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I have a second question though. How does the =
client determine what is<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the actual error? As in, how many chunks were =
allowed?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; This is not fixable in Version One.=C2=A0 It would=
 be in Version Two, but by then<br>
&gt;&gt;&gt;&gt;&gt;&gt; the need will probably be gone.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Does the upper<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; layer have to recover, and if so what are the =
implications?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I think something could be put in to indicate that=
 clients should break up COMPOUNDS<br>
&gt;&gt;&gt;&gt;&gt;&gt; so the only have a single chunk each.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Yes, I know 5667 did not explore this very wel=
l.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; It didn&#39;t explore it at all.=C2=A0 And 5666&#3=
9;s error reporting facilities were extremely limited.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Mea culpa.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I don&#39;tt think you have anything to apologize =
for.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey &lt;<a=
 href=3D"mailto:tom@talpey.com">tom@talpey.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On 4/19/2017 11:14 AM, Chuck Lever wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hi Tom-<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Apr 18, 2017, at 11:08 PM, Tom Talpey &lt;<a hr=
ef=3D"mailto:tom@talpey.com">tom@talpey.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I noticed the same thing, and I&#39;ll add that th=
e MUST reject condition<br>
&gt;&gt;&gt;&gt;&gt;&gt; is very confusing because it allows an &quot;or&qu=
ot;. In my opinion a MUST is<br>
&gt;&gt;&gt;&gt;&gt;&gt; always a single requirement, never ambiguous.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I agree this kind of thing is tricky. I wrote it a=
s &quot;the server MUST<br>
&gt;&gt;&gt;&gt;&gt;&gt; reject the RPC&quot;. That&#39;s the single requir=
ement. The choice is how the<br>
&gt;&gt;&gt;&gt;&gt;&gt; rejection is conveyed to the client.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; The statement &quot;MUST reject&quot; is not testa=
ble. So, while it may be<br>
&gt;&gt;&gt;&gt;&gt;&gt; understood what is intended, there is nothing impl=
ementable in the<br>
&gt;&gt;&gt;&gt;&gt;&gt; MUST. The &quot;or&quot; is a similar situation, i=
t prescribes a choice, which<br>
&gt;&gt;&gt;&gt;&gt;&gt; does not define a protocol.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Is there some reason you want to allow such a choi=
ce? I think you&#39;ll<br>
&gt;&gt;&gt;&gt;&gt;&gt; find that, worded properly, it becomes actually mu=
ch less implementable<br>
&gt;&gt;&gt;&gt;&gt;&gt; and interoperable than you may think.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; The Solaris server can return an RPC-level error i=
n cases like this.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Well, this is happening because the Solaris server=
 is (probably) just<br>
&gt;&gt;&gt;&gt;&gt;&gt; handing the chunk list up to the RPC layer, and it=
&#39;s the RPC (XDR)<br>
&gt;&gt;&gt;&gt;&gt;&gt; processing that detects any problem.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On the other hand, an implementation could do the =
opposite, it could<br>
&gt;&gt;&gt;&gt;&gt;&gt; process the chunks at the lower layer, before ever=
 invoking RPC<br>
&gt;&gt;&gt;&gt;&gt;&gt; processing. This would naturally lead to a non-RPC=
 error.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; The challenge in defining the protocol is to hide =
these possibilities.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I think there are similar choices allowed in rfc56=
66bis. Let&#39;s say<br>
&gt;&gt;&gt;&gt;&gt;&gt; that in a perfect world, I would go with only ERR_=
CHUNK, but I&#39;m<br>
&gt;&gt;&gt;&gt;&gt;&gt; documenting existing implementation behavior here.=
<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I&#39;m not sure it matters to the client: both er=
rors are permanent and<br>
&gt;&gt;&gt;&gt;&gt;&gt; the RPC is terminated on the client.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I&#39;m open to alternatives.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; The icky way to do this is to split into two weak =
requirements.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; If an NFS version 4 client sends an RPC Call with =
a Read list that<br>
&gt;&gt;&gt;&gt;&gt;&gt; contains more chunks than an NFS version 4 server =
is prepared to<br>
&gt;&gt;&gt;&gt;&gt;&gt; process, the server SHOULD reject the request by r=
esponding with an<br>
&gt;&gt;&gt;&gt;&gt;&gt; RDMA_ERROR message with the rdma_err value set to =
ERR_CHUNK. The<br>
&gt;&gt;&gt;&gt;&gt;&gt; server MAY reject the RPC with an RDMA_MSG message=
 containing an RPC<br>
&gt;&gt;&gt;&gt;&gt;&gt; Reply with an accept status of GARBAGE_ARGS.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; This at least makes it clear which response is &qu=
ot;preferred&quot;. And one<br>
&gt;&gt;&gt;&gt;&gt;&gt; would hope a future draft would decide.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I have a second question though. How does the clie=
nt determine what is<br>
&gt;&gt;&gt;&gt;&gt;&gt; the actual error? As in, how many chunks were allo=
wed? Does the upper<br>
&gt;&gt;&gt;&gt;&gt;&gt; layer have to recover, and if so what are the impl=
ications?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Yes, I know 5667 did not explore this very well. M=
ea culpa.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Tom.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On 4/18/2017 6:32 PM, karen deitke wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; Hi Chuck, its unclear what you mean by &quot;is pr=
epared to process&quot; in the text below.<br>
&gt;&gt;&gt;&gt;&gt;&gt; Other than that, looks good.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Karen<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; 5.4.1<br>
&gt;&gt;&gt;&gt;&gt;&gt; If an NFS version 4 client sends an RPC Call with =
a Write list that<br>
&gt;&gt;&gt;&gt;&gt;&gt; contains more chunks than an NFS version 4 server =
is prepared to<br>
&gt;&gt;&gt;&gt;&gt;&gt; process, the server MUST reject the RPC by respond=
ing with an<br>
&gt;&gt;&gt;&gt;&gt;&gt; RDMA_ERROR message with the rdma_err value set to =
ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; If an NFS version 4 client sends an RPC Call with =
a Read list that<br>
&gt;&gt;&gt;&gt;&gt;&gt; contains more chunks than an NFS version 4 server =
is prepared to<br>
&gt;&gt;&gt;&gt;&gt;&gt; process, the server MUST reject the RPC by respond=
ing with an<br>
&gt;&gt;&gt;&gt;&gt;&gt; RDMA_MSG message containing an RPC Reply with an a=
ccept status of<br>
&gt;&gt;&gt;&gt;&gt;&gt; GARBAGE_ARGS, or with an RDMA_ERROR message with t=
he rdma_err value<br>
&gt;&gt;&gt;&gt;&gt;&gt; set to ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On 4/18/2017 1:21 PM, David Noveck wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt; *Overall Evaluation*<br>
&gt;&gt;&gt;&gt;&gt;&gt; *<br>
&gt;&gt;&gt;&gt;&gt;&gt; *<br>
&gt;&gt;&gt;&gt;&gt;&gt; Major improvement over RFC5667.=C2=A0 Almost ready=
 to ship.=C2=A0 No technical<br>
&gt;&gt;&gt;&gt;&gt;&gt; issues.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; A lot of my comments are basically editorial and a=
re offered on a<br>
&gt;&gt;&gt;&gt;&gt;&gt; take-it-or-lease-it basis.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I think some clarification in Section 5.4.1 is nee=
ded although not<br>
&gt;&gt;&gt;&gt;&gt;&gt; necessarily in the ways suggested below,<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; *Comments by Section*<br>
&gt;&gt;&gt;&gt;&gt;&gt; *5.4.1. Multiple DDP-eligible Data Items*<br>
&gt;&gt;&gt;&gt;&gt;&gt; Giventhat READ_PLUS no longer has any DDP-eligible=
 data items, the<br>
&gt;&gt;&gt;&gt;&gt;&gt; situation described in the fifth bullet can no lon=
ger arise. I suggest<br>
&gt;&gt;&gt;&gt;&gt;&gt; deleting the bullet.<br>
&gt;&gt;&gt;&gt;&gt;&gt; The penultimate paragraph can be read as applying =
to some situations<br>
&gt;&gt;&gt;&gt;&gt;&gt; in which it shouldn&#39;t and where the extra chun=
ks would very naturally<br>
&gt;&gt;&gt;&gt;&gt;&gt; ignored. For example, if you had on write chunk to=
gether with a READ<br>
&gt;&gt;&gt;&gt;&gt;&gt; operation which failed, the server would have more=
 chunks (i.e. one)<br>
&gt;&gt;&gt;&gt;&gt;&gt; than the number it is prepared to process (i.e. ze=
ro). Suggest, as a<br>
&gt;&gt;&gt;&gt;&gt;&gt; possible replacement:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Normally, when an NFS version 4 client sends an RP=
C Call with a<br>
&gt;&gt;&gt;&gt;&gt;&gt; Write list that contains multiple chunks. each suc=
h, when matched<br>
&gt;&gt;&gt;&gt;&gt;&gt; with a DDP-eligible data item in the response, dir=
ects the<br>
&gt;&gt;&gt;&gt;&gt;&gt; placement of the data item as specified by<br>
&gt;&gt;&gt;&gt;&gt;&gt; [I.D.-nfsv4-rfc5666bis]. When there are DDP-eligib=
le data items<br>
&gt;&gt;&gt;&gt;&gt;&gt; matched to write chunks that an NFS version 4 serv=
er is not<br>
&gt;&gt;&gt;&gt;&gt;&gt; prepared to process, the server MUST reject the RP=
C by responding<br>
&gt;&gt;&gt;&gt;&gt;&gt; with an RDMA_ERROR message with the rdma_err value=
 set to ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; With regard to the last paragraph, I am curious th=
at this paragraph,<br>
&gt;&gt;&gt;&gt;&gt;&gt; unlike the previous one, allows GARBGEARGS. Is thi=
s so because that<br>
&gt;&gt;&gt;&gt;&gt;&gt; would be allowed if the chunks in question had off=
sets other than<br>
&gt;&gt;&gt;&gt;&gt;&gt; those that correspond to DDP-eligible data items? =
If so, please<br>
&gt;&gt;&gt;&gt;&gt;&gt; consider the following possible replacement.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Normally, when an NFS version 4 client sends an RP=
C Call with a<br>
&gt;&gt;&gt;&gt;&gt;&gt; Read list that contains multiple chunks, each such=
, when properly<br>
&gt;&gt;&gt;&gt;&gt;&gt; matched with a DDP-eliigible data item in the requ=
est, directs the<br>
&gt;&gt;&gt;&gt;&gt;&gt; fetching of the the data item as specified by<br>
&gt;&gt;&gt;&gt;&gt;&gt; [I.D.-nfsv4-rfc5666bis]. When there are DDP-eligib=
le data items<br>
&gt;&gt;&gt;&gt;&gt;&gt; matched to read chunks that an NFS version 4 serve=
r is not<br>
&gt;&gt;&gt;&gt;&gt;&gt; prepared to process, the server MUST reject the RP=
C by responding<br>
&gt;&gt;&gt;&gt;&gt;&gt; with an RDMA_ERROR message with the rdma_err value=
 set to ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; *5.6. Session-Related Considerations*<br>
&gt;&gt;&gt;&gt;&gt;&gt; In the third sentence of the second paragraph, sug=
gest replacing &quot;no<br>
&gt;&gt;&gt;&gt;&gt;&gt; different&quot; by &quot;not different&quot;.<br>
&gt;&gt;&gt;&gt;&gt;&gt; In the last sentence of the last paragraph, sugges=
t replacing &quot;is not&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt; by &quot;were not&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_______________=
__<br>
&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</=
a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/n=
fsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wb=
r>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_______________=
__<br>
&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</=
a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/n=
fsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wb=
r>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_______________=
__<br>
&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</=
a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/n=
fsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wb=
r>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt;&gt; Chuck Lever<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_______________=
__<br>
&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</=
a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/n=
fsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wb=
r>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_______________=
__<br>
&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</=
a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/n=
fsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wb=
r>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_______________=
__<br>
&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</=
a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/n=
fsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wb=
r>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt; Chuck Lever<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_________________<b=
r>
&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><b=
r>
&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4=
" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>li=
stinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" re=
l=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listin=
fo/nfsv4</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Chuck Lever<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D=
"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/n=
fsv4</a><br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Chuck Lever<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; nfsv4 mailing list<br>
&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"nor=
eferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4=
</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; nfsv4 mailing list<br>
&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"norefer=
rer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4</a>=
<br>
<br>
--<br>
Chuck Lever<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4</a><br>
</div></div></blockquote></div><br></div>

--94eb2c05f26cd9656d054e282d97--


From nobody Thu Apr 27 09:12:05 2017
Return-Path: <tom@talpey.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 3E1AE12941D for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 09:12:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 Dqc34TOWLUl9 for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 09:12:02 -0700 (PDT)
Received: from p3plsmtpa12-04.prod.phx3.secureserver.net (p3plsmtpa12-04.prod.phx3.secureserver.net [68.178.252.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 67AEB1270A0 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 09:10:10 -0700 (PDT)
Received: from [192.168.0.56] ([24.218.182.144]) by :SMTPAUTH: with SMTP id 3lz8dO6X3P32L3lz9dSKsL; Thu, 27 Apr 2017 09:09:39 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <6f23e91a-2d66-cbd8-aea9-2753ddfb9b79@oracle.com> <9726D6E8-0A9E-46C9-9DCF-FB2FB492622D@oracle.com> <700f84d2-a514-bfa8-7f0b-5ffd4173c16d@talpey.com> <EBC491EB-860B-401C-B192-9A8E9F8176B0@oracle.com>
From: Tom Talpey <tom@talpey.com>
Message-ID: <bc79d597-a165-9702-7358-397d11e20783@talpey.com>
Date: Thu, 27 Apr 2017 12:09:38 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <EBC491EB-860B-401C-B192-9A8E9F8176B0@oracle.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfDyx4f1IpReFK79ce4N4JqqxRgN5o+A9tofoIpN1aXZQKhtpY6B8E16sAFzbOdZCaR45KpbD6LeiDEJQdDmR69l7dK7pjOjN9gVhFvSv01A9E8gtQS1c +kWUA3inyLvJLo4V5JokjGoEvB5BHfy2KnxuvUgdaH5YnDYtQyirq+LH
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/X_K4_WRuQb3qxw72gAewdNdu1bY>
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: Thu, 27 Apr 2017 16:12:04 -0000

On 4/27/2017 11:53 AM, Chuck Lever wrote:
>
>> On Apr 27, 2017, at 8:46 AM, Tom Talpey <tom@talpey.com> wrote:
>>
>> On 4/27/2017 11:35 AM, Chuck Lever wrote:
>>> We could do something clever like add these limits to the
>>> RDMA CM private data.
>>
>> Please, no. Placing a message in that data is in itself a protocol,
>> and the size and support for that data is implementation defined,
>> in the RDMA layer.
>
> So you would object strenuously to
>
> https://datatracker.ietf.org/doc/draft-cel-nfsv4-rpcrdma-cm-pvt-msg/

Experimentally, I'm fine with it. As a Standard, I'm not as thrilled,
but you are correct I have not previously commented on your draft.
I'll try to find time to do so.

Tom.


>
>
>> If such a parameter exchange is required (and remember it needs to
>> go both ways), just define it as a full-blown negotiation, at the
>> RPC-RDMA, or better, the NFS layer. There are already some RDMA
>> values exchanged in the NFSv4.1 Session establishment, which could
>> be extended.
>
>
> --
> Chuck Lever
>
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>
>


From nobody Thu Apr 27 09:16:52 2017
Return-Path: <tom@talpey.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 515651287A0 for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 09:16:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.419
X-Spam-Level: 
X-Spam-Status: No, score=-1.419 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 Z4cnh6OMoXZx for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 09:16:47 -0700 (PDT)
Received: from p3plsmtpa12-06.prod.phx3.secureserver.net (p3plsmtpa12-06.prod.phx3.secureserver.net [68.178.252.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 77FE0129438 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 09:15:26 -0700 (PDT)
Received: from [192.168.0.56] ([24.218.182.144]) by :SMTPAUTH: with SMTP id 3m4EdgcIBsf523m4Ed7DGk; Thu, 27 Apr 2017 09:14:55 -0700
To: nfsv4@ietf.org
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <6f23e91a-2d66-cbd8-aea9-2753ddfb9b79@oracle.com> <ff6228ae-9df2-46a4-2c1c-69c74483ff28@talpey.com> <a5234328-4e36-17c1-e1aa-fe32fc24c89a@oracle.com>
From: Tom Talpey <tom@talpey.com>
Message-ID: <f402d336-9d07-7894-c976-51be27c5f1c8@talpey.com>
Date: Thu, 27 Apr 2017 12:14:54 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <a5234328-4e36-17c1-e1aa-fe32fc24c89a@oracle.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-CMAE-Envelope: MS4wfO1T4JAksYb/DsIktHB+VG/J8e0Ayu77wMKYncgb6tKZopxAdiDJ4b+J8fHZaJbo8E5ROiM5SVn7JHjiBD5NlWFv8xOhOgmx6oWheiRSWO0/tva/N8QL CXFZd6vXMH7Lx3EIiY0WP+h6/6knKbfpspgHmWd+u7h0dZunt/rYyBfI
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/kzBiICLTw6ZGiqijT93wOED-YMA>
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: Thu, 27 Apr 2017 16:16:50 -0000

On 4/27/2017 12:01 PM, karen deitke wrote:
>
>
> On 4/27/2017 9:13 AM, Tom Talpey wrote:
>> On 4/27/2017 10:38 AM, karen deitke wrote:
>>>
>>>
>>> On 4/27/2017 8:20 AM, Tom Talpey wrote:
>>>> >snip:
>>>> >    Such implementation limits can constrain the complexity of NFS
>>>> >    version 4 COMPOUNDs, limit the number of elements in
>>>> scatter-gather
>>>> >    operations, or prevent the use of Kerberos integrity or privacy
>>>> >    services.
>>>>
>>>> I like the approach, and the lead-in language looks good. The text
>>>> quoted above is just a little bit dark, especially that bit about
>>>> preventing krb5i/krb5p. I'd suggest a more active statement to replace
>>>> the above, including the more prescriptive SHOULD rather than "can".
>>>> How about:
>>>>
>>>>  "Client implementations SHOULD be prepared to provide mechanisms for
>>>>   reporting the above errors, and optionally provide configuration to
>>>>   limit the complexity of NFS version 4 COMPOUNDs, limit the number
>>>>   of elements in scatter-gather operations, and to avoid other possible
>>>>   sources of RPC-over-RDMA chunk overruns at the peer.
>>>>
>>>>   These become especially important when Kerberos integrity or privacy
>>>>   is in place for the RPC connection. These facilities add payload to
>>>>   the RPC headers, potentially increasing the complexity of the chunk
>>>>   manipulation, independent of the upper layer NFS operation. The
>>>>   implementation SHOULD consider such RPC payload requirements in
>>>>   addition to the NFS considerations."
>>>  This wording about preventing the use of krb5 is confusing to me. Are
>>> you saying that clients whose krb5 implementation causes "extraneous"
>>> number of chunks in an rdma header may not be supported by a server and
>>> thus prevent krb usage?
>>
>> As the protocol stands today, yes, there is no requirement that the
>> server MUST be prepared to handle any certain number of chunks. And,
>> since krb can increase the size of RPC headers, potentially pushing
>> them beyond the maximum message size, that can potentially add new
>> payload to the chunk list.
>>
>> The implication is that NFS COMPOUNDs may need to shrink, if this is
>> the case. However, the "limit" is server implementation dependent,
>> and the chunks are built at the client. So my suggestion, short of
>> writing a new protocol, is to inform the client implementer of this
>> possibility.
> Or the client can simply send the entire packet in 1 offset 0 read chuck
> as the solaris client does.  I'm guessing that the linux client can not
> do this based on where the packets are created, but just pointing out
> there are other ways to accomplish this.

Indeed it can, but the penalty is high since it requires registration
of the message, and five trips on the wire even before transferring
any bulk data. That penalty will be incurred for every request, plus,
servers may choose to not implement the exchange.

It's worth mentioning. But I feel it is far short of a solution.

Tom.


>
> Karen
>>
>>>
>>> Also:
>>>
>>>  "However, implementations have practical limits on the number of
>>>   chunks_or_  _segments_  they are prepared to process in one of these
>>>   lists."
>>>
>>> Agreed, but what is the practical limit?  There are cases where a
>>> solaris client can send up to 16 segments in one write chunk. WOuld
>>> that be considered under the "practical limit"?
>>
>> I'm afraid there is not enough experience to define such a limit. This
>> document could attempt to define one, but that may be problematic. The
>> stated goal of this -bis update is to clarify, not to make new
>> requirements.
>>
>> Tom.
>>
>>>
>>> Karen
>>>
>>>
>>>>
>>>> Feel free to wordsmith further.
>>>>
>>>> Tom.
>>>>
>>>>
>>>> On 4/26/2017 12:18 PM, Chuck Lever wrote:
>>>>>
>>>>>> On Apr 24, 2017, at 7:30 AM, Chuck Lever <chuck.lever@oracle.com>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>>
>>>>>>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
>>>>>>>> I agree that SHOULD/MAY makes things cloudier, and does not
>>>>>>>> seem to align with well-defined RFC2119 usage.
>>>>>>>>
>>>>>>>> Another way we've dealt with similar disagreements between
>>>>>>>> specification and implementation is to decide that one of
>>>>>>>> the implementations is incorrect.
>>>>>>>>
>>>>>>>> Can we agree that:
>>>>>>>>
>>>>>>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
>>>>>>>> understandable why it might be returned
>>>>>>>>
>>>>>>>> - RPC clients are already prepared for GARBAGE_ARGS
>>>>>>>
>>>>>>> Are you certain of this?
>>>>>>
>>>>>> GARBAGE_ARGS has been part of the RPC protocol for decades.
>>>>>> The two Unix-flavored clients that have NFS/RDMA support can
>>>>>> both handle this error.
>>>>>
>>>>> I've confirmed that the only other known NFS/RDMA client
>>>>> (Oracle dNFS) properly recognizes GARBAGE_ARGS.
>>>>>
>>>>>
>>>>>>> And out of curiosity, what is returned
>>>>>>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
>>>>>>
>>>>>> RFC 5531:
>>>>>>> GARBAGE_ARGS  = 4, /* procedure can’t decode params   */
>>>>>>
>>>>>>
>>>>>> GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
>>>>>> with accept_stat GARBAGE_ARGS. An XID is available in the
>>>>>> header.
>>>>>>
>>>>>> rfc5666bis:
>>>>>>> If the rdma_vers field contains a recognized value, but an
>>>>>>> XDR parsing error occurs, the responder MUST reply with an
>>>>>>> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
>>>>>>
>>>>>>
>>>>>> ERR_CHUNK is a transport level error. An XID is available
>>>>>> in the header.
>>>>>>
>>>>>> The difference is that the RPC layer v. the transport layer
>>>>>> are reporting they don't understand the contents of the
>>>>>> message (Call). There is nothing more in either type of
>>>>>> message.
>>>>>>
>>>>>>
>>>>>>>> - In RPC-over-RDMA Version One, we are not trying to recover
>>>>>>>> (in the sense of resending a simpler COMPOUND) but are rather
>>>>>>>> trying to ensure the offending RPC is properly terminated on
>>>>>>>> the client, and does not further block other RPCs or deadlock
>>>>>>>> the transport
>>>>>>>>
>>>>>>>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
>>>>>>>> instead of ERR_CHUNK.
>>>>>>>
>>>>>>> "Harmless" is a bit relative. The operation fails, through no fault
>>>>>>> of the consumer. And, frankly, in a very mysterious way.
>>>>>>
>>>>>> We have no richer way of communicating failure in RPC-over-RDMA
>>>>>> Version One. We are not looking for recovery here, so I don't
>>>>>> believe any more information would be useful. If the server
>>>>>> wishes, it can log the failure with a message explaining what
>>>>>> went wrong.
>>>>>>
>>>>>>
>>>>>>> Again, I think there is more to say here. It's a limitation of the
>>>>>>> protocol whose implications should be made clear (contraining the
>>>>>>> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
>>>>>>
>>>>>> I'd welcome any suggested text.
>>>>>>
>>>>>> Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
>>>>>> RPC-over-RDMA have a sophisticated mechanism to communicate this
>>>>>> kind of limitation. The best an NFSv4 server can do is return
>>>>>> NFS4ERR_RESOURCE, which also carries little extra information
>>>>>> about what a client should do to recover.
>>>>>>
>>>>>> So are you comfortable with eliminating GARBAGE_ARGS if we can
>>>>>> come up with more detail about the impact of not knowing how
>>>>>> complex a COMPOUND can be?
>>>>>
>>>>> I've come up with some possible replacement text for
>>>>> the final two paragraphs of S5.4.1 in an attempt to
>>>>> address comments from Tom, David, and Karen. The
>>>>> normative requirements have been removed, and a (brief)
>>>>> discussion of the consequences of not handling complex
>>>>> COMPOUNDs was introduced.
>>>>>
>>>>>
>>>>> 5.4.2.  Complexity Considerations
>>>>>
>>>>>    As mentioned above, an NFS version 4 COMPOUND procedure can contain
>>>>>    more than one operation that carries a DDP-eligible data item.  The
>>>>>    RPC-over-RDMA Version One protocol does not place any limit on the
>>>>>    number of chunks that may appear in the Read or Write lists.
>>>>>    Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
>>>>>    Version One message containing more than one Read chunk or Write
>>>>>    chunk.
>>>>>
>>>>>    However, implementations have practical limits on the number of
>>>>>    chunks or segments they are prepared to process in one of these
>>>>>    lists.  There are several ways an NFS Version 4 server might
>>>>> indicate
>>>>>    that an RPC Call message constructed by a client is valid but
>>>>> cannot
>>>>>    be processed because of implementation limitations:
>>>>>
>>>>>    o  If the problem is detected in the upper layer (i.e., by the NFS
>>>>>       version 4 implementation), the server returns an NFS status of
>>>>>       NFS4ERR_RESOURCE.
>>>>>
>>>>>    o  If the problem is detected during XDR decoding of the request
>>>>>       (e.g., during re-assembly of the Call message by the RPC layer),
>>>>>       the server returns an RPC accept_stat of GARBAGE_ARGS.
>>>>>
>>>>>    o  If the problem is detected at the transport layer (i.e., during
>>>>>       transport header processing), the server returns an RDMA_ERROR
>>>>>       message with the err_code field set to ERR_CHUNK.
>>>>>
>>>>>    Such implementation limits can constrain the complexity of NFS
>>>>>    version 4 COMPOUNDs, limit the number of elements in scatter-gather
>>>>>    operations, or prevent the use of Kerberos integrity or privacy
>>>>>    services.
>>>>>
>>>>>
>>>>> Comments, opinions on this approach?
>>>>>
>>>>>
>>>>>>> Tom.
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> As a result, I can change the Read list text in S5.4.1 to be
>>>>>>>> the same as the Write list text, removing the mention of
>>>>>>>> GARBAGE_ARGS.
>>>>>>>>
>>>>>>>> Would that sit comfortably with everyone?
>>>>>>>>
>>>>>>>>
>>>>>>>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> The "or" is a similar situation, it prescribes a choice, which
>>>>>>>>>> does not define a protocol.
>>>>>>>>>
>>>>>>>>> Fair enough, but the point that needs to be made is that, with
>>>>>>>>> regard to Version One, Chuck and  the working group is not
>>>>>>>>> free to define a protocol.  As a result we have the kind of
>>>>>>>>> ugliness you object to, but it is inherent in the choice to try to
>>>>>>>>> revive Version One as-is.
>>>>>>>>>
>>>>>>>>>> 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 SHOULD reject the request by responding
>>>>>>>>>> with an
>>>>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing an
>>>>>>>>>> RPC
>>>>>>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>>>>>>
>>>>>>>>> I think I know what you intend here and I've seen stuff like this
>>>>>>>>> in RFCs but I don't
>>>>>>>>> wthink e can do this because this is not in line with the
>>>>>>>>> definitions of "SHOULD"
>>>>>>>>> and "MAY" that appear in RFC2119.
>>>>>>>>>
>>>>>>>>> "SHOULD" means that you are supposed to do something but can
>>>>>>>>> avoid it if
>>>>>>>>> you have a good reason and are aware of the consequences of not
>>>>>>>>> doing it.
>>>>>>>>> In this case the "good" reason is that someone coded the
>>>>>>>>> implementation
>>>>>>>>> to do something else, which is not all that good a reason.  The
>>>>>>>>> consequences of
>>>>>>>>> returning the GARBAGEARGS are exactly zero, since the client has
>>>>>>>>> to be prepared
>>>>>>>>> for either it or ERR_CHUNK.
>>>>>>>>>
>>>>>>>>> "MAY" means the implementation can choose to do the action or
>>>>>>>>> not, which is line
>>>>>>>>> with the reality here but essentially contradicts the SHOULD.
>>>>>>>>>
>>>>>>>>>> This at least makes it clear which response is "preferred".
>>>>>>>>>
>>>>>>>>> But it is isn't really the job of the RFC2119 terms to say which
>>>>>>>>> is "preferred" or
>>>>>>>>> "'preferred'".  These terms are supposed to describe
>>>>>>>>> interoperability and the
>>>>>>>>> interoperability situation is that the server MUST return
>>>>>>>>> ERR_CHUNK or
>>>>>>>>> GARBAGEARGS and the client needs to be prepared for either.  That
>>>>>>>>> is the
>>>>>>>>> unpleasant reality.  If you want to indicate a preference, you
>>>>>>>>> can say something
>>>>>>>>> like:
>>>>>>>>>     • Returning ERR_CHUNK is preferrable.
>>>>>>>>>     • Returinng ERR_CHUNK is more in line with the appropriate
>>>>>>>>> protocol layering since this issue relates to a limitation of the
>>>>>>>>> transport implementation.
>>>>>>>>>     • Use of GARBAGEARGS is an unfortunate artifact of
>>>>>>>>> inappropriately layered implementations and is only allowed for
>>>>>>>>> reasons of compatibility with existing implementations.  It is
>>>>>>>>> desirable to avoid it.
>>>>>>>>>> And one would hope a future draft would decide.
>>>>>>>>>
>>>>>>>>> Not sure what draft you are thinking of.  I don't see us doing an
>>>>>>>>> rfc5667bisbis (rfc5667tris).
>>>>>>>>>
>>>>>>>>> By the time we did that, the implementations with these
>>>>>>>>> restrictions will probably be gone.
>>>>>>>>>
>>>>>>>>>> I have a second question though. How does the client determine
>>>>>>>>>> what is
>>>>>>>>>> the actual error? As in, how many chunks were allowed?
>>>>>>>>>
>>>>>>>>> This is not fixable in Version One.  It would be in Version Two,
>>>>>>>>> but by then
>>>>>>>>> the need will probably be gone.
>>>>>>>>>
>>>>>>>>>> Does the upper
>>>>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>>>>
>>>>>>>>> I think something could be put in to indicate that clients should
>>>>>>>>> break up COMPOUNDS
>>>>>>>>> so the only have a single chunk each.
>>>>>>>>>
>>>>>>>>>> Yes, I know 5667 did not explore this very well.
>>>>>>>>>
>>>>>>>>> It didn't explore it at all.  And 5666's error reporting
>>>>>>>>> facilities were extremely limited.
>>>>>>>>>
>>>>>>>>>> Mea culpa.
>>>>>>>>>
>>>>>>>>> I don'tt think you have anything to apologize for.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>>>>>>>>> Hi Tom-
>>>>>>>>>
>>>>>>>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>>>>
>>>>>>>>> I noticed the same thing, and I'll add that the MUST reject
>>>>>>>>> condition
>>>>>>>>> is very confusing because it allows an "or". In my opinion a
>>>>>>>>> MUST is
>>>>>>>>> always a single requirement, never ambiguous.
>>>>>>>>>
>>>>>>>>> I agree this kind of thing is tricky. I wrote it as "the server
>>>>>>>>> MUST
>>>>>>>>> reject the RPC". That's the single requirement. The choice is how
>>>>>>>>> the
>>>>>>>>> rejection is conveyed to the client.
>>>>>>>>>
>>>>>>>>> The statement "MUST reject" is not testable. So, while it may be
>>>>>>>>> understood what is intended, there is nothing implementable in the
>>>>>>>>> MUST. The "or" is a similar situation, it prescribes a choice,
>>>>>>>>> which
>>>>>>>>> does not define a protocol.
>>>>>>>>>
>>>>>>>>> Is there some reason you want to allow such a choice? I think
>>>>>>>>> you'll
>>>>>>>>> find that, worded properly, it becomes actually much less
>>>>>>>>> implementable
>>>>>>>>> and interoperable than you may think.
>>>>>>>>>
>>>>>>>>> The Solaris server can return an RPC-level error in cases like
>>>>>>>>> this.
>>>>>>>>>
>>>>>>>>> Well, this is happening because the Solaris server is (probably)
>>>>>>>>> just
>>>>>>>>> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
>>>>>>>>> processing that detects any problem.
>>>>>>>>>
>>>>>>>>> On the other hand, an implementation could do the opposite, it
>>>>>>>>> could
>>>>>>>>> process the chunks at the lower layer, before ever invoking RPC
>>>>>>>>> processing. This would naturally lead to a non-RPC error.
>>>>>>>>>
>>>>>>>>> The challenge in defining the protocol is to hide these
>>>>>>>>> possibilities.
>>>>>>>>>
>>>>>>>>> I think there are similar choices allowed in rfc5666bis. Let's say
>>>>>>>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
>>>>>>>>> documenting existing implementation behavior here.
>>>>>>>>>
>>>>>>>>> I'm not sure it matters to the client: both errors are
>>>>>>>>> permanent and
>>>>>>>>> the RPC is terminated on the client.
>>>>>>>>>
>>>>>>>>> I'm open to alternatives.
>>>>>>>>>
>>>>>>>>> The icky way to do this is to split into two weak requirements.
>>>>>>>>>
>>>>>>>>>  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 SHOULD reject the request by responding
>>>>>>>>> with an
>>>>>>>>>  RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>>>>>  server MAY reject the RPC with an RDMA_MSG message containing an
>>>>>>>>> RPC
>>>>>>>>>  Reply with an accept status of GARBAGE_ARGS.
>>>>>>>>>
>>>>>>>>> This at least makes it clear which response is "preferred". And
>>>>>>>>> one
>>>>>>>>> would hope a future draft would decide.
>>>>>>>>>
>>>>>>>>> I have a second question though. How does the client determine
>>>>>>>>> what is
>>>>>>>>> the actual error? As in, how many chunks were allowed? Does the
>>>>>>>>> upper
>>>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>>>>
>>>>>>>>> Yes, I know 5667 did not explore this very well. Mea culpa.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Tom.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 4/18/2017 6:32 PM, karen deitke wrote:
>>>>>>>>> Hi Chuck, its unclear what you mean by "is prepared to process"
>>>>>>>>> in the text below.
>>>>>>>>> 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*
>>>>>>>>> Giventhat 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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> 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
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> 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
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>
>>>>> --
>>>>> Chuck Lever
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>> _______________________________________________
>>> 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
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From nobody Thu Apr 27 09:19:13 2017
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 1E25012941D for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 09:19:12 -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 8itPKN3v_zNf for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 09:19:07 -0700 (PDT)
Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (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 C6BED12946F for <nfsv4@ietf.org>; Thu, 27 Apr 2017 09:17:35 -0700 (PDT)
Received: by mail-it0-x233.google.com with SMTP id x188so15378271itb.0 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 09:17:35 -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=mw1gOHxIMfrhltLP5y7uCTTvHpWD5IQ3ue+mERWRErY=; b=BWvz7x3e3Gnj7TP1VFM/AZE4DmLvfKnmoQtjwHG31n4t4bSuwOtB47RMBq0EFpTQNi 4O1O6AB+raxuSml1DW+QkoeQM8nIRHg+FLx5YD/AOSQzgHNMvw1Oh7PmgppGciF6voZt 0UWkkq0d7Dw1aD7hK3E3Vb2BxUfgmGr7Rp+TuqcXP47cxPoz4VF9xnkSiIE/bz1vARI8 /DBClGb2tT6cX9uPk/P4EmsfGDUmxngqSVyKPI5O0iJaztDHjXJ1xK4NpQ7FddsdMDEH keZ0E6OYkFQKLA+W/RF8dRjxH+KxXsTtzqjL1mjl3OiWBHv85qp22O1TOG7QGRXqYjec 1IHg==
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=mw1gOHxIMfrhltLP5y7uCTTvHpWD5IQ3ue+mERWRErY=; b=rij36YUaBsrHgHiZobZJzW4VkPlqSW4G7AZyUEBGHMEVVmuqCXZjngO/Drx6xcPEGF dulFRq3CZGfOWSxYhsAwDnff2lVwpQhtYK7OEIMd8HjflpKFUaNoiQKKt+0d7TCM7DEo pshv1FieNBaY2RKSUMKSteV0EFFyUQSepesaQqmPxnZEijkKbE11TURx1POdm6lPBNgv 0q4jf30dbXOFvZz2A0vg5OxRDJGWMdl4nCed7eUiHlyrbQP/nn6V/+hAsUfvESmHB+59 IjeaSJFR8DZxREfdlAatx8HocTXbcZNKsOHDZOPVelHZ85Be5hIFbz7lVmFRicxoKz7V 6Wcg==
X-Gm-Message-State: AN3rC/7Jl7iN+YWhhhYHN/UugV6+LABvI2uDx9ZEQBtRIuMsS5lqef3F ViHfVLyYhIogLjroaZJ0ZN1wVQVzFg==
X-Received: by 10.36.85.7 with SMTP id e7mr654062itb.80.1493309854252; Thu, 27 Apr 2017 09:17:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Thu, 27 Apr 2017 09:17:32 -0700 (PDT)
In-Reply-To: <1451a113-115b-5c43-5cfe-f0c5e21b59d6@talpey.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <F842F8E7-B576-4781-A845-F13317593F88@oracle.com> <1451a113-115b-5c43-5cfe-f0c5e21b59d6@talpey.com>
From: David Noveck <davenoveck@gmail.com>
Date: Thu, 27 Apr 2017 12:17:32 -0400
Message-ID: <CADaq8jc5PjgXq7ywGYG6pZXWSxiOX=ZCcxhX2Cu-ggQqXyBheA@mail.gmail.com>
To: Tom Talpey <tom@talpey.com>
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a11448528671ce4054e284bda
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/hTgKSCjkv_vUukufgXWyO057lq0>
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: Thu, 27 Apr 2017 16:19:12 -0000

--001a11448528671ce4054e284bda
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

> The RFC2119 term RECOMMENDED is basically a synonym for SHOULD. It's
> perfectly permissible.

Not if it's implementation advice.

On Thu, Apr 27, 2017 at 11:54 AM, Tom Talpey <tom@talpey.com> wrote:

> On 4/27/2017 11:44 AM, Chuck Lever wrote:
>
>>
>> On Apr 27, 2017, at 7:20 AM, Tom Talpey <tom@talpey.com> wrote:
>>>
>>> snip:
>>>>    Such implementation limits can constrain the complexity of NFS
>>>>    version 4 COMPOUNDs, limit the number of elements in scatter-gather
>>>>    operations, or prevent the use of Kerberos integrity or privacy
>>>>    services.
>>>>
>>>
>>> I like the approach, and the lead-in language looks good. The text
>>> quoted above is just a little bit dark, especially that bit about
>>> preventing krb5i/krb5p. I'd suggest a more active statement to replace
>>> the above, including the more prescriptive SHOULD rather than "can".
>>> How about:
>>>
>>> "Client implementations SHOULD be prepared to provide mechanisms for
>>>  reporting the above errors, and optionally provide configuration to
>>>  limit the complexity of NFS version 4 COMPOUNDs, limit the number
>>>  of elements in scatter-gather operations, and to avoid other possible
>>>  sources of RPC-over-RDMA chunk overruns at the peer.
>>>
>>>  These become especially important when Kerberos integrity or privacy
>>>  is in place for the RPC connection. These facilities add payload to
>>>  the RPC headers, potentially increasing the complexity of the chunk
>>>  manipulation, independent of the upper layer NFS operation. The
>>>  implementation SHOULD consider such RPC payload requirements in
>>>  addition to the NFS considerations."
>>>
>>
>> Sure, I can work this in.
>>
>> When you say "Client implementations SHOULD ... [report] the above
>> errors" you are talking about reporting them to administrators
>> and/or RPC consumers? I don't think we can use SHOULD in that case.
>>
>
> I am agnostic about who to inform. The important thing is that some
> visibility of the error be surfaced. I absolutely don't think an
> arbitrary GARBAGE_ARGS returned to an application that may simply
> choke on it, qualifies.
>
> This feels like implementation advice, not protocol.
>>
>
> Correct. But since the protocol creates the problem, the protocol
> definition needs to say something about dealing with it. So I believe
> SHOULD is best.
>
> Would "recommend" be enough for this section?
>>
>
> The RFC2119 term RECOMMENDED is basically a synonym for SHOULD. It's
> perfectly permissible.
>
> Tom.
>
>
>
>>
>> Feel free to wordsmith further.
>>>
>>> Tom.
>>>
>>>
>>> On 4/26/2017 12:18 PM, Chuck Lever wrote:
>>>
>>>>
>>>> On Apr 24, 2017, at 7:30 AM, Chuck Lever <chuck.lever@oracle.com>
>>>>> wrote:
>>>>>
>>>>>
>>>>>> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>
>>>>>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
>>>>>>
>>>>>>> I agree that SHOULD/MAY makes things cloudier, and does not
>>>>>>> seem to align with well-defined RFC2119 usage.
>>>>>>>
>>>>>>> Another way we've dealt with similar disagreements between
>>>>>>> specification and implementation is to decide that one of
>>>>>>> the implementations is incorrect.
>>>>>>>
>>>>>>> Can we agree that:
>>>>>>>
>>>>>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
>>>>>>> understandable why it might be returned
>>>>>>>
>>>>>>> - RPC clients are already prepared for GARBAGE_ARGS
>>>>>>>
>>>>>>
>>>>>> Are you certain of this?
>>>>>>
>>>>>
>>>>> GARBAGE_ARGS has been part of the RPC protocol for decades.
>>>>> The two Unix-flavored clients that have NFS/RDMA support can
>>>>> both handle this error.
>>>>>
>>>>
>>>> I've confirmed that the only other known NFS/RDMA client
>>>> (Oracle dNFS) properly recognizes GARBAGE_ARGS.
>>>>
>>>>
>>>> And out of curiosity, what is returned
>>>>>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
>>>>>>
>>>>>
>>>>> RFC 5531:
>>>>>
>>>>>> GARBAGE_ARGS  =3D 4, /* procedure can=E2=80=99t decode params   */
>>>>>>
>>>>>
>>>>>
>>>>> GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
>>>>> with accept_stat GARBAGE_ARGS. An XID is available in the
>>>>> header.
>>>>>
>>>>> rfc5666bis:
>>>>>
>>>>>> If the rdma_vers field contains a recognized value, but an
>>>>>> XDR parsing error occurs, the responder MUST reply with an
>>>>>> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
>>>>>>
>>>>>
>>>>>
>>>>> ERR_CHUNK is a transport level error. An XID is available
>>>>> in the header.
>>>>>
>>>>> The difference is that the RPC layer v. the transport layer
>>>>> are reporting they don't understand the contents of the
>>>>> message (Call). There is nothing more in either type of
>>>>> message.
>>>>>
>>>>>
>>>>> - In RPC-over-RDMA Version One, we are not trying to recover
>>>>>>> (in the sense of resending a simpler COMPOUND) but are rather
>>>>>>> trying to ensure the offending RPC is properly terminated on
>>>>>>> the client, and does not further block other RPCs or deadlock
>>>>>>> the transport
>>>>>>>
>>>>>>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
>>>>>>> instead of ERR_CHUNK.
>>>>>>>
>>>>>>
>>>>>> "Harmless" is a bit relative. The operation fails, through no fault
>>>>>> of the consumer. And, frankly, in a very mysterious way.
>>>>>>
>>>>>
>>>>> We have no richer way of communicating failure in RPC-over-RDMA
>>>>> Version One. We are not looking for recovery here, so I don't
>>>>> believe any more information would be useful. If the server
>>>>> wishes, it can log the failure with a message explaining what
>>>>> went wrong.
>>>>>
>>>>>
>>>>> Again, I think there is more to say here. It's a limitation of the
>>>>>> protocol whose implications should be made clear (contraining the
>>>>>> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
>>>>>>
>>>>>
>>>>> I'd welcome any suggested text.
>>>>>
>>>>> Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
>>>>> RPC-over-RDMA have a sophisticated mechanism to communicate this
>>>>> kind of limitation. The best an NFSv4 server can do is return
>>>>> NFS4ERR_RESOURCE, which also carries little extra information
>>>>> about what a client should do to recover.
>>>>>
>>>>> So are you comfortable with eliminating GARBAGE_ARGS if we can
>>>>> come up with more detail about the impact of not knowing how
>>>>> complex a COMPOUND can be?
>>>>>
>>>>
>>>> I've come up with some possible replacement text for
>>>> the final two paragraphs of S5.4.1 in an attempt to
>>>> address comments from Tom, David, and Karen. The
>>>> normative requirements have been removed, and a (brief)
>>>> discussion of the consequences of not handling complex
>>>> COMPOUNDs was introduced.
>>>>
>>>>
>>>> 5.4.2.  Complexity Considerations
>>>>
>>>>   As mentioned above, an NFS version 4 COMPOUND procedure can contain
>>>>   more than one operation that carries a DDP-eligible data item.  The
>>>>   RPC-over-RDMA Version One protocol does not place any limit on the
>>>>   number of chunks that may appear in the Read or Write lists.
>>>>   Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
>>>>   Version One message containing more than one Read chunk or Write
>>>>   chunk.
>>>>
>>>>   However, implementations have practical limits on the number of
>>>>   chunks or segments they are prepared to process in one of these
>>>>   lists.  There are several ways an NFS Version 4 server might indicat=
e
>>>>   that an RPC Call message constructed by a client is valid but cannot
>>>>   be processed because of implementation limitations:
>>>>
>>>>   o  If the problem is detected in the upper layer (i.e., by the NFS
>>>>      version 4 implementation), the server returns an NFS status of
>>>>      NFS4ERR_RESOURCE.
>>>>
>>>>   o  If the problem is detected during XDR decoding of the request
>>>>      (e.g., during re-assembly of the Call message by the RPC layer),
>>>>      the server returns an RPC accept_stat of GARBAGE_ARGS.
>>>>
>>>>   o  If the problem is detected at the transport layer (i.e., during
>>>>      transport header processing), the server returns an RDMA_ERROR
>>>>      message with the err_code field set to ERR_CHUNK.
>>>>
>>>>   Such implementation limits can constrain the complexity of NFS
>>>>   version 4 COMPOUNDs, limit the number of elements in scatter-gather
>>>>   operations, or prevent the use of Kerberos integrity or privacy
>>>>   services.
>>>>
>>>>
>>>> Comments, opinions on this approach?
>>>>
>>>>
>>>> Tom.
>>>>>>
>>>>>>
>>>>>>
>>>>>>> As a result, I can change the Read list text in S5.4.1 to be
>>>>>>> the same as the Write list text, removing the mention of
>>>>>>> GARBAGE_ARGS.
>>>>>>>
>>>>>>> Would that sit comfortably with everyone?
>>>>>>>
>>>>>>>
>>>>>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> The "or" is a similar situation, it prescribes a choice, which
>>>>>>>>> does not define a protocol.
>>>>>>>>>
>>>>>>>>
>>>>>>>> Fair enough, but the point that needs to be made is that, with
>>>>>>>> regard to Version One, Chuck and  the working group is not
>>>>>>>> free to define a protocol.  As a result we have the kind of
>>>>>>>> ugliness you object to, but it is inherent in the choice to try to
>>>>>>>> revive Version One as-is.
>>>>>>>>
>>>>>>>> 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 SHOULD reject the request by responding with =
an
>>>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing an
>>>>>>>>> RPC
>>>>>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>>>>>>
>>>>>>>>
>>>>>>>> I think I know what you intend here and I've seen stuff like this
>>>>>>>> in RFCs but I don't
>>>>>>>> wthink e can do this because this is not in line with the
>>>>>>>> definitions of "SHOULD"
>>>>>>>> and "MAY" that appear in RFC2119.
>>>>>>>>
>>>>>>>> "SHOULD" means that you are supposed to do something but can avoid
>>>>>>>> it if
>>>>>>>> you have a good reason and are aware of the consequences of not
>>>>>>>> doing it.
>>>>>>>> In this case the "good" reason is that someone coded the
>>>>>>>> implementation
>>>>>>>> to do something else, which is not all that good a reason.  The
>>>>>>>> consequences of
>>>>>>>> returning the GARBAGEARGS are exactly zero, since the client has t=
o
>>>>>>>> be prepared
>>>>>>>> for either it or ERR_CHUNK.
>>>>>>>>
>>>>>>>> "MAY" means the implementation can choose to do the action or not,
>>>>>>>> which is line
>>>>>>>> with the reality here but essentially contradicts the SHOULD.
>>>>>>>>
>>>>>>>> This at least makes it clear which response is "preferred".
>>>>>>>>>
>>>>>>>>
>>>>>>>> But it is isn't really the job of the RFC2119 terms to say which i=
s
>>>>>>>> "preferred" or
>>>>>>>> "'preferred'".  These terms are supposed to describe
>>>>>>>> interoperability and the
>>>>>>>> interoperability situation is that the server MUST return ERR_CHUN=
K
>>>>>>>> or
>>>>>>>> GARBAGEARGS and the client needs to be prepared for either.  That
>>>>>>>> is the
>>>>>>>> unpleasant reality.  If you want to indicate a preference, you can
>>>>>>>> say something
>>>>>>>> like:
>>>>>>>>         =E2=80=A2 Returning ERR_CHUNK is preferrable.
>>>>>>>>         =E2=80=A2 Returinng ERR_CHUNK is more in line with the app=
ropriate
>>>>>>>> protocol layering since this issue relates to a limitation of the =
transport
>>>>>>>> implementation.
>>>>>>>>         =E2=80=A2 Use of GARBAGEARGS is an unfortunate artifact of
>>>>>>>> inappropriately layered implementations and is only allowed for re=
asons of
>>>>>>>> compatibility with existing implementations.  It is desirable to a=
void it.
>>>>>>>>
>>>>>>>>> And one would hope a future draft would decide.
>>>>>>>>>
>>>>>>>>
>>>>>>>> Not sure what draft you are thinking of.  I don't see us doing an
>>>>>>>> rfc5667bisbis (rfc5667tris).
>>>>>>>>
>>>>>>>> By the time we did that, the implementations with these
>>>>>>>> restrictions will probably be gone.
>>>>>>>>
>>>>>>>> I have a second question though. How does the client determine wha=
t
>>>>>>>>> is
>>>>>>>>> the actual error? As in, how many chunks were allowed?
>>>>>>>>>
>>>>>>>>
>>>>>>>> This is not fixable in Version One.  It would be in Version Two,
>>>>>>>> but by then
>>>>>>>> the need will probably be gone.
>>>>>>>>
>>>>>>>> Does the upper
>>>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>>>>
>>>>>>>>
>>>>>>>> I think something could be put in to indicate that clients should
>>>>>>>> break up COMPOUNDS
>>>>>>>> so the only have a single chunk each.
>>>>>>>>
>>>>>>>> Yes, I know 5667 did not explore this very well.
>>>>>>>>>
>>>>>>>>
>>>>>>>> It didn't explore it at all.  And 5666's error reporting facilitie=
s
>>>>>>>> were extremely limited.
>>>>>>>>
>>>>>>>> Mea culpa.
>>>>>>>>>
>>>>>>>>
>>>>>>>> I don'tt think you have anything to apologize for.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> wrote=
:
>>>>>>>>
>>>>>>>>
>>>>>>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>>>>>>>> Hi Tom-
>>>>>>>>
>>>>>>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>>>
>>>>>>>> I noticed the same thing, and I'll add that the MUST reject
>>>>>>>> condition
>>>>>>>> is very confusing because it allows an "or". In my opinion a MUST =
is
>>>>>>>> always a single requirement, never ambiguous.
>>>>>>>>
>>>>>>>> I agree this kind of thing is tricky. I wrote it as "the server MU=
ST
>>>>>>>> reject the RPC". That's the single requirement. The choice is how
>>>>>>>> the
>>>>>>>> rejection is conveyed to the client.
>>>>>>>>
>>>>>>>> The statement "MUST reject" is not testable. So, while it may be
>>>>>>>> understood what is intended, there is nothing implementable in the
>>>>>>>> MUST. The "or" is a similar situation, it prescribes a choice, whi=
ch
>>>>>>>> does not define a protocol.
>>>>>>>>
>>>>>>>> Is there some reason you want to allow such a choice? I think you'=
ll
>>>>>>>> find that, worded properly, it becomes actually much less
>>>>>>>> implementable
>>>>>>>> and interoperable than you may think.
>>>>>>>>
>>>>>>>> The Solaris server can return an RPC-level error in cases like thi=
s.
>>>>>>>>
>>>>>>>> Well, this is happening because the Solaris server is (probably)
>>>>>>>> just
>>>>>>>> handing the chunk list up to the RPC layer, and it's the RPC (XDR)
>>>>>>>> processing that detects any problem.
>>>>>>>>
>>>>>>>> On the other hand, an implementation could do the opposite, it cou=
ld
>>>>>>>> process the chunks at the lower layer, before ever invoking RPC
>>>>>>>> processing. This would naturally lead to a non-RPC error.
>>>>>>>>
>>>>>>>> The challenge in defining the protocol is to hide these
>>>>>>>> possibilities.
>>>>>>>>
>>>>>>>> I think there are similar choices allowed in rfc5666bis. Let's say
>>>>>>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
>>>>>>>> documenting existing implementation behavior here.
>>>>>>>>
>>>>>>>> I'm not sure it matters to the client: both errors are permanent a=
nd
>>>>>>>> the RPC is terminated on the client.
>>>>>>>>
>>>>>>>> I'm open to alternatives.
>>>>>>>>
>>>>>>>> The icky way to do this is to split into two weak requirements.
>>>>>>>>
>>>>>>>> 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 SHOULD reject the request by responding with a=
n
>>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
>>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing an R=
PC
>>>>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>>>>>
>>>>>>>> This at least makes it clear which response is "preferred". And on=
e
>>>>>>>> would hope a future draft would decide.
>>>>>>>>
>>>>>>>> I have a second question though. How does the client determine wha=
t
>>>>>>>> is
>>>>>>>> the actual error? As in, how many chunks were allowed? Does the
>>>>>>>> upper
>>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>>>
>>>>>>>> Yes, I know 5667 did not explore this very well. Mea culpa.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Tom.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 4/18/2017 6:32 PM, karen deitke wrote:
>>>>>>>> Hi Chuck, its unclear what you mean by "is prepared to process" in
>>>>>>>> the text below.
>>>>>>>> Other than that, looks good.
>>>>>>>>
>>>>>>>> Karen
>>>>>>>>
>>>>>>>> 5.4.1
>>>>>>>> If an NFS version 4 client sends an RPC Call with a Write list tha=
t
>>>>>>>> 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 valu=
e
>>>>>>>> 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 technic=
al
>>>>>>>> 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*
>>>>>>>> Giventhat 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 situatio=
ns
>>>>>>>> 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 RE=
AD
>>>>>>>> operation which failed, the server would have more chunks (i.e. on=
e)
>>>>>>>> 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_CHUN=
K.
>>>>>>>>
>>>>>>>> With regard to the last paragraph, I am curious that this paragrap=
h,
>>>>>>>> unlike the previous one, allows GARBGEARGS. Is this so because tha=
t
>>>>>>>> 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_CHUN=
K.
>>>>>>>>
>>>>>>>> *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
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>>
>>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>>
>>>>
>>>> --
>>>> Chuck Lever
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>
>>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>

--001a11448528671ce4054e284bda
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-size:12.8px">&gt; The RFC2119 term REC=
OMMENDED is basically a synonym for SHOULD. It&#39;s</span><br style=3D"fon=
t-size:12.8px"><span style=3D"font-size:12.8px">&gt; perfectly permissible.=
</span><br><div><span style=3D"font-size:12.8px"><br></span></div><div><spa=
n style=3D"font-size:12.8px">Not if it&#39;s implementation advice. =C2=A0<=
/span></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"=
>On Thu, Apr 27, 2017 at 11:54 AM, Tom Talpey <span dir=3D"ltr">&lt;<a href=
=3D"mailto:tom@talpey.com" target=3D"_blank">tom@talpey.com</a>&gt;</span> =
wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex"><div class=3D"HOEnZb"><div class=
=3D"h5">On 4/27/2017 11:44 AM, Chuck Lever wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On Apr 27, 2017, at 7:20 AM, Tom Talpey &lt;<a href=3D"mailto:tom@talpey.co=
m" target=3D"_blank">tom@talpey.com</a>&gt; wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
snip:<br>
=C2=A0 =C2=A0Such implementation limits can constrain the complexity of NFS=
<br>
=C2=A0 =C2=A0version 4 COMPOUNDs, limit the number of elements in scatter-g=
ather<br>
=C2=A0 =C2=A0operations, or prevent the use of Kerberos integrity or privac=
y<br>
=C2=A0 =C2=A0services.<br>
</blockquote>
<br>
I like the approach, and the lead-in language looks good. The text<br>
quoted above is just a little bit dark, especially that bit about<br>
preventing krb5i/krb5p. I&#39;d suggest a more active statement to replace<=
br>
the above, including the more prescriptive SHOULD rather than &quot;can&quo=
t;.<br>
How about:<br>
<br>
&quot;Client implementations SHOULD be prepared to provide mechanisms for<b=
r>
=C2=A0reporting the above errors, and optionally provide configuration to<b=
r>
=C2=A0limit the complexity of NFS version 4 COMPOUNDs, limit the number<br>
=C2=A0of elements in scatter-gather operations, and to avoid other possible=
<br>
=C2=A0sources of RPC-over-RDMA chunk overruns at the peer.<br>
<br>
=C2=A0These become especially important when Kerberos integrity or privacy<=
br>
=C2=A0is in place for the RPC connection. These facilities add payload to<b=
r>
=C2=A0the RPC headers, potentially increasing the complexity of the chunk<b=
r>
=C2=A0manipulation, independent of the upper layer NFS operation. The<br>
=C2=A0implementation SHOULD consider such RPC payload requirements in<br>
=C2=A0addition to the NFS considerations.&quot;<br>
</blockquote>
<br>
Sure, I can work this in.<br>
<br>
When you say &quot;Client implementations SHOULD ... [report] the above<br>
errors&quot; you are talking about reporting them to administrators<br>
and/or RPC consumers? I don&#39;t think we can use SHOULD in that case.<br>
</blockquote>
<br></div></div>
I am agnostic about who to inform. The important thing is that some<br>
visibility of the error be surfaced. I absolutely don&#39;t think an<br>
arbitrary GARBAGE_ARGS returned to an application that may simply<br>
choke on it, qualifies.<span class=3D""><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
This feels like implementation advice, not protocol.<br>
</blockquote>
<br></span>
Correct. But since the protocol creates the problem, the protocol<br>
definition needs to say something about dealing with it. So I believe<br>
SHOULD is best.<span class=3D""><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Would &quot;recommend&quot; be enough for this section?<br>
</blockquote>
<br></span>
The RFC2119 term RECOMMENDED is basically a synonym for SHOULD. It&#39;s<br=
>
perfectly permissible.<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
Tom.</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Feel free to wordsmith further.<br>
<br>
Tom.<br>
<br>
<br>
On 4/26/2017 12:18 PM, Chuck Lever wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On Apr 24, 2017, at 7:30 AM, Chuck Lever &lt;<a href=3D"mailto:chuck.lever@=
oracle.com" target=3D"_blank">chuck.lever@oracle.com</a>&gt; wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
On Apr 24, 2017, at 7:56 AM, Tom Talpey &lt;<a href=3D"mailto:tom@talpey.co=
m" target=3D"_blank">tom@talpey.com</a>&gt; wrote:<br>
<br>
On 4/21/2017 10:43 AM, Chuck Lever wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I agree that SHOULD/MAY makes things cloudier, and does not<br>
seem to align with well-defined RFC2119 usage.<br>
<br>
Another way we&#39;ve dealt with similar disagreements between<br>
specification and implementation is to decide that one of<br>
the implementations is incorrect.<br>
<br>
Can we agree that:<br>
<br>
- GARBAGE_ARGS is a bit of a layering violation, though it&#39;s<br>
understandable why it might be returned<br>
<br>
- RPC clients are already prepared for GARBAGE_ARGS<br>
</blockquote>
<br>
Are you certain of this?<br>
</blockquote>
<br>
GARBAGE_ARGS has been part of the RPC protocol for decades.<br>
The two Unix-flavored clients that have NFS/RDMA support can<br>
both handle this error.<br>
</blockquote>
<br>
I&#39;ve confirmed that the only other known NFS/RDMA client<br>
(Oracle dNFS) properly recognizes GARBAGE_ARGS.<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
And out of curiosity, what is returned<br>
to the consumer for GARBAGE_ARGS versus ERR_CHUNK?<br>
</blockquote>
<br>
RFC 5531:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
GARBAGE_ARGS=C2=A0 =3D 4, /* procedure can=E2=80=99t decode params=C2=A0 =
=C2=A0*/<br>
</blockquote>
<br>
<br>
GARBAGE_ARGS is an RPC-level error. The reply is &quot;accepted&quot;<br>
with accept_stat GARBAGE_ARGS. An XID is available in the<br>
header.<br>
<br>
rfc5666bis:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
If the rdma_vers field contains a recognized value, but an<br>
XDR parsing error occurs, the responder MUST reply with an<br>
RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.<br>
</blockquote>
<br>
<br>
ERR_CHUNK is a transport level error. An XID is available<br>
in the header.<br>
<br>
The difference is that the RPC layer v. the transport layer<br>
are reporting they don&#39;t understand the contents of the<br>
message (Call). There is nothing more in either type of<br>
message.<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- In RPC-over-RDMA Version One, we are not trying to recover<br>
(in the sense of resending a simpler COMPOUND) but are rather<br>
trying to ensure the offending RPC is properly terminated on<br>
the client, and does not further block other RPCs or deadlock<br>
the transport<br>
<br>
Thus I claim it is harmless if a server returns GARBAGE_ARGS<br>
instead of ERR_CHUNK.<br>
</blockquote>
<br>
&quot;Harmless&quot; is a bit relative. The operation fails, through no fau=
lt<br>
of the consumer. And, frankly, in a very mysterious way.<br>
</blockquote>
<br>
We have no richer way of communicating failure in RPC-over-RDMA<br>
Version One. We are not looking for recovery here, so I don&#39;t<br>
believe any more information would be useful. If the server<br>
wishes, it can log the failure with a message explaining what<br>
went wrong.<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Again, I think there is more to say here. It&#39;s a limitation of the<br>
protocol whose implications should be made clear (contraining the<br>
complexity of COMPOUNDs, limiting scatter/gather lengths, etc).<br>
</blockquote>
<br>
I&#39;d welcome any suggested text.<br>
<br>
Honestly, I&#39;m not sure what can be said. Neither NFSv4.0 nor<br>
RPC-over-RDMA have a sophisticated mechanism to communicate this<br>
kind of limitation. The best an NFSv4 server can do is return<br>
NFS4ERR_RESOURCE, which also carries little extra information<br>
about what a client should do to recover.<br>
<br>
So are you comfortable with eliminating GARBAGE_ARGS if we can<br>
come up with more detail about the impact of not knowing how<br>
complex a COMPOUND can be?<br>
</blockquote>
<br>
I&#39;ve come up with some possible replacement text for<br>
the final two paragraphs of S5.4.1 in an attempt to<br>
address comments from Tom, David, and Karen. The<br>
normative requirements have been removed, and a (brief)<br>
discussion of the consequences of not handling complex<br>
COMPOUNDs was introduced.<br>
<br>
<br>
5.4.2.=C2=A0 Complexity Considerations<br>
<br>
=C2=A0 As mentioned above, an NFS version 4 COMPOUND procedure can contain<=
br>
=C2=A0 more than one operation that carries a DDP-eligible data item.=C2=A0=
 The<br>
=C2=A0 RPC-over-RDMA Version One protocol does not place any limit on the<b=
r>
=C2=A0 number of chunks that may appear in the Read or Write lists.<br>
=C2=A0 Therefore an NFS version 4 client MAY construct an RPC-over-RDMA<br>
=C2=A0 Version One message containing more than one Read chunk or Write<br>
=C2=A0 chunk.<br>
<br>
=C2=A0 However, implementations have practical limits on the number of<br>
=C2=A0 chunks or segments they are prepared to process in one of these<br>
=C2=A0 lists.=C2=A0 There are several ways an NFS Version 4 server might in=
dicate<br>
=C2=A0 that an RPC Call message constructed by a client is valid but cannot=
<br>
=C2=A0 be processed because of implementation limitations:<br>
<br>
=C2=A0 o=C2=A0 If the problem is detected in the upper layer (i.e., by the =
NFS<br>
=C2=A0 =C2=A0 =C2=A0version 4 implementation), the server returns an NFS st=
atus of<br>
=C2=A0 =C2=A0 =C2=A0NFS4ERR_RESOURCE.<br>
<br>
=C2=A0 o=C2=A0 If the problem is detected during XDR decoding of the reques=
t<br>
=C2=A0 =C2=A0 =C2=A0(e.g., during re-assembly of the Call message by the RP=
C layer),<br>
=C2=A0 =C2=A0 =C2=A0the server returns an RPC accept_stat of GARBAGE_ARGS.<=
br>
<br>
=C2=A0 o=C2=A0 If the problem is detected at the transport layer (i.e., dur=
ing<br>
=C2=A0 =C2=A0 =C2=A0transport header processing), the server returns an RDM=
A_ERROR<br>
=C2=A0 =C2=A0 =C2=A0message with the err_code field set to ERR_CHUNK.<br>
<br>
=C2=A0 Such implementation limits can constrain the complexity of NFS<br>
=C2=A0 version 4 COMPOUNDs, limit the number of elements in scatter-gather<=
br>
=C2=A0 operations, or prevent the use of Kerberos integrity or privacy<br>
=C2=A0 services.<br>
<br>
<br>
Comments, opinions on this approach?<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Tom.<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
As a result, I can change the Read list text in S5.4.1 to be<br>
the same as the Write list text, removing the mention of<br>
GARBAGE_ARGS.<br>
<br>
Would that sit comfortably with everyone?<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On Apr 20, 2017, at 7:21 PM, David Noveck &lt;<a href=3D"mailto:davenoveck@=
gmail.com" target=3D"_blank">davenoveck@gmail.com</a>&gt; wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
The &quot;or&quot; is a similar situation, it prescribes a choice, which<br=
>
does not define a protocol.<br>
</blockquote>
<br>
Fair enough, but the point that needs to be made is that, with<br>
regard to Version One, Chuck and=C2=A0 the working group is not<br>
free to define a protocol.=C2=A0 As a result we have the kind of<br>
ugliness you object to, but it is inherent in the choice to try to<br>
revive Version One as-is.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
If an NFS version 4 client sends an RPC Call with a Read list that<br>
contains more chunks than an NFS version 4 server is prepared to<br>
process, the server SHOULD reject the request by responding with an<br>
RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The<br>
server MAY reject the RPC with an RDMA_MSG message containing an RPC<br>
Reply with an accept status of GARBAGE_ARGS.<br>
</blockquote>
<br>
I think I know what you intend here and I&#39;ve seen stuff like this in RF=
Cs but I don&#39;t<br>
wthink e can do this because this is not in line with the definitions of &q=
uot;SHOULD&quot;<br>
and &quot;MAY&quot; that appear in RFC2119.<br>
<br>
&quot;SHOULD&quot; means that you are supposed to do something but can avoi=
d it if<br>
you have a good reason and are aware of the consequences of not doing it.<b=
r>
In this case the &quot;good&quot; reason is that someone coded the implemen=
tation<br>
to do something else, which is not all that good a reason.=C2=A0 The conseq=
uences of<br>
returning the GARBAGEARGS are exactly zero, since the client has to be prep=
ared<br>
for either it or ERR_CHUNK.<br>
<br>
&quot;MAY&quot; means the implementation can choose to do the action or not=
, which is line<br>
with the reality here but essentially contradicts the SHOULD.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
This at least makes it clear which response is &quot;preferred&quot;.<br>
</blockquote>
<br>
But it is isn&#39;t really the job of the RFC2119 terms to say which is &qu=
ot;preferred&quot; or<br>
&quot;&#39;preferred&#39;&quot;.=C2=A0 These terms are supposed to describe=
 interoperability and the<br>
interoperability situation is that the server MUST return ERR_CHUNK or<br>
GARBAGEARGS and the client needs to be prepared for either.=C2=A0 That is t=
he<br>
unpleasant reality.=C2=A0 If you want to indicate a preference, you can say=
 something<br>
like:<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=80=A2 Returning ERR_CHUNK is preferrable.<b=
r>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=80=A2 Returinng ERR_CHUNK is more in line w=
ith the appropriate protocol layering since this issue relates to a limitat=
ion of the transport implementation.<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=80=A2 Use of GARBAGEARGS is an unfortunate =
artifact of inappropriately layered implementations and is only allowed for=
 reasons of compatibility with existing implementations.=C2=A0 It is desira=
ble to avoid it.<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
And one would hope a future draft would decide.<br>
</blockquote>
<br>
Not sure what draft you are thinking of.=C2=A0 I don&#39;t see us doing an =
rfc5667bisbis (rfc5667tris).<br>
<br>
By the time we did that, the implementations with these restrictions will p=
robably be gone.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I have a second question though. How does the client determine what is<br>
the actual error? As in, how many chunks were allowed?<br>
</blockquote>
<br>
This is not fixable in Version One.=C2=A0 It would be in Version Two, but b=
y then<br>
the need will probably be gone.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Does the upper<br>
layer have to recover, and if so what are the implications?<br>
</blockquote>
<br>
I think something could be put in to indicate that clients should break up =
COMPOUNDS<br>
so the only have a single chunk each.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Yes, I know 5667 did not explore this very well.<br>
</blockquote>
<br>
It didn&#39;t explore it at all.=C2=A0 And 5666&#39;s error reporting facil=
ities were extremely limited.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Mea culpa.<br>
</blockquote>
<br>
I don&#39;tt think you have anything to apologize for.<br>
<br>
<br>
<br>
<br>
On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey &lt;<a href=3D"mailto:tom@talpe=
y.com" target=3D"_blank">tom@talpey.com</a>&gt; wrote:<br>
<br>
<br>
On 4/19/2017 11:14 AM, Chuck Lever wrote:<br>
Hi Tom-<br>
<br>
On Apr 18, 2017, at 11:08 PM, Tom Talpey &lt;<a href=3D"mailto:tom@talpey.c=
om" target=3D"_blank">tom@talpey.com</a>&gt; wrote:<br>
<br>
I noticed the same thing, and I&#39;ll add that the MUST reject condition<b=
r>
is very confusing because it allows an &quot;or&quot;. In my opinion a MUST=
 is<br>
always a single requirement, never ambiguous.<br>
<br>
I agree this kind of thing is tricky. I wrote it as &quot;the server MUST<b=
r>
reject the RPC&quot;. That&#39;s the single requirement. The choice is how =
the<br>
rejection is conveyed to the client.<br>
<br>
The statement &quot;MUST reject&quot; is not testable. So, while it may be<=
br>
understood what is intended, there is nothing implementable in the<br>
MUST. The &quot;or&quot; is a similar situation, it prescribes a choice, wh=
ich<br>
does not define a protocol.<br>
<br>
Is there some reason you want to allow such a choice? I think you&#39;ll<br=
>
find that, worded properly, it becomes actually much less implementable<br>
and interoperable than you may think.<br>
<br>
The Solaris server can return an RPC-level error in cases like this.<br>
<br>
Well, this is happening because the Solaris server is (probably) just<br>
handing the chunk list up to the RPC layer, and it&#39;s the RPC (XDR)<br>
processing that detects any problem.<br>
<br>
On the other hand, an implementation could do the opposite, it could<br>
process the chunks at the lower layer, before ever invoking RPC<br>
processing. This would naturally lead to a non-RPC error.<br>
<br>
The challenge in defining the protocol is to hide these possibilities.<br>
<br>
I think there are similar choices allowed in rfc5666bis. Let&#39;s say<br>
that in a perfect world, I would go with only ERR_CHUNK, but I&#39;m<br>
documenting existing implementation behavior here.<br>
<br>
I&#39;m not sure it matters to the client: both errors are permanent and<br=
>
the RPC is terminated on the client.<br>
<br>
I&#39;m open to alternatives.<br>
<br>
The icky way to do this is to split into two weak requirements.<br>
<br>
If an NFS version 4 client sends an RPC Call with a Read list that<br>
contains more chunks than an NFS version 4 server is prepared to<br>
process, the server SHOULD reject the request by responding with an<br>
RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The<br>
server MAY reject the RPC with an RDMA_MSG message containing an RPC<br>
Reply with an accept status of GARBAGE_ARGS.<br>
<br>
This at least makes it clear which response is &quot;preferred&quot;. And o=
ne<br>
would hope a future draft would decide.<br>
<br>
I have a second question though. How does the client determine what is<br>
the actual error? As in, how many chunks were allowed? Does the upper<br>
layer have to recover, and if so what are the implications?<br>
<br>
Yes, I know 5667 did not explore this very well. Mea culpa.<br>
<br>
<br>
<br>
Tom.<br>
<br>
<br>
<br>
On 4/18/2017 6:32 PM, karen deitke wrote:<br>
Hi Chuck, its unclear what you mean by &quot;is prepared to process&quot; i=
n the text below.<br>
Other than that, looks good.<br>
<br>
Karen<br>
<br>
5.4.1<br>
If an NFS version 4 client sends an RPC Call with a Write list that<br>
contains more chunks than an NFS version 4 server is prepared to<br>
process, the server MUST reject the RPC by responding with an<br>
RDMA_ERROR message with the rdma_err value set to ERR_CHUNK.<br>
<br>
<br>
If an NFS version 4 client sends an RPC Call with a Read list that<br>
contains more chunks than an NFS version 4 server is prepared to<br>
process, the server MUST reject the RPC by responding with an<br>
RDMA_MSG message containing an RPC Reply with an accept status of<br>
GARBAGE_ARGS, or with an RDMA_ERROR message with the rdma_err value<br>
set to ERR_CHUNK.<br>
<br>
<br>
On 4/18/2017 1:21 PM, David Noveck wrote:<br>
*Overall Evaluation*<br>
*<br>
*<br>
Major improvement over RFC5667.=C2=A0 Almost ready to ship.=C2=A0 No techni=
cal<br>
issues.<br>
<br>
A lot of my comments are basically editorial and are offered on a<br>
take-it-or-lease-it basis.<br>
<br>
I think some clarification in Section 5.4.1 is needed although not<br>
necessarily in the ways suggested below,<br>
<br>
*Comments by Section*<br>
*5.4.1. Multiple DDP-eligible Data Items*<br>
Giventhat READ_PLUS no longer has any DDP-eligible data items, the<br>
situation described in the fifth bullet can no longer arise. I suggest<br>
deleting the bullet.<br>
The penultimate paragraph can be read as applying to some situations<br>
in which it shouldn&#39;t and where the extra chunks would very naturally<b=
r>
ignored. For example, if you had on write chunk together with a READ<br>
operation which failed, the server would have more chunks (i.e. one)<br>
than the number it is prepared to process (i.e. zero). Suggest, as a<br>
possible replacement:<br>
<br>
Normally, when an NFS version 4 client sends an RPC Call with a<br>
Write list that contains multiple chunks. each such, when matched<br>
with a DDP-eligible data item in the response, directs the<br>
placement of the data item as specified by<br>
[I.D.-nfsv4-rfc5666bis]. When there are DDP-eligible data items<br>
matched to write chunks that an NFS version 4 server is not<br>
prepared to process, the server MUST reject the RPC by responding<br>
with an RDMA_ERROR message with the rdma_err value set to ERR_CHUNK.<br>
<br>
With regard to the last paragraph, I am curious that this paragraph,<br>
unlike the previous one, allows GARBGEARGS. Is this so because that<br>
would be allowed if the chunks in question had offsets other than<br>
those that correspond to DDP-eligible data items? If so, please<br>
consider the following possible replacement.<br>
<br>
Normally, when an NFS version 4 client sends an RPC Call with a<br>
Read list that contains multiple chunks, each such, when properly<br>
matched with a DDP-eliigible data item in the request, directs the<br>
fetching of the the data item as specified by<br>
[I.D.-nfsv4-rfc5666bis]. When there are DDP-eligible data items<br>
matched to read chunks that an NFS version 4 server is not<br>
prepared to process, the server MUST reject the RPC by responding<br>
with an RDMA_ERROR message with the rdma_err value set to ERR_CHUNK.<br>
<br>
*5.6. Session-Related Considerations*<br>
In the third sentence of the second paragraph, suggest replacing &quot;no<b=
r>
different&quot; by &quot;not different&quot;.<br>
In the last sentence of the last paragraph, suggest replacing &quot;is not&=
quot;<br>
by &quot;were not&quot;<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
<br>
--<br>
Chuck Lever<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
</blockquote>
<br>
--<br>
Chuck Lever<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
<br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
</blockquote>
<br>
--<br>
Chuck Lever<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
</blockquote>
<br>
--<br>
Chuck Lever<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
<br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
</blockquote>
<br>
--<br>
Chuck Lever<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
<br>
</blockquote>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
</div></div></blockquote></div><br></div>

--001a11448528671ce4054e284bda--


From nobody Thu Apr 27 09:28:17 2017
Return-Path: <chuck.lever@oracle.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 98644129B37 for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 09:28:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.22
X-Spam-Level: 
X-Spam-Status: No, score=-4.22 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 o38fQB05zery for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 09:28:12 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5F9F6129B2E for <nfsv4@ietf.org>; Thu, 27 Apr 2017 09:25:58 -0700 (PDT)
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3RGPvX4005920 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Thu, 27 Apr 2017 16:25:57 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v3RGPvIM030744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Thu, 27 Apr 2017 16:25:57 GMT
Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3RGPuON031277 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 16:25:56 GMT
Received: from dhcp-whq-5op-3rd-and-4th-floor-gen-off-10-211-46-5.usdhcp.oraclecorp.com (/10.211.46.5) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 27 Apr 2017 09:25:56 -0700
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <1451a113-115b-5c43-5cfe-f0c5e21b59d6@talpey.com>
Date: Thu, 27 Apr 2017 09:27:34 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <C91AC1D8-C884-490B-8738-7279DEC0F372@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <F842F8E7-B576-4781-A845-F13317593F88@oracle.com> <1451a113-115b-5c43-5cfe-f0c5e21b59d6@talpey.com>
To: NFSv4 <nfsv4@ietf.org>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: userv0021.oracle.com [156.151.31.71]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/fV7gBlHhNvIXOzLgMa66kPu27KU>
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: Thu, 27 Apr 2017 16:28:16 -0000

> On Apr 27, 2017, at 8:54 AM, Tom Talpey <tom@talpey.com> wrote:
>=20
> On 4/27/2017 11:44 AM, Chuck Lever wrote:
>>=20
>>> On Apr 27, 2017, at 7:20 AM, Tom Talpey <tom@talpey.com> wrote:
>>>=20
>>>> snip:
>>>>   Such implementation limits can constrain the complexity of NFS
>>>>   version 4 COMPOUNDs, limit the number of elements in =
scatter-gather
>>>>   operations, or prevent the use of Kerberos integrity or privacy
>>>>   services.
>>>=20
>>> I like the approach, and the lead-in language looks good. The text
>>> quoted above is just a little bit dark, especially that bit about
>>> preventing krb5i/krb5p. I'd suggest a more active statement to =
replace
>>> the above, including the more prescriptive SHOULD rather than "can".
>>> How about:
>>>=20
>>> "Client implementations SHOULD be prepared to provide mechanisms for
>>> reporting the above errors, and optionally provide configuration to
>>> limit the complexity of NFS version 4 COMPOUNDs, limit the number
>>> of elements in scatter-gather operations, and to avoid other =
possible
>>> sources of RPC-over-RDMA chunk overruns at the peer.
>>>=20
>>> These become especially important when Kerberos integrity or privacy
>>> is in place for the RPC connection. These facilities add payload to
>>> the RPC headers, potentially increasing the complexity of the chunk
>>> manipulation, independent of the upper layer NFS operation. The
>>> implementation SHOULD consider such RPC payload requirements in
>>> addition to the NFS considerations."
>>=20
>> Sure, I can work this in.
>>=20
>> When you say "Client implementations SHOULD ... [report] the above
>> errors" you are talking about reporting them to administrators
>> and/or RPC consumers? I don't think we can use SHOULD in that case.
>=20
> I am agnostic about who to inform. The important thing is that some
> visibility of the error be surfaced. I absolutely don't think an
> arbitrary GARBAGE_ARGS returned to an application that may simply
> choke on it, qualifies.

Right, no client surfaces a protocol element like GARBAGE_ARGS
as it is. The failure of the RPC on the server is reported to
consumers in a way that conforms with the API they use to drive
the requests. So an application running on a POSIX client might
use read(2) or write(2) and get back EIO in this case, because
POSIX allows only a narrow range of error status codes for these
APIs.

That translation is a normal part of RPC client implementations,
so I didn't think I needed to state that explicitly, and thus
was confused about why "Client implementations" was mentioned
above.


>> This feels like implementation advice, not protocol.
>=20
> Correct. But since the protocol creates the problem, the protocol
> definition needs to say something about dealing with it.

Philosophical agreement with that.

> So I believe SHOULD is best.

>> Would "recommend" be enough for this section?
>=20
> The RFC2119 term RECOMMENDED is basically a synonym for SHOULD. It's
> perfectly permissible.

To be clear, I was suggesting lower-case "recommended". IMO
RFC 2119 terminology isn't appropriate for describing
internal APIs or mechanisms that do not appear on the wire.

The typical approach has been to say "The RPC client then
terminates the RPC with an appropriate error status." Which
crisply yet generically describes desired behavior while
avoiding the use of MUST or SHOULD.


> Tom.
>=20
>>=20
>>=20
>>> Feel free to wordsmith further.
>>>=20
>>> Tom.
>>>=20
>>>=20
>>> On 4/26/2017 12:18 PM, Chuck Lever wrote:
>>>>=20
>>>>> On Apr 24, 2017, at 7:30 AM, Chuck Lever <chuck.lever@oracle.com> =
wrote:
>>>>>=20
>>>>>>=20
>>>>>> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
>>>>>>=20
>>>>>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
>>>>>>> I agree that SHOULD/MAY makes things cloudier, and does not
>>>>>>> seem to align with well-defined RFC2119 usage.
>>>>>>>=20
>>>>>>> Another way we've dealt with similar disagreements between
>>>>>>> specification and implementation is to decide that one of
>>>>>>> the implementations is incorrect.
>>>>>>>=20
>>>>>>> Can we agree that:
>>>>>>>=20
>>>>>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
>>>>>>> understandable why it might be returned
>>>>>>>=20
>>>>>>> - RPC clients are already prepared for GARBAGE_ARGS
>>>>>>=20
>>>>>> Are you certain of this?
>>>>>=20
>>>>> GARBAGE_ARGS has been part of the RPC protocol for decades.
>>>>> The two Unix-flavored clients that have NFS/RDMA support can
>>>>> both handle this error.
>>>>=20
>>>> I've confirmed that the only other known NFS/RDMA client
>>>> (Oracle dNFS) properly recognizes GARBAGE_ARGS.
>>>>=20
>>>>=20
>>>>>> And out of curiosity, what is returned
>>>>>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
>>>>>=20
>>>>> RFC 5531:
>>>>>> GARBAGE_ARGS  =3D 4, /* procedure can=E2=80=99t decode params   =
*/
>>>>>=20
>>>>>=20
>>>>> GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
>>>>> with accept_stat GARBAGE_ARGS. An XID is available in the
>>>>> header.
>>>>>=20
>>>>> rfc5666bis:
>>>>>> If the rdma_vers field contains a recognized value, but an
>>>>>> XDR parsing error occurs, the responder MUST reply with an
>>>>>> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
>>>>>=20
>>>>>=20
>>>>> ERR_CHUNK is a transport level error. An XID is available
>>>>> in the header.
>>>>>=20
>>>>> The difference is that the RPC layer v. the transport layer
>>>>> are reporting they don't understand the contents of the
>>>>> message (Call). There is nothing more in either type of
>>>>> message.
>>>>>=20
>>>>>=20
>>>>>>> - In RPC-over-RDMA Version One, we are not trying to recover
>>>>>>> (in the sense of resending a simpler COMPOUND) but are rather
>>>>>>> trying to ensure the offending RPC is properly terminated on
>>>>>>> the client, and does not further block other RPCs or deadlock
>>>>>>> the transport
>>>>>>>=20
>>>>>>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
>>>>>>> instead of ERR_CHUNK.
>>>>>>=20
>>>>>> "Harmless" is a bit relative. The operation fails, through no =
fault
>>>>>> of the consumer. And, frankly, in a very mysterious way.
>>>>>=20
>>>>> We have no richer way of communicating failure in RPC-over-RDMA
>>>>> Version One. We are not looking for recovery here, so I don't
>>>>> believe any more information would be useful. If the server
>>>>> wishes, it can log the failure with a message explaining what
>>>>> went wrong.
>>>>>=20
>>>>>=20
>>>>>> Again, I think there is more to say here. It's a limitation of =
the
>>>>>> protocol whose implications should be made clear (contraining the
>>>>>> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
>>>>>=20
>>>>> I'd welcome any suggested text.
>>>>>=20
>>>>> Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
>>>>> RPC-over-RDMA have a sophisticated mechanism to communicate this
>>>>> kind of limitation. The best an NFSv4 server can do is return
>>>>> NFS4ERR_RESOURCE, which also carries little extra information
>>>>> about what a client should do to recover.
>>>>>=20
>>>>> So are you comfortable with eliminating GARBAGE_ARGS if we can
>>>>> come up with more detail about the impact of not knowing how
>>>>> complex a COMPOUND can be?
>>>>=20
>>>> I've come up with some possible replacement text for
>>>> the final two paragraphs of S5.4.1 in an attempt to
>>>> address comments from Tom, David, and Karen. The
>>>> normative requirements have been removed, and a (brief)
>>>> discussion of the consequences of not handling complex
>>>> COMPOUNDs was introduced.
>>>>=20
>>>>=20
>>>> 5.4.2.  Complexity Considerations
>>>>=20
>>>>  As mentioned above, an NFS version 4 COMPOUND procedure can =
contain
>>>>  more than one operation that carries a DDP-eligible data item.  =
The
>>>>  RPC-over-RDMA Version One protocol does not place any limit on the
>>>>  number of chunks that may appear in the Read or Write lists.
>>>>  Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
>>>>  Version One message containing more than one Read chunk or Write
>>>>  chunk.
>>>>=20
>>>>  However, implementations have practical limits on the number of
>>>>  chunks or segments they are prepared to process in one of these
>>>>  lists.  There are several ways an NFS Version 4 server might =
indicate
>>>>  that an RPC Call message constructed by a client is valid but =
cannot
>>>>  be processed because of implementation limitations:
>>>>=20
>>>>  o  If the problem is detected in the upper layer (i.e., by the NFS
>>>>     version 4 implementation), the server returns an NFS status of
>>>>     NFS4ERR_RESOURCE.
>>>>=20
>>>>  o  If the problem is detected during XDR decoding of the request
>>>>     (e.g., during re-assembly of the Call message by the RPC =
layer),
>>>>     the server returns an RPC accept_stat of GARBAGE_ARGS.
>>>>=20
>>>>  o  If the problem is detected at the transport layer (i.e., during
>>>>     transport header processing), the server returns an RDMA_ERROR
>>>>     message with the err_code field set to ERR_CHUNK.
>>>>=20
>>>>  Such implementation limits can constrain the complexity of NFS
>>>>  version 4 COMPOUNDs, limit the number of elements in =
scatter-gather
>>>>  operations, or prevent the use of Kerberos integrity or privacy
>>>>  services.
>>>>=20
>>>>=20
>>>> Comments, opinions on this approach?
>>>>=20
>>>>=20
>>>>>> Tom.
>>>>>>=20
>>>>>>=20
>>>>>>>=20
>>>>>>> As a result, I can change the Read list text in S5.4.1 to be
>>>>>>> the same as the Write list text, removing the mention of
>>>>>>> GARBAGE_ARGS.
>>>>>>>=20
>>>>>>> Would that sit comfortably with everyone?
>>>>>>>=20
>>>>>>>=20
>>>>>>>> On Apr 20, 2017, at 7:21 PM, David Noveck =
<davenoveck@gmail.com> wrote:
>>>>>>>>=20
>>>>>>>>> The "or" is a similar situation, it prescribes a choice, which
>>>>>>>>> does not define a protocol.
>>>>>>>>=20
>>>>>>>> Fair enough, but the point that needs to be made is that, with
>>>>>>>> regard to Version One, Chuck and  the working group is not
>>>>>>>> free to define a protocol.  As a result we have the kind of
>>>>>>>> ugliness you object to, but it is inherent in the choice to try =
to
>>>>>>>> revive Version One as-is.
>>>>>>>>=20
>>>>>>>>> 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 SHOULD reject the request by responding =
with an
>>>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. =
The
>>>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing =
an RPC
>>>>>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>>>>>=20
>>>>>>>> I think I know what you intend here and I've seen stuff like =
this in RFCs but I don't
>>>>>>>> wthink e can do this because this is not in line with the =
definitions of "SHOULD"
>>>>>>>> and "MAY" that appear in RFC2119.
>>>>>>>>=20
>>>>>>>> "SHOULD" means that you are supposed to do something but can =
avoid it if
>>>>>>>> you have a good reason and are aware of the consequences of not =
doing it.
>>>>>>>> In this case the "good" reason is that someone coded the =
implementation
>>>>>>>> to do something else, which is not all that good a reason.  The =
consequences of
>>>>>>>> returning the GARBAGEARGS are exactly zero, since the client =
has to be prepared
>>>>>>>> for either it or ERR_CHUNK.
>>>>>>>>=20
>>>>>>>> "MAY" means the implementation can choose to do the action or =
not, which is line
>>>>>>>> with the reality here but essentially contradicts the SHOULD.
>>>>>>>>=20
>>>>>>>>> This at least makes it clear which response is "preferred".
>>>>>>>>=20
>>>>>>>> But it is isn't really the job of the RFC2119 terms to say =
which is "preferred" or
>>>>>>>> "'preferred'".  These terms are supposed to describe =
interoperability and the
>>>>>>>> interoperability situation is that the server MUST return =
ERR_CHUNK or
>>>>>>>> GARBAGEARGS and the client needs to be prepared for either.  =
That is the
>>>>>>>> unpleasant reality.  If you want to indicate a preference, you =
can say something
>>>>>>>> like:
>>>>>>>> 	=E2=80=A2 Returning ERR_CHUNK is preferrable.
>>>>>>>> 	=E2=80=A2 Returinng ERR_CHUNK is more in line with the =
appropriate protocol layering since this issue relates to a limitation =
of the transport implementation.
>>>>>>>> 	=E2=80=A2 Use of GARBAGEARGS is an unfortunate artifact =
of inappropriately layered implementations and is only allowed for =
reasons of compatibility with existing implementations.  It is desirable =
to avoid it.
>>>>>>>>> And one would hope a future draft would decide.
>>>>>>>>=20
>>>>>>>> Not sure what draft you are thinking of.  I don't see us doing =
an rfc5667bisbis (rfc5667tris).
>>>>>>>>=20
>>>>>>>> By the time we did that, the implementations with these =
restrictions will probably be gone.
>>>>>>>>=20
>>>>>>>>> I have a second question though. How does the client determine =
what is
>>>>>>>>> the actual error? As in, how many chunks were allowed?
>>>>>>>>=20
>>>>>>>> This is not fixable in Version One.  It would be in Version =
Two, but by then
>>>>>>>> the need will probably be gone.
>>>>>>>>=20
>>>>>>>>> Does the upper
>>>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>>>=20
>>>>>>>> I think something could be put in to indicate that clients =
should break up COMPOUNDS
>>>>>>>> so the only have a single chunk each.
>>>>>>>>=20
>>>>>>>>> Yes, I know 5667 did not explore this very well.
>>>>>>>>=20
>>>>>>>> It didn't explore it at all.  And 5666's error reporting =
facilities were extremely limited.
>>>>>>>>=20
>>>>>>>>> Mea culpa.
>>>>>>>>=20
>>>>>>>> I don'tt think you have anything to apologize for.
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> =
wrote:
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
>>>>>>>> Hi Tom-
>>>>>>>>=20
>>>>>>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> =
wrote:
>>>>>>>>=20
>>>>>>>> I noticed the same thing, and I'll add that the MUST reject =
condition
>>>>>>>> is very confusing because it allows an "or". In my opinion a =
MUST is
>>>>>>>> always a single requirement, never ambiguous.
>>>>>>>>=20
>>>>>>>> I agree this kind of thing is tricky. I wrote it as "the server =
MUST
>>>>>>>> reject the RPC". That's the single requirement. The choice is =
how the
>>>>>>>> rejection is conveyed to the client.
>>>>>>>>=20
>>>>>>>> The statement "MUST reject" is not testable. So, while it may =
be
>>>>>>>> understood what is intended, there is nothing implementable in =
the
>>>>>>>> MUST. The "or" is a similar situation, it prescribes a choice, =
which
>>>>>>>> does not define a protocol.
>>>>>>>>=20
>>>>>>>> Is there some reason you want to allow such a choice? I think =
you'll
>>>>>>>> find that, worded properly, it becomes actually much less =
implementable
>>>>>>>> and interoperable than you may think.
>>>>>>>>=20
>>>>>>>> The Solaris server can return an RPC-level error in cases like =
this.
>>>>>>>>=20
>>>>>>>> Well, this is happening because the Solaris server is =
(probably) just
>>>>>>>> handing the chunk list up to the RPC layer, and it's the RPC =
(XDR)
>>>>>>>> processing that detects any problem.
>>>>>>>>=20
>>>>>>>> On the other hand, an implementation could do the opposite, it =
could
>>>>>>>> process the chunks at the lower layer, before ever invoking RPC
>>>>>>>> processing. This would naturally lead to a non-RPC error.
>>>>>>>>=20
>>>>>>>> The challenge in defining the protocol is to hide these =
possibilities.
>>>>>>>>=20
>>>>>>>> I think there are similar choices allowed in rfc5666bis. Let's =
say
>>>>>>>> that in a perfect world, I would go with only ERR_CHUNK, but =
I'm
>>>>>>>> documenting existing implementation behavior here.
>>>>>>>>=20
>>>>>>>> I'm not sure it matters to the client: both errors are =
permanent and
>>>>>>>> the RPC is terminated on the client.
>>>>>>>>=20
>>>>>>>> I'm open to alternatives.
>>>>>>>>=20
>>>>>>>> The icky way to do this is to split into two weak requirements.
>>>>>>>>=20
>>>>>>>> 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 SHOULD reject the request by responding =
with an
>>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. =
The
>>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing =
an RPC
>>>>>>>> Reply with an accept status of GARBAGE_ARGS.
>>>>>>>>=20
>>>>>>>> This at least makes it clear which response is "preferred". And =
one
>>>>>>>> would hope a future draft would decide.
>>>>>>>>=20
>>>>>>>> I have a second question though. How does the client determine =
what is
>>>>>>>> the actual error? As in, how many chunks were allowed? Does the =
upper
>>>>>>>> layer have to recover, and if so what are the implications?
>>>>>>>>=20
>>>>>>>> Yes, I know 5667 did not explore this very well. Mea culpa.
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>> Tom.
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>> On 4/18/2017 6:32 PM, karen deitke wrote:
>>>>>>>> Hi Chuck, its unclear what you mean by "is prepared to process" =
in the text below.
>>>>>>>> Other than that, looks good.
>>>>>>>>=20
>>>>>>>> Karen
>>>>>>>>=20
>>>>>>>> 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.
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>> 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.
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>> On 4/18/2017 1:21 PM, David Noveck wrote:
>>>>>>>> *Overall Evaluation*
>>>>>>>> *
>>>>>>>> *
>>>>>>>> Major improvement over RFC5667.  Almost ready to ship.  No =
technical
>>>>>>>> issues.
>>>>>>>>=20
>>>>>>>> A lot of my comments are basically editorial and are offered on =
a
>>>>>>>> take-it-or-lease-it basis.
>>>>>>>>=20
>>>>>>>> I think some clarification in Section 5.4.1 is needed although =
not
>>>>>>>> necessarily in the ways suggested below,
>>>>>>>>=20
>>>>>>>> *Comments by Section*
>>>>>>>> *5.4.1. Multiple DDP-eligible Data Items*
>>>>>>>> Giventhat 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:
>>>>>>>>=20
>>>>>>>> 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.
>>>>>>>>=20
>>>>>>>> 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.
>>>>>>>>=20
>>>>>>>> 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.
>>>>>>>>=20
>>>>>>>> *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"
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>> _______________________________________________
>>>>>>>> nfsv4 mailing list
>>>>>>>> nfsv4@ietf.org
>>>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>> _______________________________________________
>>>>>>>> nfsv4 mailing list
>>>>>>>> nfsv4@ietf.org
>>>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>> _______________________________________________
>>>>>>>> nfsv4 mailing list
>>>>>>>> nfsv4@ietf.org
>>>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>>>>=20
>>>>>>>> --
>>>>>>>> Chuck Lever
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>> _______________________________________________
>>>>>>>> nfsv4 mailing list
>>>>>>>> nfsv4@ietf.org
>>>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>>=20
>>>>>>>> _______________________________________________
>>>>>>>> nfsv4 mailing list
>>>>>>>> nfsv4@ietf.org
>>>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>>>>=20
>>>>>>>> _______________________________________________
>>>>>>>> nfsv4 mailing list
>>>>>>>> nfsv4@ietf.org
>>>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>>>=20
>>>>>>> --
>>>>>>> Chuck Lever
>>>>>>>=20
>>>>>>>=20
>>>>>>>=20
>>>>>>> _______________________________________________
>>>>>>> nfsv4 mailing list
>>>>>>> nfsv4@ietf.org
>>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>>>=20
>>>>>>=20
>>>>>> _______________________________________________
>>>>>> nfsv4 mailing list
>>>>>> nfsv4@ietf.org
>>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>>=20
>>>>> --
>>>>> Chuck Lever
>>>>>=20
>>>>>=20
>>>>>=20
>>>>> _______________________________________________
>>>>> nfsv4 mailing list
>>>>> nfsv4@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>=20
>>>> --
>>>> Chuck Lever
>>>>=20
>>>>=20
>>>>=20
>>>> _______________________________________________
>>>> nfsv4 mailing list
>>>> nfsv4@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>>>=20
>>>=20
>>> _______________________________________________
>>> nfsv4 mailing list
>>> nfsv4@ietf.org
>>> https://www.ietf.org/mailman/listinfo/nfsv4
>>=20
>> --
>> Chuck Lever
>>=20
>>=20
>>=20
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
>>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

--
Chuck Lever




From nobody Thu Apr 27 10:27:52 2017
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 02D0A129BCA for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 10:27:50 -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 zNLY92FVWkjK for <nfsv4@ietfa.amsl.com>; Thu, 27 Apr 2017 10:27:45 -0700 (PDT)
Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (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 1E0B6129AE8 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 10:24:59 -0700 (PDT)
Received: by mail-io0-x236.google.com with SMTP id r16so29008322ioi.2 for <nfsv4@ietf.org>; Thu, 27 Apr 2017 10:24:59 -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=x4AUoAPSpnUPt2KhwLERbDNRn6zgCEc2kss4Cw+7jgs=; b=AklmdB3bZMM+FFGmzuEuxmKiiwDyGixD6pbLc3L+5rJ4kl+KbnHyhtPQFyy3PTA5yo xYedWSFkKcmQIkzIqio4shtseHgzVvAyOGCu62141cCeOnxBoXywtmfhuPaU+Mj2zlVU k4+f4h453Qyymd89YyG+rYalA1zhh4SUikkhLZabEgEIchWOiPeFVn876n8cGlHhrIsE YCbYMcetqX3vUwJkjIXQixvrq/FBXJxrFVjZZNQmdK5B1paKKck7/Mw8+CET5hvgG982 1Z20MZhrJD0EMcbSvZsqLLXf11yYaHr7tl2Gw690kx4ABNVsRoJpC4lflV/O+JZJ5qwS Yz6g==
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=x4AUoAPSpnUPt2KhwLERbDNRn6zgCEc2kss4Cw+7jgs=; b=Sx7sHPt4soo0x1E/BliwxTsJk2qaFfeIgSaWc894jNuIJ48r6lGfd1Qu7sPiIMw5Sp rq0d19IhP6Yp7knGWYQCgfzAZM1YUyP9ty84m3vnKX3ShIEL5EVyqO3DgU6+Xzp1Guqs AE7ID/a94t7Erj3+CNt77nzntULAWZGEjBPL79Gpc8C7T6tEnI5Fmax3SggYxU8J1XZJ 8eBqzxnDwfOYkuF4Lq/czRvp4zgbu4OvLlgdvcm+XM/2ZvgjGDQ1nwERYV+shB+/aT3d ns6Xls0WMc/2mHveP83zvowJ/5INEXQbTFxqPismyDgmQuhd6AmUduOIHOx89DXr3eSm 0K/g==
X-Gm-Message-State: AN3rC/46XFzRo03zY1iTQVyEm+ofWwB5lAfGsaLr07YgbB3KJwXDyi7I bwDtu+Fgg7t8VIfre967NgXS0x+HVw==
X-Received: by 10.107.8.226 with SMTP id h95mr5895560ioi.163.1493313897582; Thu, 27 Apr 2017 10:24:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Thu, 27 Apr 2017 10:24:56 -0700 (PDT)
In-Reply-To: <C91AC1D8-C884-490B-8738-7279DEC0F372@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <F842F8E7-B576-4781-A845-F13317593F88@oracle.com> <1451a113-115b-5c43-5cfe-f0c5e21b59d6@talpey.com> <C91AC1D8-C884-490B-8738-7279DEC0F372@oracle.com>
From: David Noveck <davenoveck@gmail.com>
Date: Thu, 27 Apr 2017 13:24:56 -0400
Message-ID: <CADaq8jc6X6y5WXuptVevhNopG9Nbfca8FUV6zYCBTADs5ohvag@mail.gmail.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a113f98c2675e03054e293c04
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/kQUbg7FWFyzSgHGbwcveuSOgceU>
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: Thu, 27 Apr 2017 17:27:50 -0000

--001a113f98c2675e03054e293c04
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

> Correct. But since the protocol creates the problem, the protocol
> definition needs to say something about dealing with it.

The protocol did not create this problem.  Up until about a month ago,
the protocol allowed multiple chunks and we believed that the
implementations did as well.

Then we found out that a lot implementations have these restrcctions and we
are
trying to deal with that situation.  The protocol has stayed the same but
we now
know that some implementations have these restrictions.

Even though the protocol did not create this situation, this document is
the only
opportunity we have to tell clients how to deal with these restrictions.


On Thu, Apr 27, 2017 at 12:27 PM, Chuck Lever <chuck.lever@oracle.com>
wrote:

>
> > On Apr 27, 2017, at 8:54 AM, Tom Talpey <tom@talpey.com> wrote:
> >
> > On 4/27/2017 11:44 AM, Chuck Lever wrote:
> >>
> >>> On Apr 27, 2017, at 7:20 AM, Tom Talpey <tom@talpey.com> wrote:
> >>>
> >>>> snip:
> >>>>   Such implementation limits can constrain the complexity of NFS
> >>>>   version 4 COMPOUNDs, limit the number of elements in scatter-gathe=
r
> >>>>   operations, or prevent the use of Kerberos integrity or privacy
> >>>>   services.
> >>>
> >>> I like the approach, and the lead-in language looks good. The text
> >>> quoted above is just a little bit dark, especially that bit about
> >>> preventing krb5i/krb5p. I'd suggest a more active statement to replac=
e
> >>> the above, including the more prescriptive SHOULD rather than "can".
> >>> How about:
> >>>
> >>> "Client implementations SHOULD be prepared to provide mechanisms for
> >>> reporting the above errors, and optionally provide configuration to
> >>> limit the complexity of NFS version 4 COMPOUNDs, limit the number
> >>> of elements in scatter-gather operations, and to avoid other possible
> >>> sources of RPC-over-RDMA chunk overruns at the peer.
> >>>
> >>> These become especially important when Kerberos integrity or privacy
> >>> is in place for the RPC connection. These facilities add payload to
> >>> the RPC headers, potentially increasing the complexity of the chunk
> >>> manipulation, independent of the upper layer NFS operation. The
> >>> implementation SHOULD consider such RPC payload requirements in
> >>> addition to the NFS considerations."
> >>
> >> Sure, I can work this in.
> >>
> >> When you say "Client implementations SHOULD ... [report] the above
> >> errors" you are talking about reporting them to administrators
> >> and/or RPC consumers? I don't think we can use SHOULD in that case.
> >
> > I am agnostic about who to inform. The important thing is that some
> > visibility of the error be surfaced. I absolutely don't think an
> > arbitrary GARBAGE_ARGS returned to an application that may simply
> > choke on it, qualifies.
>
> Right, no client surfaces a protocol element like GARBAGE_ARGS
> as it is. The failure of the RPC on the server is reported to
> consumers in a way that conforms with the API they use to drive
> the requests. So an application running on a POSIX client might
> use read(2) or write(2) and get back EIO in this case, because
> POSIX allows only a narrow range of error status codes for these
> APIs.
>
> That translation is a normal part of RPC client implementations,
> so I didn't think I needed to state that explicitly, and thus
> was confused about why "Client implementations" was mentioned
> above.
>
>
> >> This feels like implementation advice, not protocol.
> >
> > Correct. But since the protocol creates the problem, the protocol
> > definition needs to say something about dealing with it.
>
> Philosophical agreement with that.
>
> > So I believe SHOULD is best.
>
> >> Would "recommend" be enough for this section?
> >
> > The RFC2119 term RECOMMENDED is basically a synonym for SHOULD. It's
> > perfectly permissible.
>
> To be clear, I was suggesting lower-case "recommended". IMO
> RFC 2119 terminology isn't appropriate for describing
> internal APIs or mechanisms that do not appear on the wire.
>
> The typical approach has been to say "The RPC client then
> terminates the RPC with an appropriate error status." Which
> crisply yet generically describes desired behavior while
> avoiding the use of MUST or SHOULD.
>
>
> > Tom.
> >
> >>
> >>
> >>> Feel free to wordsmith further.
> >>>
> >>> Tom.
> >>>
> >>>
> >>> On 4/26/2017 12:18 PM, Chuck Lever wrote:
> >>>>
> >>>>> On Apr 24, 2017, at 7:30 AM, Chuck Lever <chuck.lever@oracle.com>
> wrote:
> >>>>>
> >>>>>>
> >>>>>> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
> >>>>>>
> >>>>>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
> >>>>>>> I agree that SHOULD/MAY makes things cloudier, and does not
> >>>>>>> seem to align with well-defined RFC2119 usage.
> >>>>>>>
> >>>>>>> Another way we've dealt with similar disagreements between
> >>>>>>> specification and implementation is to decide that one of
> >>>>>>> the implementations is incorrect.
> >>>>>>>
> >>>>>>> Can we agree that:
> >>>>>>>
> >>>>>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
> >>>>>>> understandable why it might be returned
> >>>>>>>
> >>>>>>> - RPC clients are already prepared for GARBAGE_ARGS
> >>>>>>
> >>>>>> Are you certain of this?
> >>>>>
> >>>>> GARBAGE_ARGS has been part of the RPC protocol for decades.
> >>>>> The two Unix-flavored clients that have NFS/RDMA support can
> >>>>> both handle this error.
> >>>>
> >>>> I've confirmed that the only other known NFS/RDMA client
> >>>> (Oracle dNFS) properly recognizes GARBAGE_ARGS.
> >>>>
> >>>>
> >>>>>> And out of curiosity, what is returned
> >>>>>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
> >>>>>
> >>>>> RFC 5531:
> >>>>>> GARBAGE_ARGS  =3D 4, /* procedure can=E2=80=99t decode params   */
> >>>>>
> >>>>>
> >>>>> GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
> >>>>> with accept_stat GARBAGE_ARGS. An XID is available in the
> >>>>> header.
> >>>>>
> >>>>> rfc5666bis:
> >>>>>> If the rdma_vers field contains a recognized value, but an
> >>>>>> XDR parsing error occurs, the responder MUST reply with an
> >>>>>> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
> >>>>>
> >>>>>
> >>>>> ERR_CHUNK is a transport level error. An XID is available
> >>>>> in the header.
> >>>>>
> >>>>> The difference is that the RPC layer v. the transport layer
> >>>>> are reporting they don't understand the contents of the
> >>>>> message (Call). There is nothing more in either type of
> >>>>> message.
> >>>>>
> >>>>>
> >>>>>>> - In RPC-over-RDMA Version One, we are not trying to recover
> >>>>>>> (in the sense of resending a simpler COMPOUND) but are rather
> >>>>>>> trying to ensure the offending RPC is properly terminated on
> >>>>>>> the client, and does not further block other RPCs or deadlock
> >>>>>>> the transport
> >>>>>>>
> >>>>>>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
> >>>>>>> instead of ERR_CHUNK.
> >>>>>>
> >>>>>> "Harmless" is a bit relative. The operation fails, through no faul=
t
> >>>>>> of the consumer. And, frankly, in a very mysterious way.
> >>>>>
> >>>>> We have no richer way of communicating failure in RPC-over-RDMA
> >>>>> Version One. We are not looking for recovery here, so I don't
> >>>>> believe any more information would be useful. If the server
> >>>>> wishes, it can log the failure with a message explaining what
> >>>>> went wrong.
> >>>>>
> >>>>>
> >>>>>> Again, I think there is more to say here. It's a limitation of the
> >>>>>> protocol whose implications should be made clear (contraining the
> >>>>>> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
> >>>>>
> >>>>> I'd welcome any suggested text.
> >>>>>
> >>>>> Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
> >>>>> RPC-over-RDMA have a sophisticated mechanism to communicate this
> >>>>> kind of limitation. The best an NFSv4 server can do is return
> >>>>> NFS4ERR_RESOURCE, which also carries little extra information
> >>>>> about what a client should do to recover.
> >>>>>
> >>>>> So are you comfortable with eliminating GARBAGE_ARGS if we can
> >>>>> come up with more detail about the impact of not knowing how
> >>>>> complex a COMPOUND can be?
> >>>>
> >>>> I've come up with some possible replacement text for
> >>>> the final two paragraphs of S5.4.1 in an attempt to
> >>>> address comments from Tom, David, and Karen. The
> >>>> normative requirements have been removed, and a (brief)
> >>>> discussion of the consequences of not handling complex
> >>>> COMPOUNDs was introduced.
> >>>>
> >>>>
> >>>> 5.4.2.  Complexity Considerations
> >>>>
> >>>>  As mentioned above, an NFS version 4 COMPOUND procedure can contain
> >>>>  more than one operation that carries a DDP-eligible data item.  The
> >>>>  RPC-over-RDMA Version One protocol does not place any limit on the
> >>>>  number of chunks that may appear in the Read or Write lists.
> >>>>  Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
> >>>>  Version One message containing more than one Read chunk or Write
> >>>>  chunk.
> >>>>
> >>>>  However, implementations have practical limits on the number of
> >>>>  chunks or segments they are prepared to process in one of these
> >>>>  lists.  There are several ways an NFS Version 4 server might indica=
te
> >>>>  that an RPC Call message constructed by a client is valid but canno=
t
> >>>>  be processed because of implementation limitations:
> >>>>
> >>>>  o  If the problem is detected in the upper layer (i.e., by the NFS
> >>>>     version 4 implementation), the server returns an NFS status of
> >>>>     NFS4ERR_RESOURCE.
> >>>>
> >>>>  o  If the problem is detected during XDR decoding of the request
> >>>>     (e.g., during re-assembly of the Call message by the RPC layer),
> >>>>     the server returns an RPC accept_stat of GARBAGE_ARGS.
> >>>>
> >>>>  o  If the problem is detected at the transport layer (i.e., during
> >>>>     transport header processing), the server returns an RDMA_ERROR
> >>>>     message with the err_code field set to ERR_CHUNK.
> >>>>
> >>>>  Such implementation limits can constrain the complexity of NFS
> >>>>  version 4 COMPOUNDs, limit the number of elements in scatter-gather
> >>>>  operations, or prevent the use of Kerberos integrity or privacy
> >>>>  services.
> >>>>
> >>>>
> >>>> Comments, opinions on this approach?
> >>>>
> >>>>
> >>>>>> Tom.
> >>>>>>
> >>>>>>
> >>>>>>>
> >>>>>>> As a result, I can change the Read list text in S5.4.1 to be
> >>>>>>> the same as the Write list text, removing the mention of
> >>>>>>> GARBAGE_ARGS.
> >>>>>>>
> >>>>>>> Would that sit comfortably with everyone?
> >>>>>>>
> >>>>>>>
> >>>>>>>> On Apr 20, 2017, at 7:21 PM, David Noveck <davenoveck@gmail.com>
> wrote:
> >>>>>>>>
> >>>>>>>>> The "or" is a similar situation, it prescribes a choice, which
> >>>>>>>>> does not define a protocol.
> >>>>>>>>
> >>>>>>>> Fair enough, but the point that needs to be made is that, with
> >>>>>>>> regard to Version One, Chuck and  the working group is not
> >>>>>>>> free to define a protocol.  As a result we have the kind of
> >>>>>>>> ugliness you object to, but it is inherent in the choice to try =
to
> >>>>>>>> revive Version One as-is.
> >>>>>>>>
> >>>>>>>>> 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 t=
o
> >>>>>>>>> process, the server SHOULD reject the request by responding wit=
h
> an
> >>>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. Th=
e
> >>>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing a=
n
> RPC
> >>>>>>>>> Reply with an accept status of GARBAGE_ARGS.
> >>>>>>>>
> >>>>>>>> I think I know what you intend here and I've seen stuff like thi=
s
> in RFCs but I don't
> >>>>>>>> wthink e can do this because this is not in line with the
> definitions of "SHOULD"
> >>>>>>>> and "MAY" that appear in RFC2119.
> >>>>>>>>
> >>>>>>>> "SHOULD" means that you are supposed to do something but can
> avoid it if
> >>>>>>>> you have a good reason and are aware of the consequences of not
> doing it.
> >>>>>>>> In this case the "good" reason is that someone coded the
> implementation
> >>>>>>>> to do something else, which is not all that good a reason.  The
> consequences of
> >>>>>>>> returning the GARBAGEARGS are exactly zero, since the client has
> to be prepared
> >>>>>>>> for either it or ERR_CHUNK.
> >>>>>>>>
> >>>>>>>> "MAY" means the implementation can choose to do the action or
> not, which is line
> >>>>>>>> with the reality here but essentially contradicts the SHOULD.
> >>>>>>>>
> >>>>>>>>> This at least makes it clear which response is "preferred".
> >>>>>>>>
> >>>>>>>> But it is isn't really the job of the RFC2119 terms to say which
> is "preferred" or
> >>>>>>>> "'preferred'".  These terms are supposed to describe
> interoperability and the
> >>>>>>>> interoperability situation is that the server MUST return
> ERR_CHUNK or
> >>>>>>>> GARBAGEARGS and the client needs to be prepared for either.  Tha=
t
> is the
> >>>>>>>> unpleasant reality.  If you want to indicate a preference, you
> can say something
> >>>>>>>> like:
> >>>>>>>>        =E2=80=A2 Returning ERR_CHUNK is preferrable.
> >>>>>>>>        =E2=80=A2 Returinng ERR_CHUNK is more in line with the ap=
propriate
> protocol layering since this issue relates to a limitation of the transpo=
rt
> implementation.
> >>>>>>>>        =E2=80=A2 Use of GARBAGEARGS is an unfortunate artifact o=
f
> inappropriately layered implementations and is only allowed for reasons o=
f
> compatibility with existing implementations.  It is desirable to avoid it=
.
> >>>>>>>>> And one would hope a future draft would decide.
> >>>>>>>>
> >>>>>>>> Not sure what draft you are thinking of.  I don't see us doing a=
n
> rfc5667bisbis (rfc5667tris).
> >>>>>>>>
> >>>>>>>> By the time we did that, the implementations with these
> restrictions will probably be gone.
> >>>>>>>>
> >>>>>>>>> I have a second question though. How does the client determine
> what is
> >>>>>>>>> the actual error? As in, how many chunks were allowed?
> >>>>>>>>
> >>>>>>>> This is not fixable in Version One.  It would be in Version Two,
> but by then
> >>>>>>>> the need will probably be gone.
> >>>>>>>>
> >>>>>>>>> Does the upper
> >>>>>>>>> layer have to recover, and if so what are the implications?
> >>>>>>>>
> >>>>>>>> I think something could be put in to indicate that clients shoul=
d
> break up COMPOUNDS
> >>>>>>>> so the only have a single chunk each.
> >>>>>>>>
> >>>>>>>>> Yes, I know 5667 did not explore this very well.
> >>>>>>>>
> >>>>>>>> It didn't explore it at all.  And 5666's error reporting
> facilities were extremely limited.
> >>>>>>>>
> >>>>>>>>> Mea culpa.
> >>>>>>>>
> >>>>>>>> I don'tt think you have anything to apologize for.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com>
> wrote:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
> >>>>>>>> Hi Tom-
> >>>>>>>>
> >>>>>>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> wrote:
> >>>>>>>>
> >>>>>>>> I noticed the same thing, and I'll add that the MUST reject
> condition
> >>>>>>>> is very confusing because it allows an "or". In my opinion a MUS=
T
> is
> >>>>>>>> always a single requirement, never ambiguous.
> >>>>>>>>
> >>>>>>>> I agree this kind of thing is tricky. I wrote it as "the server
> MUST
> >>>>>>>> reject the RPC". That's the single requirement. The choice is ho=
w
> the
> >>>>>>>> rejection is conveyed to the client.
> >>>>>>>>
> >>>>>>>> The statement "MUST reject" is not testable. So, while it may be
> >>>>>>>> understood what is intended, there is nothing implementable in t=
he
> >>>>>>>> MUST. The "or" is a similar situation, it prescribes a choice,
> which
> >>>>>>>> does not define a protocol.
> >>>>>>>>
> >>>>>>>> Is there some reason you want to allow such a choice? I think
> you'll
> >>>>>>>> find that, worded properly, it becomes actually much less
> implementable
> >>>>>>>> and interoperable than you may think.
> >>>>>>>>
> >>>>>>>> The Solaris server can return an RPC-level error in cases like
> this.
> >>>>>>>>
> >>>>>>>> Well, this is happening because the Solaris server is (probably)
> just
> >>>>>>>> handing the chunk list up to the RPC layer, and it's the RPC (XD=
R)
> >>>>>>>> processing that detects any problem.
> >>>>>>>>
> >>>>>>>> On the other hand, an implementation could do the opposite, it
> could
> >>>>>>>> process the chunks at the lower layer, before ever invoking RPC
> >>>>>>>> processing. This would naturally lead to a non-RPC error.
> >>>>>>>>
> >>>>>>>> The challenge in defining the protocol is to hide these
> possibilities.
> >>>>>>>>
> >>>>>>>> I think there are similar choices allowed in rfc5666bis. Let's s=
ay
> >>>>>>>> that in a perfect world, I would go with only ERR_CHUNK, but I'm
> >>>>>>>> documenting existing implementation behavior here.
> >>>>>>>>
> >>>>>>>> I'm not sure it matters to the client: both errors are permanent
> and
> >>>>>>>> the RPC is terminated on the client.
> >>>>>>>>
> >>>>>>>> I'm open to alternatives.
> >>>>>>>>
> >>>>>>>> The icky way to do this is to split into two weak requirements.
> >>>>>>>>
> >>>>>>>> If an NFS version 4 client sends an RPC Call with a Read list th=
at
> >>>>>>>> contains more chunks than an NFS version 4 server is prepared to
> >>>>>>>> process, the server SHOULD reject the request by responding with
> an
> >>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. The
> >>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing an
> RPC
> >>>>>>>> Reply with an accept status of GARBAGE_ARGS.
> >>>>>>>>
> >>>>>>>> This at least makes it clear which response is "preferred". And
> one
> >>>>>>>> would hope a future draft would decide.
> >>>>>>>>
> >>>>>>>> I have a second question though. How does the client determine
> what is
> >>>>>>>> the actual error? As in, how many chunks were allowed? Does the
> upper
> >>>>>>>> layer have to recover, and if so what are the implications?
> >>>>>>>>
> >>>>>>>> Yes, I know 5667 did not explore this very well. Mea culpa.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Tom.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On 4/18/2017 6:32 PM, karen deitke wrote:
> >>>>>>>> Hi Chuck, its unclear what you mean by "is prepared to process"
> in the text below.
> >>>>>>>> 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 th=
at
> >>>>>>>> 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 o=
f
> >>>>>>>> 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 n=
ot
> >>>>>>>> necessarily in the ways suggested below,
> >>>>>>>>
> >>>>>>>> *Comments by Section*
> >>>>>>>> *5.4.1. Multiple DDP-eligible Data Items*
> >>>>>>>> Giventhat READ_PLUS no longer has any DDP-eligible data items, t=
he
> >>>>>>>> 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 matche=
d
> >>>>>>>> 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 respondin=
g
> >>>>>>>> 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 tha=
n
> >>>>>>>> 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 properl=
y
> >>>>>>>> matched with a DDP-eliigible data item in the request, directs t=
he
> >>>>>>>> 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 respondin=
g
> >>>>>>>> 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 "i=
s
> 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
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> _______________________________________________
> >>>>>>>> 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
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> _______________________________________________
> >>>>>>>> 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
> >>>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> 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
> >>>>
> >>>> --
> >>>> Chuck Lever
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> 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
> >>
> >
> > _______________________________________________
> > 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
>

--001a113f98c2675e03054e293c04
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"color:rgb(80,0,80);font-size:12.8px">&gt; C=
orrect. But since the protocol creates the problem, the protocol</span><br =
style=3D"color:rgb(80,0,80);font-size:12.8px"><span style=3D"color:rgb(80,0=
,80);font-size:12.8px">&gt; definition needs to say something about dealing=
 with it.</span><br><div><span style=3D"color:rgb(80,0,80);font-size:12.8px=
"><br></span></div><div>The protocol did not create this problem.=C2=A0 Up =
until about a month ago,</div><div>the protocol allowed multiple chunks and=
 we believed that the=C2=A0</div><div>implementations did as well.</div><di=
v><br></div><div>Then we found out that a lot implementations have these re=
strcctions and we are</div><div>trying to deal with that situation.=C2=A0 T=
he protocol has stayed the same but we now</div><div>know that some impleme=
ntations have these restrictions.</div><div><br></div><div>Even though the =
protocol did not create this situation, this document is the only</div><div=
>opportunity we have to tell clients how to deal with these restrictions.</=
div><div><br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail=
_quote">On Thu, Apr 27, 2017 at 12:27 PM, Chuck Lever <span dir=3D"ltr">&lt=
;<a href=3D"mailto:chuck.lever@oracle.com" target=3D"_blank">chuck.lever@or=
acle.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div cla=
ss=3D"HOEnZb"><div class=3D"h5"><br>
&gt; On Apr 27, 2017, at 8:54 AM, Tom Talpey &lt;<a href=3D"mailto:tom@talp=
ey.com">tom@talpey.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On 4/27/2017 11:44 AM, Chuck Lever wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; On Apr 27, 2017, at 7:20 AM, Tom Talpey &lt;<a href=3D"mailto:=
tom@talpey.com">tom@talpey.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; snip:<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0Such implementation limits can constrain the c=
omplexity of NFS<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0version 4 COMPOUNDs, limit the number of eleme=
nts in scatter-gather<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0operations, or prevent the use of Kerberos int=
egrity or privacy<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0services.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I like the approach, and the lead-in language looks good. The =
text<br>
&gt;&gt;&gt; quoted above is just a little bit dark, especially that bit ab=
out<br>
&gt;&gt;&gt; preventing krb5i/krb5p. I&#39;d suggest a more active statemen=
t to replace<br>
&gt;&gt;&gt; the above, including the more prescriptive SHOULD rather than =
&quot;can&quot;.<br>
&gt;&gt;&gt; How about:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &quot;Client implementations SHOULD be prepared to provide mec=
hanisms for<br>
&gt;&gt;&gt; reporting the above errors, and optionally provide configurati=
on to<br>
&gt;&gt;&gt; limit the complexity of NFS version 4 COMPOUNDs, limit the num=
ber<br>
&gt;&gt;&gt; of elements in scatter-gather operations, and to avoid other p=
ossible<br>
&gt;&gt;&gt; sources of RPC-over-RDMA chunk overruns at the peer.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; These become especially important when Kerberos integrity or p=
rivacy<br>
&gt;&gt;&gt; is in place for the RPC connection. These facilities add paylo=
ad to<br>
&gt;&gt;&gt; the RPC headers, potentially increasing the complexity of the =
chunk<br>
&gt;&gt;&gt; manipulation, independent of the upper layer NFS operation. Th=
e<br>
&gt;&gt;&gt; implementation SHOULD consider such RPC payload requirements i=
n<br>
&gt;&gt;&gt; addition to the NFS considerations.&quot;<br>
&gt;&gt;<br>
&gt;&gt; Sure, I can work this in.<br>
&gt;&gt;<br>
&gt;&gt; When you say &quot;Client implementations SHOULD ... [report] the =
above<br>
&gt;&gt; errors&quot; you are talking about reporting them to administrator=
s<br>
&gt;&gt; and/or RPC consumers? I don&#39;t think we can use SHOULD in that =
case.<br>
&gt;<br>
&gt; I am agnostic about who to inform. The important thing is that some<br=
>
&gt; visibility of the error be surfaced. I absolutely don&#39;t think an<b=
r>
&gt; arbitrary GARBAGE_ARGS returned to an application that may simply<br>
&gt; choke on it, qualifies.<br>
<br>
</div></div>Right, no client surfaces a protocol element like GARBAGE_ARGS<=
br>
as it is. The failure of the RPC on the server is reported to<br>
consumers in a way that conforms with the API they use to drive<br>
the requests. So an application running on a POSIX client might<br>
use read(2) or write(2) and get back EIO in this case, because<br>
POSIX allows only a narrow range of error status codes for these<br>
APIs.<br>
<br>
That translation is a normal part of RPC client implementations,<br>
so I didn&#39;t think I needed to state that explicitly, and thus<br>
was confused about why &quot;Client implementations&quot; was mentioned<br>
above.<br>
<span class=3D""><br>
<br>
&gt;&gt; This feels like implementation advice, not protocol.<br>
&gt;<br>
&gt; Correct. But since the protocol creates the problem, the protocol<br>
&gt; definition needs to say something about dealing with it.<br>
<br>
</span>Philosophical agreement with that.<br>
<span class=3D""><br>
&gt; So I believe SHOULD is best.<br>
<br>
&gt;&gt; Would &quot;recommend&quot; be enough for this section?<br>
&gt;<br>
&gt; The RFC2119 term RECOMMENDED is basically a synonym for SHOULD. It&#39=
;s<br>
&gt; perfectly permissible.<br>
<br>
</span>To be clear, I was suggesting lower-case &quot;recommended&quot;. IM=
O<br>
RFC 2119 terminology isn&#39;t appropriate for describing<br>
internal APIs or mechanisms that do not appear on the wire.<br>
<br>
The typical approach has been to say &quot;The RPC client then<br>
terminates the RPC with an appropriate error status.&quot; Which<br>
crisply yet generically describes desired behavior while<br>
avoiding the use of MUST or SHOULD.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
&gt; Tom.<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; Feel free to wordsmith further.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Tom.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 4/26/2017 12:18 PM, Chuck Lever wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On Apr 24, 2017, at 7:30 AM, Chuck Lever &lt;<a href=
=3D"mailto:chuck.lever@oracle.com">chuck.lever@oracle.com</a>&gt; wrote:<br=
>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On Apr 24, 2017, at 7:56 AM, Tom Talpey &lt;<a hre=
f=3D"mailto:tom@talpey.com">tom@talpey.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On 4/21/2017 10:43 AM, Chuck Lever wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I agree that SHOULD/MAY makes things cloudier,=
 and does not<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; seem to align with well-defined RFC2119 usage.=
<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Another way we&#39;ve dealt with similar disag=
reements between<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; specification and implementation is to decide =
that one of<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the implementations is incorrect.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Can we agree that:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; - GARBAGE_ARGS is a bit of a layering violatio=
n, though it&#39;s<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; understandable why it might be returned<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; - RPC clients are already prepared for GARBAGE=
_ARGS<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Are you certain of this?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; GARBAGE_ARGS has been part of the RPC protocol for dec=
ades.<br>
&gt;&gt;&gt;&gt;&gt; The two Unix-flavored clients that have NFS/RDMA suppo=
rt can<br>
&gt;&gt;&gt;&gt;&gt; both handle this error.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I&#39;ve confirmed that the only other known NFS/RDMA clie=
nt<br>
&gt;&gt;&gt;&gt; (Oracle dNFS) properly recognizes GARBAGE_ARGS.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; And out of curiosity, what is returned<br>
&gt;&gt;&gt;&gt;&gt;&gt; to the consumer for GARBAGE_ARGS versus ERR_CHUNK?=
<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; RFC 5531:<br>
&gt;&gt;&gt;&gt;&gt;&gt; GARBAGE_ARGS=C2=A0 =3D 4, /* procedure can=E2=80=
=99t decode params=C2=A0 =C2=A0*/<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; GARBAGE_ARGS is an RPC-level error. The reply is &quot=
;accepted&quot;<br>
&gt;&gt;&gt;&gt;&gt; with accept_stat GARBAGE_ARGS. An XID is available in =
the<br>
&gt;&gt;&gt;&gt;&gt; header.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; rfc5666bis:<br>
&gt;&gt;&gt;&gt;&gt;&gt; If the rdma_vers field contains a recognized value=
, but an<br>
&gt;&gt;&gt;&gt;&gt;&gt; XDR parsing error occurs, the responder MUST reply=
 with an<br>
&gt;&gt;&gt;&gt;&gt;&gt; RDMA_ERROR procedure and set the rdma_err value to=
 ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ERR_CHUNK is a transport level error. An XID is availa=
ble<br>
&gt;&gt;&gt;&gt;&gt; in the header.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; The difference is that the RPC layer v. the transport =
layer<br>
&gt;&gt;&gt;&gt;&gt; are reporting they don&#39;t understand the contents o=
f the<br>
&gt;&gt;&gt;&gt;&gt; message (Call). There is nothing more in either type o=
f<br>
&gt;&gt;&gt;&gt;&gt; message.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; - In RPC-over-RDMA Version One, we are not try=
ing to recover<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; (in the sense of resending a simpler COMPOUND)=
 but are rather<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; trying to ensure the offending RPC is properly=
 terminated on<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the client, and does not further block other R=
PCs or deadlock<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the transport<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thus I claim it is harmless if a server return=
s GARBAGE_ARGS<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; instead of ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; &quot;Harmless&quot; is a bit relative. The operat=
ion fails, through no fault<br>
&gt;&gt;&gt;&gt;&gt;&gt; of the consumer. And, frankly, in a very mysteriou=
s way.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; We have no richer way of communicating failure in RPC-=
over-RDMA<br>
&gt;&gt;&gt;&gt;&gt; Version One. We are not looking for recovery here, so =
I don&#39;t<br>
&gt;&gt;&gt;&gt;&gt; believe any more information would be useful. If the s=
erver<br>
&gt;&gt;&gt;&gt;&gt; wishes, it can log the failure with a message explaini=
ng what<br>
&gt;&gt;&gt;&gt;&gt; went wrong.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Again, I think there is more to say here. It&#39;s=
 a limitation of the<br>
&gt;&gt;&gt;&gt;&gt;&gt; protocol whose implications should be made clear (=
contraining the<br>
&gt;&gt;&gt;&gt;&gt;&gt; complexity of COMPOUNDs, limiting scatter/gather l=
engths, etc).<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; I&#39;d welcome any suggested text.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Honestly, I&#39;m not sure what can be said. Neither N=
FSv4.0 nor<br>
&gt;&gt;&gt;&gt;&gt; RPC-over-RDMA have a sophisticated mechanism to commun=
icate this<br>
&gt;&gt;&gt;&gt;&gt; kind of limitation. The best an NFSv4 server can do is=
 return<br>
&gt;&gt;&gt;&gt;&gt; NFS4ERR_RESOURCE, which also carries little extra info=
rmation<br>
&gt;&gt;&gt;&gt;&gt; about what a client should do to recover.<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; So are you comfortable with eliminating GARBAGE_ARGS i=
f we can<br>
&gt;&gt;&gt;&gt;&gt; come up with more detail about the impact of not knowi=
ng how<br>
&gt;&gt;&gt;&gt;&gt; complex a COMPOUND can be?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I&#39;ve come up with some possible replacement text for<b=
r>
&gt;&gt;&gt;&gt; the final two paragraphs of S5.4.1 in an attempt to<br>
&gt;&gt;&gt;&gt; address comments from Tom, David, and Karen. The<br>
&gt;&gt;&gt;&gt; normative requirements have been removed, and a (brief)<br=
>
&gt;&gt;&gt;&gt; discussion of the consequences of not handling complex<br>
&gt;&gt;&gt;&gt; COMPOUNDs was introduced.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 5.4.2.=C2=A0 Complexity Considerations<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 As mentioned above, an NFS version 4 COMPOUND proced=
ure can contain<br>
&gt;&gt;&gt;&gt;=C2=A0 more than one operation that carries a DDP-eligible =
data item.=C2=A0 The<br>
&gt;&gt;&gt;&gt;=C2=A0 RPC-over-RDMA Version One protocol does not place an=
y limit on the<br>
&gt;&gt;&gt;&gt;=C2=A0 number of chunks that may appear in the Read or Writ=
e lists.<br>
&gt;&gt;&gt;&gt;=C2=A0 Therefore an NFS version 4 client MAY construct an R=
PC-over-RDMA<br>
&gt;&gt;&gt;&gt;=C2=A0 Version One message containing more than one Read ch=
unk or Write<br>
&gt;&gt;&gt;&gt;=C2=A0 chunk.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 However, implementations have practical limits on th=
e number of<br>
&gt;&gt;&gt;&gt;=C2=A0 chunks or segments they are prepared to process in o=
ne of these<br>
&gt;&gt;&gt;&gt;=C2=A0 lists.=C2=A0 There are several ways an NFS Version 4=
 server might indicate<br>
&gt;&gt;&gt;&gt;=C2=A0 that an RPC Call message constructed by a client is =
valid but cannot<br>
&gt;&gt;&gt;&gt;=C2=A0 be processed because of implementation limitations:<=
br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 o=C2=A0 If the problem is detected in the upper laye=
r (i.e., by the NFS<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0version 4 implementation), the server r=
eturns an NFS status of<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0NFS4ERR_RESOURCE.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 o=C2=A0 If the problem is detected during XDR decodi=
ng of the request<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0(e.g., during re-assembly of the Call m=
essage by the RPC layer),<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0the server returns an RPC accept_stat o=
f GARBAGE_ARGS.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 o=C2=A0 If the problem is detected at the transport =
layer (i.e., during<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0transport header processing), the serve=
r returns an RDMA_ERROR<br>
&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0message with the err_code field set to =
ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;=C2=A0 Such implementation limits can constrain the complex=
ity of NFS<br>
&gt;&gt;&gt;&gt;=C2=A0 version 4 COMPOUNDs, limit the number of elements in=
 scatter-gather<br>
&gt;&gt;&gt;&gt;=C2=A0 operations, or prevent the use of Kerberos integrity=
 or privacy<br>
&gt;&gt;&gt;&gt;=C2=A0 services.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Comments, opinions on this approach?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; Tom.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; As a result, I can change the Read list text i=
n S5.4.1 to be<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; the same as the Write list text, removing the =
mention of<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; GARBAGE_ARGS.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Would that sit comfortably with everyone?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Apr 20, 2017, at 7:21 PM, David Noveck =
&lt;<a href=3D"mailto:davenoveck@gmail.com">davenoveck@gmail.com</a>&gt; wr=
ote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The &quot;or&quot; is a similar situat=
ion, it prescribes a choice, which<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; does not define a protocol.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Fair enough, but the point that needs to b=
e made is that, with<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; regard to Version One, Chuck and=C2=A0 the=
 working group is not<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; free to define a protocol.=C2=A0 As a resu=
lt we have the kind of<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ugliness you object to, but it is inherent=
 in the choice to try to<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; revive Version One as-is.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; If an NFS version 4 client sends an RP=
C Call with a Read list that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; contains more chunks than an NFS versi=
on 4 server is prepared to<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; process, the server SHOULD reject the =
request by responding with an<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; RDMA_ERROR message with the rdma_err v=
alue set to ERR_CHUNK. The<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; server MAY reject the RPC with an RDMA=
_MSG message containing an RPC<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Reply with an accept status of GARBAGE=
_ARGS.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I think I know what you intend here and I&=
#39;ve seen stuff like this in RFCs but I don&#39;t<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; wthink e can do this because this is not i=
n line with the definitions of &quot;SHOULD&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; and &quot;MAY&quot; that appear in RFC2119=
.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &quot;SHOULD&quot; means that you are supp=
osed to do something but can avoid it if<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; you have a good reason and are aware of th=
e consequences of not doing it.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; In this case the &quot;good&quot; reason i=
s that someone coded the implementation<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; to do something else, which is not all tha=
t good a reason.=C2=A0 The consequences of<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; returning the GARBAGEARGS are exactly zero=
, since the client has to be prepared<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; for either it or ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &quot;MAY&quot; means the implementation c=
an choose to do the action or not, which is line<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; with the reality here but essentially cont=
radicts the SHOULD.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; This at least makes it clear which res=
ponse is &quot;preferred&quot;.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; But it is isn&#39;t really the job of the =
RFC2119 terms to say which is &quot;preferred&quot; or<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &quot;&#39;preferred&#39;&quot;.=C2=A0 The=
se terms are supposed to describe interoperability and the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; interoperability situation is that the ser=
ver MUST return ERR_CHUNK or<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; GARBAGEARGS and the client needs to be pre=
pared for either.=C2=A0 That is the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; unpleasant reality.=C2=A0 If you want to i=
ndicate a preference, you can say something<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; like:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=80=A2 Retur=
ning ERR_CHUNK is preferrable.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=80=A2 Retur=
inng ERR_CHUNK is more in line with the appropriate protocol layering since=
 this issue relates to a limitation of the transport implementation.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=80=A2 Use o=
f GARBAGEARGS is an unfortunate artifact of inappropriately layered impleme=
ntations and is only allowed for reasons of compatibility with existing imp=
lementations.=C2=A0 It is desirable to avoid it.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; And one would hope a future draft woul=
d decide.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Not sure what draft you are thinking of.=
=C2=A0 I don&#39;t see us doing an rfc5667bisbis (rfc5667tris).<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; By the time we did that, the implementatio=
ns with these restrictions will probably be gone.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I have a second question though. How d=
oes the client determine what is<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the actual error? As in, how many chun=
ks were allowed?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; This is not fixable in Version One.=C2=A0 =
It would be in Version Two, but by then<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the need will probably be gone.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Does the upper<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; layer have to recover, and if so what =
are the implications?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I think something could be put in to indic=
ate that clients should break up COMPOUNDS<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; so the only have a single chunk each.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Yes, I know 5667 did not explore this =
very well.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; It didn&#39;t explore it at all.=C2=A0 And=
 5666&#39;s error reporting facilities were extremely limited.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Mea culpa.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I don&#39;tt think you have anything to ap=
ologize for.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpe=
y &lt;<a href=3D"mailto:tom@talpey.com">tom@talpey.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On 4/19/2017 11:14 AM, Chuck Lever wrote:<=
br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi Tom-<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On Apr 18, 2017, at 11:08 PM, Tom Talpey &=
lt;<a href=3D"mailto:tom@talpey.com">tom@talpey.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I noticed the same thing, and I&#39;ll add=
 that the MUST reject condition<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; is very confusing because it allows an &qu=
ot;or&quot;. In my opinion a MUST is<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; always a single requirement, never ambiguo=
us.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I agree this kind of thing is tricky. I wr=
ote it as &quot;the server MUST<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; reject the RPC&quot;. That&#39;s the singl=
e requirement. The choice is how the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; rejection is conveyed to the client.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The statement &quot;MUST reject&quot; is n=
ot testable. So, while it may be<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; understood what is intended, there is noth=
ing implementable in the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; MUST. The &quot;or&quot; is a similar situ=
ation, it prescribes a choice, which<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; does not define a protocol.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is there some reason you want to allow suc=
h a choice? I think you&#39;ll<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; find that, worded properly, it becomes act=
ually much less implementable<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; and interoperable than you may think.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The Solaris server can return an RPC-level=
 error in cases like this.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Well, this is happening because the Solari=
s server is (probably) just<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; handing the chunk list up to the RPC layer=
, and it&#39;s the RPC (XDR)<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; processing that detects any problem.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On the other hand, an implementation could=
 do the opposite, it could<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; process the chunks at the lower layer, bef=
ore ever invoking RPC<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; processing. This would naturally lead to a=
 non-RPC error.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The challenge in defining the protocol is =
to hide these possibilities.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I think there are similar choices allowed =
in rfc5666bis. Let&#39;s say<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; that in a perfect world, I would go with o=
nly ERR_CHUNK, but I&#39;m<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; documenting existing implementation behavi=
or here.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I&#39;m not sure it matters to the client:=
 both errors are permanent and<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the RPC is terminated on the client.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I&#39;m open to alternatives.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The icky way to do this is to split into t=
wo weak requirements.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; If an NFS version 4 client sends an RPC Ca=
ll with a Read list that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; contains more chunks than an NFS version 4=
 server is prepared to<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; process, the server SHOULD reject the requ=
est by responding with an<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; RDMA_ERROR message with the rdma_err value=
 set to ERR_CHUNK. The<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; server MAY reject the RPC with an RDMA_MSG=
 message containing an RPC<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Reply with an accept status of GARBAGE_ARG=
S.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; This at least makes it clear which respons=
e is &quot;preferred&quot;. And one<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; would hope a future draft would decide.<br=
>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I have a second question though. How does =
the client determine what is<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the actual error? As in, how many chunks w=
ere allowed? Does the upper<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; layer have to recover, and if so what are =
the implications?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Yes, I know 5667 did not explore this very=
 well. Mea culpa.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Tom.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On 4/18/2017 6:32 PM, karen deitke wrote:<=
br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi Chuck, its unclear what you mean by &qu=
ot;is prepared to process&quot; in the text below.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Other than that, looks good.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Karen<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 5.4.1<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; If an NFS version 4 client sends an RPC Ca=
ll with a Write list that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; contains more chunks than an NFS version 4=
 server is prepared to<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; process, the server MUST reject the RPC by=
 responding with an<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; RDMA_ERROR message with the rdma_err value=
 set to ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; If an NFS version 4 client sends an RPC Ca=
ll with a Read list that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; contains more chunks than an NFS version 4=
 server is prepared to<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; process, the server MUST reject the RPC by=
 responding with an<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; RDMA_MSG message containing an RPC Reply w=
ith an accept status of<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; GARBAGE_ARGS, or with an RDMA_ERROR messag=
e with the rdma_err value<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; set to ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On 4/18/2017 1:21 PM, David Noveck wrote:<=
br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; *Overall Evaluation*<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; *<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; *<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Major improvement over RFC5667.=C2=A0 Almo=
st ready to ship.=C2=A0 No technical<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; issues.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; A lot of my comments are basically editori=
al and are offered on a<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; take-it-or-lease-it basis.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I think some clarification in Section 5.4.=
1 is needed although not<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; necessarily in the ways suggested below,<b=
r>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; *Comments by Section*<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; *5.4.1. Multiple DDP-eligible Data Items*<=
br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Giventhat READ_PLUS no longer has any DDP-=
eligible data items, the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; situation described in the fifth bullet ca=
n no longer arise. I suggest<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; deleting the bullet.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The penultimate paragraph can be read as a=
pplying to some situations<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; in which it shouldn&#39;t and where the ex=
tra chunks would very naturally<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ignored. For example, if you had on write =
chunk together with a READ<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; operation which failed, the server would h=
ave more chunks (i.e. one)<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; than the number it is prepared to process =
(i.e. zero). Suggest, as a<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; possible replacement:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Normally, when an NFS version 4 client sen=
ds an RPC Call with a<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Write list that contains multiple chunks. =
each such, when matched<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; with a DDP-eligible data item in the respo=
nse, directs the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; placement of the data item as specified by=
<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [I.D.-nfsv4-rfc5666bis]. When there are DD=
P-eligible data items<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; matched to write chunks that an NFS versio=
n 4 server is not<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; prepared to process, the server MUST rejec=
t the RPC by responding<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; with an RDMA_ERROR message with the rdma_e=
rr value set to ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; With regard to the last paragraph, I am cu=
rious that this paragraph,<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; unlike the previous one, allows GARBGEARGS=
. Is this so because that<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; would be allowed if the chunks in question=
 had offsets other than<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; those that correspond to DDP-eligible data=
 items? If so, please<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; consider the following possible replacemen=
t.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Normally, when an NFS version 4 client sen=
ds an RPC Call with a<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Read list that contains multiple chunks, e=
ach such, when properly<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; matched with a DDP-eliigible data item in =
the request, directs the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; fetching of the the data item as specified=
 by<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [I.D.-nfsv4-rfc5666bis]. When there are DD=
P-eligible data items<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; matched to read chunks that an NFS version=
 4 server is not<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; prepared to process, the server MUST rejec=
t the RPC by responding<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; with an RDMA_ERROR message with the rdma_e=
rr value set to ERR_CHUNK.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; *5.6. Session-Related Considerations*<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; In the third sentence of the second paragr=
aph, suggest replacing &quot;no<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; different&quot; by &quot;not different&quo=
t;.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; In the last sentence of the last paragraph=
, suggest replacing &quot;is not&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; by &quot;were not&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_______=
__________<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ie=
tf.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/li=
stinfo/nfsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mai=
lman/<wbr>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_______=
__________<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ie=
tf.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/li=
stinfo/nfsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mai=
lman/<wbr>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_______=
__________<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ie=
tf.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/li=
stinfo/nfsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mai=
lman/<wbr>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Chuck Lever<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_______=
__________<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ie=
tf.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/li=
stinfo/nfsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mai=
lman/<wbr>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_______=
__________<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ie=
tf.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/li=
stinfo/nfsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mai=
lman/<wbr>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_______=
__________<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ie=
tf.org</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/li=
stinfo/nfsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mai=
lman/<wbr>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Chuck Lever<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>___________=
______<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.o=
rg</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listin=
fo/nfsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman=
/<wbr>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_______________=
__<br>
&gt;&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</=
a><br>
&gt;&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/n=
fsv4" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wb=
r>listinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt;&gt; Chuck Lever<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; ______________________________<wbr>_________________<b=
r>
&gt;&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><b=
r>
&gt;&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4=
" rel=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>li=
stinfo/nfsv4</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; Chuck Lever<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" re=
l=3D"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listin=
fo/nfsv4</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt; nfsv4 mailing list<br>
&gt;&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D=
"noreferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/n=
fsv4</a><br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Chuck Lever<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; nfsv4 mailing list<br>
&gt;&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"nor=
eferrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4=
</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; nfsv4 mailing list<br>
&gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"norefer=
rer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4</a>=
<br>
<br>
--<br>
Chuck Lever<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4</a><br>
</div></div></blockquote></div><br></div>

--001a113f98c2675e03054e293c04--


From nobody Fri Apr 28 08:47:32 2017
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 39A1912704B for <nfsv4@ietfa.amsl.com>; Fri, 28 Apr 2017 08:47:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-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 PFAtf9Ltp5JZ for <nfsv4@ietfa.amsl.com>; Fri, 28 Apr 2017 08:47:28 -0700 (PDT)
Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (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 58D6012945A for <nfsv4@ietf.org>; Fri, 28 Apr 2017 08:44:20 -0700 (PDT)
Received: by mail-it0-x229.google.com with SMTP id f187so43831281ite.1 for <nfsv4@ietf.org>; Fri, 28 Apr 2017 08:44:20 -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=92M0E9klg5Nx/JvIqal4DfznG5nKRycDDjK7ZjgIq8w=; b=GlXLNM3TuaHS2E37ArY6GyVyUuoz2VEnNZvO7R8HJdCydqqYNbexlovXPdhM428byG MqJfBiuRmfEdm/uqLyxVxyaumlMuVSP5o1xLKvWmu3liUepYhLcwNslFzzMQf+WYI2Ap J+QtLFfQQTgZNxYBHqqmZ80UVL3ncHVPPYZh83+dYEvu+ZKGfuCknPhq6DxCkCwkvDcy nhltEqQeId2ARvPhuoe2ef5jUj83ojkHMbDidTyEJoQXQ/5jA1dI+xJgPuG/3IpE83OS RPDWJUvC9SoEMMP1+77xaxP7UAfxqEAXv1thi30Nfh2Uz/J6jN7pZ4SqxKb8TUgUUyvO 5v5w==
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=92M0E9klg5Nx/JvIqal4DfznG5nKRycDDjK7ZjgIq8w=; b=Qm9+7HjwLXjfuOyNH1SUupTo5Vmrwywlg4eF/h932HerJRPxA5iE8XYNYglzVoP5KU ceGD8TlKKTByoaRd3D8tOq8MtE4RVuttIMlndY4ePgjvXUBc9nFm6U8BQ8C1MOmqPfz1 2wvObppGpsdIcwrC+pEHSh+LAaLJBzRy02g/zRwONWybKmjJKlwkdaBGSLWLjMlLxL/H gEcXBoytwqOgT+O0NfVvwgGa+UsYxDMr5K8v+nRsIWOZMDEpnC8MTxSdOAdGayV/V23U Fp8vHuhZ3zFTG6mgUQWhgsVCnro/ciVVLX31GTHgvO0OksIKNylji17Hxae5WgpKpLmw KBVA==
X-Gm-Message-State: AN3rC/6V7YMuv6qynuklOx4vg6FLyXQ4445aegbD18uYRCf2y6Zn9iVz 2pe/n3pQ15fNDYoHj4VsA6KWEJ6D+KZ9
X-Received: by 10.36.72.6 with SMTP id p6mr10439537ita.80.1493394259303; Fri, 28 Apr 2017 08:44:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Fri, 28 Apr 2017 08:44:18 -0700 (PDT)
In-Reply-To: <700f84d2-a514-bfa8-7f0b-5ffd4173c16d@talpey.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <6f23e91a-2d66-cbd8-aea9-2753ddfb9b79@oracle.com> <9726D6E8-0A9E-46C9-9DCF-FB2FB492622D@oracle.com> <700f84d2-a514-bfa8-7f0b-5ffd4173c16d@talpey.com>
From: David Noveck <davenoveck@gmail.com>
Date: Fri, 28 Apr 2017 11:44:18 -0400
Message-ID: <CADaq8jf0i-kSMD4xjujt=HOXkk+6Ng2gKFW6izGM7ua2QQjMJQ@mail.gmail.com>
To: Tom Talpey <tom@talpey.com>
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a114448be55ea1a054e3bf227
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/pGXMNZLP9SVc4xOAJlGbrGbPAMM>
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: Fri, 28 Apr 2017 15:47:31 -0000

--001a114448be55ea1a054e3bf227
Content-Type: text/plain; charset=UTF-8

>
> We could do something clever like add these limits to the
> RDMA CM private data.
>

I don't think this is all that "clever".  Calling it "clever' may strengthen
the perception that is a hack, which I don't think it is.  On the plus
side,
it is a reasonable extension of a mechanism that already exists
(i.e. there is running code) and could be reasonably extended.

> Please, no.

If this extension were to be made, it would be done after the existing
I-D becomes a working group draft.   I think your general
objections to this way of passing information can be made as that
issue is considered.

> Placing a message in that data is in itself a protocol,

Agreed

> and the size and support for that data is implementation defined,
>in the RDMA layer.

That's an issue already deal with in the existing I-D.  If
the implementation
does not support this or the size limits are too restrictive, a deafault is
used.  In the event of an extension, the same would apply.  There would
have to be defaults to deal with the case in which extended message is too
long
to be sent.

> If such a parameter exchange is required

The question is not whether it is "required" or "REQUIRED" :-).  The real
question is whether anyone wants to bother to author the needed document.
In other words, I'm looking for volunteers.

> (and remember it needs to go both ways)

I don't see that.  To me, this something that the responder need to
inform the requester of, so that the requester can do the appropriate
thing to avoid getting a mysterious error.

I'm assuming that there is no real need for this on the callback path,
although
there might eventually be.

> just define it as a full-blown negotiation,

I'm not sure there is a place for an actual negotiation, even though many
things
where there is no actual negotiation are described that way.  To me, the
appropriate  approach is for the responder to make its final/only offer on a
take-it-or-leave-it-basis.  that's as close to "negotiation" as it gets.

> at the RPC-RDMA,

This could be done using the framework for transport properties defined in
draft-cel-nfsv4-rpcrdma-version-two-03.


> or better, the NFS layer.

I think this the best choice because the extension mechanism is furthest
along;

   - draft-cel-nfsv4-rpcrdma-version-two is an I-D and moving it to be a WG
   document has even been discussed yet
   - draft-cel-nfsv4-rpcrdma-cm-pvt-msg is an I-D and while there has been
   a discussion of making it a WG document, it still might controversial.
   - draft-ietf-nfsv4-versioning-09 has been through WGLC and is 14 days
   into AD Evaluation.  The fastest way of making this extension available is
   by defining an NFSv4.2 extension referencing the versioining draft
   normatively extension, this doesn't help v4.0 clients.  Sigh!


> There are already some RDMA
> values exchanged in the NFSv4.1 Session establishment, which could
> be extended.

I don't think you can extend this without creating CREATE_SESSION2,
CREATE_SESSION_PLUSPLUS, or, my favorite CREATE_SESSION_2017.

Again, we need a volunteer.  If you think we need this, the way to make it
happen
is to submit and I-D and try to make it happen.


On Thu, Apr 27, 2017 at 11:46 AM, Tom Talpey <tom@talpey.com> wrote:

> On 4/27/2017 11:35 AM, Chuck Lever wrote:
>
>> We could do something clever like add these limits to the
>> RDMA CM private data.
>>
>
> Please, no. Placing a message in that data is in itself a protocol,
> and the size and support for that data is implementation defined,
> in the RDMA layer.
>
> If such a parameter exchange is required (and remember it needs to
> go both ways), just define it as a full-blown negotiation, at the
> RPC-RDMA, or better, the NFS layer. There are already some RDMA
> values exchanged in the NFSv4.1 Session establishment, which could
> be extended.
>
> Tom.
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>

--001a114448be55ea1a054e3bf227
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span class=3D"gmail-m_-7420420398077872829gmail-im" style=
=3D"font-size:12.8px"><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">We =
could do something clever like add these limits to the<br>RDMA CM private d=
ata.<br></blockquote><div><br></div><div>I don&#39;t think this is all that=
 &quot;clever&quot;.=C2=A0 Calling it &quot;clever&#39; may strengthen</div=
><div>the perception that is a hack, which I don&#39;t think it is.=C2=A0 O=
n the plus side,=C2=A0</div><div>it is a=C2=A0<span style=3D"font-size:12.8=
px">reasonable extension of a mechanism that already exists</span></div><di=
v>(i.e. there is running code) and could be reasonably extended.=C2=A0</div=
><br></span><span style=3D"font-size:12.8px">&gt; Please, no.=C2=A0</span><=
div><span style=3D"font-size:12.8px"><br></span></div><div><span style=3D"f=
ont-size:12.8px">If this extension were to be made, it would be done after =
the existing</span></div><div><span style=3D"font-size:12.8px">I-D becomes =
a working group draft. =C2=A0 I think your general</span></div><div><span s=
tyle=3D"font-size:12.8px">objections to this way of passing information=C2=
=A0can be made as that</span></div><div><span style=3D"font-size:12.8px">is=
sue is considered.</span></div><div><span style=3D"font-size:12.8px"><br></=
span></div><div><span style=3D"font-size:12.8px">&gt; Placing a message in =
that data is in itself a protocol,</span></div><div><span style=3D"font-siz=
e:12.8px"><br></span></div><div><span style=3D"font-size:12.8px">Agreed</sp=
an></div><div><br style=3D"font-size:12.8px"><span style=3D"font-size:12.8p=
x">&gt; and the size and support for that data is implementation defined,</=
span><br style=3D"font-size:12.8px"><span style=3D"font-size:12.8px">&gt;in=
 the RDMA layer.</span><br></div><div><span style=3D"font-size:12.8px"><br>=
</span></div><div><span style=3D"font-size:12.8px">That&#39;s an issue alre=
ady deal with in the existing I-D.=C2=A0 If the=C2=A0implementation</span><=
/div><div><span style=3D"font-size:12.8px">does not support this or the siz=
e limits are too restri</span><span style=3D"font-size:12.8px">ctive, a dea=
fault is</span></div><div><span style=3D"font-size:12.8px">used.=C2=A0 In t=
he event of an extension, the same would apply.=C2=A0 There would=C2=A0</sp=
an></div><div><span style=3D"font-size:12.8px">have to be defaults to deal =
with the case in which extended message is too long</span></div><div><span =
style=3D"font-size:12.8px">to be sent.</span></div><div><span style=3D"font=
-size:12.8px"><br></span></div><div><span style=3D"font-size:12.8px">&gt;=
=C2=A0</span><span style=3D"font-size:12.8px">If such a parameter exchange =
is required</span></div><div><span style=3D"font-size:12.8px"><br></span></=
div><div><span style=3D"font-size:12.8px">The question is not whether it is=
 &quot;required&quot; or &quot;REQUIRED&quot; :-).=C2=A0 The real</span></d=
iv><div><span style=3D"font-size:12.8px">question is whether anyone wants t=
o bother to author the needed document.</span></div><div><span style=3D"fon=
t-size:12.8px">In other words, I&#39;m looking for volunteers.</span></div>=
<div><span style=3D"font-size:12.8px"><br></span></div><div><span style=3D"=
font-size:12.8px">&gt; (and remember it needs to=C2=A0</span><span style=3D=
"font-size:12.8px">go both ways)</span></div><div><span style=3D"font-size:=
12.8px"><br></span></div><div><span style=3D"font-size:12.8px">I don&#39;t =
see that.=C2=A0 To me, this something that the responder need to</span></di=
v><div><span style=3D"font-size:12.8px">inform the requester of, so that th=
e requester can do the appropriate</span></div><div><span style=3D"font-siz=
e:12.8px">thing to avoid getting a mysterious error.</span></div><div><span=
 style=3D"font-size:12.8px"><br></span></div><div><span style=3D"font-size:=
12.8px">I&#39;m assuming that there is no real need for this on the callbac=
k path, although</span></div><div><span style=3D"font-size:12.8px">there mi=
ght eventually be.</span></div><div><span style=3D"font-size:12.8px"><br></=
span></div><div><span style=3D"font-size:12.8px">&gt; just define it as a f=
ull-blown negotiation,=C2=A0</span></div><div><span style=3D"font-size:12.8=
px"><br></span></div><div><span style=3D"font-size:12.8px">I&#39;m not sure=
 there is a place for an actual negotiation, even though many things</span>=
</div><div><span style=3D"font-size:12.8px">where there is no actual negoti=
ation are described that way.=C2=A0 To me, the</span></div><div><span style=
=3D"font-size:12.8px">appropriate =C2=A0approach is for the responder to ma=
ke its final/only offer on a</span></div><div><span style=3D"font-size:12.8=
px">take-it-or-leave-it-basis. =C2=A0that&#39;s as close to &quot;negotiati=
on&quot; as it gets.</span></div><div><span style=3D"font-size:12.8px"><br>=
</span></div><div><span style=3D"font-size:12.8px">&gt; at the=C2=A0</span>=
<span style=3D"font-size:12.8px">RPC-RDMA,=C2=A0</span></div><div><span sty=
le=3D"font-size:12.8px"><br></span></div><div><span style=3D"font-size:12.8=
px">This could be done using the framework for transport properties defined=
 in</span></div><div><span style=3D"font-size:12.8px">draft-cel-nfsv4-rpcrd=
ma-version-two-03.</span></div><div><span style=3D"font-size:12.8px"><br></=
span></div><div><span style=3D"font-size:12.8px"><br></span></div><div></di=
v><div><span style=3D"font-size:12.8px">&gt; or better, the NFS layer.=C2=
=A0</span></div><div><span style=3D"font-size:12.8px"><br></span></div><div=
><span style=3D"font-size:12.8px">I think this the best choice because the =
extension mechanism is furthest along;</span></div><div><ul><li><span style=
=3D"font-size:12.8px">draft-cel-nfsv4-rpcrdma-version-two is an I-D and mov=
ing it to be a WG document has even been discussed yet</span></li><li><span=
 style=3D"font-size:12.8px">draft-cel-nfsv4-rpcrdma-cm-pvt-msg is an I-D an=
d while there has been a discussion of making it a WG document, it still mi=
ght controversial.</span></li><li><span style=3D"font-size:12.8px">draft-ie=
tf-nfsv4-versioning-09 has been through WGLC and is 14 days into AD Evaluat=
ion.=C2=A0 The fastest way of making this extension available is by definin=
g an NFSv4.2 extension referencing the versioining draft normatively extens=
ion, this doesn&#39;t help v4.0 clients.=C2=A0 Sigh!</span></li></ul></div>=
<div><span style=3D"font-size:12.8px"><br></span></div><div><span style=3D"=
font-size:12.8px">&gt; There are already some RDMA</span></div><span style=
=3D"font-size:12.8px">&gt; values exchanged in the NFSv4.1 Session establis=
hment, which could</span><br style=3D"font-size:12.8px"><span style=3D"font=
-size:12.8px">&gt; be extended.</span><div><span style=3D"font-size:12.8px"=
><br></span></div><div><span style=3D"font-size:12.8px">I don&#39;t think y=
ou can extend this without creating CREATE_SESSION2,=C2=A0</span></div><div=
><span style=3D"font-size:12.8px">CREATE_SESSION_PLUSPLUS, or, my favorite =
CREATE_SESSION_2017.</span></div><div><span style=3D"font-size:12.8px"><br>=
</span></div><div><span style=3D"font-size:12.8px">Again, we need a volunte=
er.=C2=A0 If you think we need this, the way to make it happen</span></div>=
<div><span style=3D"font-size:12.8px">is to submit and I-D and try to make =
it happen.</span></div><div><span style=3D"font-size:12.8px"><br></span><di=
v class=3D"gmail-m_-7420420398077872829gmail-yj6qo gmail-m_-742042039807787=
2829gmail-ajU" style=3D"font-size:12.8px"><div id=3D"gmail-m_-7420420398077=
872829gmail-:vi" class=3D"gmail-m_-7420420398077872829gmail-ajR"><img class=
=3D"gmail-m_-7420420398077872829gmail-ajT" src=3D"https://ssl.gstatic.com/u=
i/v1/icons/mail/images/cleardot.gif" style=3D"opacity: 0.3;"></div></div></=
div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu,=
 Apr 27, 2017 at 11:46 AM, Tom Talpey <span dir=3D"ltr">&lt;<a href=3D"mail=
to:tom@talpey.com" target=3D"_blank">tom@talpey.com</a>&gt;</span> wrote:<b=
r><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex"><span class=3D"">On 4/27/2017 11:35 AM, Ch=
uck Lever wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
We could do something clever like add these limits to the<br>
RDMA CM private data.<br>
</blockquote>
<br></span>
Please, no. Placing a message in that data is in itself a protocol,<br>
and the size and support for that data is implementation defined,<br>
in the RDMA layer.<br>
<br>
If such a parameter exchange is required (and remember it needs to<br>
go both ways), just define it as a full-blown negotiation, at the<br>
RPC-RDMA, or better, the NFS layer. There are already some RDMA<br>
values exchanged in the NFSv4.1 Session establishment, which could<br>
be extended.<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
Tom.</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv4</a><br>
</div></div></blockquote></div><br></div>

--001a114448be55ea1a054e3bf227--


From nobody Fri Apr 28 10:35:37 2017
Return-Path: <chuck.lever@oracle.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 6498212952E for <nfsv4@ietfa.amsl.com>; Fri, 28 Apr 2017 10:35:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.222
X-Spam-Level: 
X-Spam-Status: No, score=-4.222 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 tOFEAw9g6avI for <nfsv4@ietfa.amsl.com>; Fri, 28 Apr 2017 10:35:31 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 80CC4127909 for <nfsv4@ietf.org>; Fri, 28 Apr 2017 10:32:24 -0700 (PDT)
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v3SHWNRL032280 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Fri, 28 Apr 2017 17:32:24 GMT
Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v3SHWNVg002431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <nfsv4@ietf.org>; Fri, 28 Apr 2017 17:32:23 GMT
Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v3SHWNHu003916 for <nfsv4@ietf.org>; Fri, 28 Apr 2017 17:32:23 GMT
Received: from [192.168.9.241] (/64.134.232.14) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 28 Apr 2017 10:32:23 -0700
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <CADaq8jc6X6y5WXuptVevhNopG9Nbfca8FUV6zYCBTADs5ohvag@mail.gmail.com>
Date: Fri, 28 Apr 2017 10:32:22 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <F7941956-149D-4B4C-B793-444FC61A9517@oracle.com>
References: <CADaq8jdkGgL+H-yoO-+bTNbSYiE_1us9cN5SXY8QV0gfYfK0Ng@mail.gmail.com> <ce42960d-d1e9-8fa6-e98e-3e9b1a2af7d6@oracle.com> <f66e8e66-ba54-ff57-945a-7951eab2f8b1@talpey.com> <BB65A737-BDBD-4A23-9CEE-2EA153293842@oracle.com> <33468014-6695-a2da-1af8-f1f355fbe986@talpey.com> <CADaq8jcJJQ3TiVX6fFURg22YgNg=Cd7ezNQewjt6fgNK4LrPVg@mail.gmail.com> <F417EA11-D49F-420D-A64F-AE6A382B920C@oracle.com> <7213a956-6157-d0a6-432d-1da8d555d8e9@talpey.com> <A7BB8A22-53E3-4910-A6DE-C6103343D309@oracle.com> <6974E7E7-051B-4F28-A61A-DF6F841B248B@oracle.com> <af6ed8c5-6a7d-08ed-590b-1774f34e05f2@talpey.com> <F842F8E7-B576-4781-A845-F13317593F88@oracle.com> <1451a113-115b-5c43-5cfe-f0c5e21b59d6@talpey.com> <C91AC1D8-C884-490B-8738-7279DEC0F372@oracle.com> <CADaq8jc6X6y5WXuptVevhNopG9Nbfca8FUV6zYCBTADs5ohvag@mail.gmail.com>
To: NFSv4 <nfsv4@ietf.org>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: userv0021.oracle.com [156.151.31.71]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/aMNS6FAnn-6b1oRomF-Fi1AfyOs>
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: Fri, 28 Apr 2017 17:35:34 -0000

> On Apr 27, 2017, at 10:24 AM, David Noveck <davenoveck@gmail.com> =
wrote:
>=20
> > Correct. But since the protocol creates the problem, the protocol
> > definition needs to say something about dealing with it.
>=20
> The protocol did not create this problem.

I respectfully disagree.

The transport protocol design allows arbitrarily complex Read
and Write lists. This is a common practice in protocol design
to permit wide latitude for innovation by implementers.

NFSv4 also allows arbitrarily complex COMPOUNDs for similar
reasons, but a) clients do not today make use of this, and b)
newer minor versions recognize that implementation limits have
to be communicated.

The protocol problem we are trying to address is that there
is no mechanism (either via a specified limit or via a run-time
negotiation) that allows implementations to choose limits that
are less than infinity while allowing acceptable interoperability.


> Up until about a month ago,
> the protocol allowed multiple chunks and we believed that the=20
> implementations did as well.

It's true that the transport protocol hasn't changed, but
I think up until a month ago, we simply didn't realize that
permissive chunk list complexity limits was an interopera-
bility issue.

The Linux implementations take a lot of short cuts because
they are really advanced prototypes, not fully mature
implementations of the transport. One of the short cuts
has been that they implement just the minimum number of
chunk combinations needed for most NFS operations. They do
not implement all possible chunk combinations, nor do they
support arbitrarily long chunk lists, because they never
had to.

I'm aware that other implementers have taken a philoso-
phically similar approach to shorten the time it takes to
get a working client and server, and I'm sure that will be
the case for implementations in the future. As protocol
designers I don't think we should ignore this kind of
expediency.

In practice, for now chunk list complexity limits really
aren't a problem at all, because of a) above, except for the
desire to have servers accept a Read list that contains a
Position Zero Read chunk and a normal Read chunk at once.

So this is a situation that is hazardous, but might not be
encountered in practice for years. I don't want to spill a
lot more electrons or brain cells on fixing something that
has minimal consequences for the set of implementations and
ULPs we have today.


> Then we found out that a lot implementations have these restrcctions =
and we are
> trying to deal with that situation.  The protocol has stayed the same =
but we now
> know that some implementations have these restrictions.
>=20
> Even though the protocol did not create this situation, this document =
is the only
> opportunity we have to tell clients how to deal with these =
restrictions.

Or we could give implementers a base set of chunk list
capabilities that must be observed. For all versions of NFS on
RPC-over-RDMA Version One, make the limit one normal Read chunk
plus one PZRC (both with multiple Read segments), and one Write
chunk (with multiple segments). Replace discussion of handling
NFSv4 COMPOUNDs with more than one DDP-eligible element with
a few rules that determine which single operation in a multiple
READ or WRITE COMPOUND gets to use DDP.

Real support for multiple chunks with NFSv4 COMPOUNDs will have
to wait until another version of RPC-over-RDMA is available.

Not sure what to do about segment count limits.


> On Thu, Apr 27, 2017 at 12:27 PM, Chuck Lever <chuck.lever@oracle.com> =
wrote:
>=20
> > On Apr 27, 2017, at 8:54 AM, Tom Talpey <tom@talpey.com> wrote:
> >
> > On 4/27/2017 11:44 AM, Chuck Lever wrote:
> >>
> >>> On Apr 27, 2017, at 7:20 AM, Tom Talpey <tom@talpey.com> wrote:
> >>>
> >>>> snip:
> >>>>   Such implementation limits can constrain the complexity of NFS
> >>>>   version 4 COMPOUNDs, limit the number of elements in =
scatter-gather
> >>>>   operations, or prevent the use of Kerberos integrity or privacy
> >>>>   services.
> >>>
> >>> I like the approach, and the lead-in language looks good. The text
> >>> quoted above is just a little bit dark, especially that bit about
> >>> preventing krb5i/krb5p. I'd suggest a more active statement to =
replace
> >>> the above, including the more prescriptive SHOULD rather than =
"can".
> >>> How about:
> >>>
> >>> "Client implementations SHOULD be prepared to provide mechanisms =
for
> >>> reporting the above errors, and optionally provide configuration =
to
> >>> limit the complexity of NFS version 4 COMPOUNDs, limit the number
> >>> of elements in scatter-gather operations, and to avoid other =
possible
> >>> sources of RPC-over-RDMA chunk overruns at the peer.
> >>>
> >>> These become especially important when Kerberos integrity or =
privacy
> >>> is in place for the RPC connection. These facilities add payload =
to
> >>> the RPC headers, potentially increasing the complexity of the =
chunk
> >>> manipulation, independent of the upper layer NFS operation. The
> >>> implementation SHOULD consider such RPC payload requirements in
> >>> addition to the NFS considerations."
> >>
> >> Sure, I can work this in.
> >>
> >> When you say "Client implementations SHOULD ... [report] the above
> >> errors" you are talking about reporting them to administrators
> >> and/or RPC consumers? I don't think we can use SHOULD in that case.
> >
> > I am agnostic about who to inform. The important thing is that some
> > visibility of the error be surfaced. I absolutely don't think an
> > arbitrary GARBAGE_ARGS returned to an application that may simply
> > choke on it, qualifies.
>=20
> Right, no client surfaces a protocol element like GARBAGE_ARGS
> as it is. The failure of the RPC on the server is reported to
> consumers in a way that conforms with the API they use to drive
> the requests. So an application running on a POSIX client might
> use read(2) or write(2) and get back EIO in this case, because
> POSIX allows only a narrow range of error status codes for these
> APIs.
>=20
> That translation is a normal part of RPC client implementations,
> so I didn't think I needed to state that explicitly, and thus
> was confused about why "Client implementations" was mentioned
> above.
>=20
>=20
> >> This feels like implementation advice, not protocol.
> >
> > Correct. But since the protocol creates the problem, the protocol
> > definition needs to say something about dealing with it.
>=20
> Philosophical agreement with that.
>=20
> > So I believe SHOULD is best.
>=20
> >> Would "recommend" be enough for this section?
> >
> > The RFC2119 term RECOMMENDED is basically a synonym for SHOULD. It's
> > perfectly permissible.
>=20
> To be clear, I was suggesting lower-case "recommended". IMO
> RFC 2119 terminology isn't appropriate for describing
> internal APIs or mechanisms that do not appear on the wire.
>=20
> The typical approach has been to say "The RPC client then
> terminates the RPC with an appropriate error status." Which
> crisply yet generically describes desired behavior while
> avoiding the use of MUST or SHOULD.
>=20
>=20
> > Tom.
> >
> >>
> >>
> >>> Feel free to wordsmith further.
> >>>
> >>> Tom.
> >>>
> >>>
> >>> On 4/26/2017 12:18 PM, Chuck Lever wrote:
> >>>>
> >>>>> On Apr 24, 2017, at 7:30 AM, Chuck Lever =
<chuck.lever@oracle.com> wrote:
> >>>>>
> >>>>>>
> >>>>>> On Apr 24, 2017, at 7:56 AM, Tom Talpey <tom@talpey.com> wrote:
> >>>>>>
> >>>>>> On 4/21/2017 10:43 AM, Chuck Lever wrote:
> >>>>>>> I agree that SHOULD/MAY makes things cloudier, and does not
> >>>>>>> seem to align with well-defined RFC2119 usage.
> >>>>>>>
> >>>>>>> Another way we've dealt with similar disagreements between
> >>>>>>> specification and implementation is to decide that one of
> >>>>>>> the implementations is incorrect.
> >>>>>>>
> >>>>>>> Can we agree that:
> >>>>>>>
> >>>>>>> - GARBAGE_ARGS is a bit of a layering violation, though it's
> >>>>>>> understandable why it might be returned
> >>>>>>>
> >>>>>>> - RPC clients are already prepared for GARBAGE_ARGS
> >>>>>>
> >>>>>> Are you certain of this?
> >>>>>
> >>>>> GARBAGE_ARGS has been part of the RPC protocol for decades.
> >>>>> The two Unix-flavored clients that have NFS/RDMA support can
> >>>>> both handle this error.
> >>>>
> >>>> I've confirmed that the only other known NFS/RDMA client
> >>>> (Oracle dNFS) properly recognizes GARBAGE_ARGS.
> >>>>
> >>>>
> >>>>>> And out of curiosity, what is returned
> >>>>>> to the consumer for GARBAGE_ARGS versus ERR_CHUNK?
> >>>>>
> >>>>> RFC 5531:
> >>>>>> GARBAGE_ARGS  =3D 4, /* procedure can=E2=80=99t decode params   =
*/
> >>>>>
> >>>>>
> >>>>> GARBAGE_ARGS is an RPC-level error. The reply is "accepted"
> >>>>> with accept_stat GARBAGE_ARGS. An XID is available in the
> >>>>> header.
> >>>>>
> >>>>> rfc5666bis:
> >>>>>> If the rdma_vers field contains a recognized value, but an
> >>>>>> XDR parsing error occurs, the responder MUST reply with an
> >>>>>> RDMA_ERROR procedure and set the rdma_err value to ERR_CHUNK.
> >>>>>
> >>>>>
> >>>>> ERR_CHUNK is a transport level error. An XID is available
> >>>>> in the header.
> >>>>>
> >>>>> The difference is that the RPC layer v. the transport layer
> >>>>> are reporting they don't understand the contents of the
> >>>>> message (Call). There is nothing more in either type of
> >>>>> message.
> >>>>>
> >>>>>
> >>>>>>> - In RPC-over-RDMA Version One, we are not trying to recover
> >>>>>>> (in the sense of resending a simpler COMPOUND) but are rather
> >>>>>>> trying to ensure the offending RPC is properly terminated on
> >>>>>>> the client, and does not further block other RPCs or deadlock
> >>>>>>> the transport
> >>>>>>>
> >>>>>>> Thus I claim it is harmless if a server returns GARBAGE_ARGS
> >>>>>>> instead of ERR_CHUNK.
> >>>>>>
> >>>>>> "Harmless" is a bit relative. The operation fails, through no =
fault
> >>>>>> of the consumer. And, frankly, in a very mysterious way.
> >>>>>
> >>>>> We have no richer way of communicating failure in RPC-over-RDMA
> >>>>> Version One. We are not looking for recovery here, so I don't
> >>>>> believe any more information would be useful. If the server
> >>>>> wishes, it can log the failure with a message explaining what
> >>>>> went wrong.
> >>>>>
> >>>>>
> >>>>>> Again, I think there is more to say here. It's a limitation of =
the
> >>>>>> protocol whose implications should be made clear (contraining =
the
> >>>>>> complexity of COMPOUNDs, limiting scatter/gather lengths, etc).
> >>>>>
> >>>>> I'd welcome any suggested text.
> >>>>>
> >>>>> Honestly, I'm not sure what can be said. Neither NFSv4.0 nor
> >>>>> RPC-over-RDMA have a sophisticated mechanism to communicate this
> >>>>> kind of limitation. The best an NFSv4 server can do is return
> >>>>> NFS4ERR_RESOURCE, which also carries little extra information
> >>>>> about what a client should do to recover.
> >>>>>
> >>>>> So are you comfortable with eliminating GARBAGE_ARGS if we can
> >>>>> come up with more detail about the impact of not knowing how
> >>>>> complex a COMPOUND can be?
> >>>>
> >>>> I've come up with some possible replacement text for
> >>>> the final two paragraphs of S5.4.1 in an attempt to
> >>>> address comments from Tom, David, and Karen. The
> >>>> normative requirements have been removed, and a (brief)
> >>>> discussion of the consequences of not handling complex
> >>>> COMPOUNDs was introduced.
> >>>>
> >>>>
> >>>> 5.4.2.  Complexity Considerations
> >>>>
> >>>>  As mentioned above, an NFS version 4 COMPOUND procedure can =
contain
> >>>>  more than one operation that carries a DDP-eligible data item.  =
The
> >>>>  RPC-over-RDMA Version One protocol does not place any limit on =
the
> >>>>  number of chunks that may appear in the Read or Write lists.
> >>>>  Therefore an NFS version 4 client MAY construct an RPC-over-RDMA
> >>>>  Version One message containing more than one Read chunk or Write
> >>>>  chunk.
> >>>>
> >>>>  However, implementations have practical limits on the number of
> >>>>  chunks or segments they are prepared to process in one of these
> >>>>  lists.  There are several ways an NFS Version 4 server might =
indicate
> >>>>  that an RPC Call message constructed by a client is valid but =
cannot
> >>>>  be processed because of implementation limitations:
> >>>>
> >>>>  o  If the problem is detected in the upper layer (i.e., by the =
NFS
> >>>>     version 4 implementation), the server returns an NFS status =
of
> >>>>     NFS4ERR_RESOURCE.
> >>>>
> >>>>  o  If the problem is detected during XDR decoding of the request
> >>>>     (e.g., during re-assembly of the Call message by the RPC =
layer),
> >>>>     the server returns an RPC accept_stat of GARBAGE_ARGS.
> >>>>
> >>>>  o  If the problem is detected at the transport layer (i.e., =
during
> >>>>     transport header processing), the server returns an =
RDMA_ERROR
> >>>>     message with the err_code field set to ERR_CHUNK.
> >>>>
> >>>>  Such implementation limits can constrain the complexity of NFS
> >>>>  version 4 COMPOUNDs, limit the number of elements in =
scatter-gather
> >>>>  operations, or prevent the use of Kerberos integrity or privacy
> >>>>  services.
> >>>>
> >>>>
> >>>> Comments, opinions on this approach?
> >>>>
> >>>>
> >>>>>> Tom.
> >>>>>>
> >>>>>>
> >>>>>>>
> >>>>>>> As a result, I can change the Read list text in S5.4.1 to be
> >>>>>>> the same as the Write list text, removing the mention of
> >>>>>>> GARBAGE_ARGS.
> >>>>>>>
> >>>>>>> Would that sit comfortably with everyone?
> >>>>>>>
> >>>>>>>
> >>>>>>>> On Apr 20, 2017, at 7:21 PM, David Noveck =
<davenoveck@gmail.com> wrote:
> >>>>>>>>
> >>>>>>>>> The "or" is a similar situation, it prescribes a choice, =
which
> >>>>>>>>> does not define a protocol.
> >>>>>>>>
> >>>>>>>> Fair enough, but the point that needs to be made is that, =
with
> >>>>>>>> regard to Version One, Chuck and  the working group is not
> >>>>>>>> free to define a protocol.  As a result we have the kind of
> >>>>>>>> ugliness you object to, but it is inherent in the choice to =
try to
> >>>>>>>> revive Version One as-is.
> >>>>>>>>
> >>>>>>>>> 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 SHOULD reject the request by responding =
with an
> >>>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. =
The
> >>>>>>>>> server MAY reject the RPC with an RDMA_MSG message =
containing an RPC
> >>>>>>>>> Reply with an accept status of GARBAGE_ARGS.
> >>>>>>>>
> >>>>>>>> I think I know what you intend here and I've seen stuff like =
this in RFCs but I don't
> >>>>>>>> wthink e can do this because this is not in line with the =
definitions of "SHOULD"
> >>>>>>>> and "MAY" that appear in RFC2119.
> >>>>>>>>
> >>>>>>>> "SHOULD" means that you are supposed to do something but can =
avoid it if
> >>>>>>>> you have a good reason and are aware of the consequences of =
not doing it.
> >>>>>>>> In this case the "good" reason is that someone coded the =
implementation
> >>>>>>>> to do something else, which is not all that good a reason.  =
The consequences of
> >>>>>>>> returning the GARBAGEARGS are exactly zero, since the client =
has to be prepared
> >>>>>>>> for either it or ERR_CHUNK.
> >>>>>>>>
> >>>>>>>> "MAY" means the implementation can choose to do the action or =
not, which is line
> >>>>>>>> with the reality here but essentially contradicts the SHOULD.
> >>>>>>>>
> >>>>>>>>> This at least makes it clear which response is "preferred".
> >>>>>>>>
> >>>>>>>> But it is isn't really the job of the RFC2119 terms to say =
which is "preferred" or
> >>>>>>>> "'preferred'".  These terms are supposed to describe =
interoperability and the
> >>>>>>>> interoperability situation is that the server MUST return =
ERR_CHUNK or
> >>>>>>>> GARBAGEARGS and the client needs to be prepared for either.  =
That is the
> >>>>>>>> unpleasant reality.  If you want to indicate a preference, =
you can say something
> >>>>>>>> like:
> >>>>>>>>        =E2=80=A2 Returning ERR_CHUNK is preferrable.
> >>>>>>>>        =E2=80=A2 Returinng ERR_CHUNK is more in line with the =
appropriate protocol layering since this issue relates to a limitation =
of the transport implementation.
> >>>>>>>>        =E2=80=A2 Use of GARBAGEARGS is an unfortunate =
artifact of inappropriately layered implementations and is only allowed =
for reasons of compatibility with existing implementations.  It is =
desirable to avoid it.
> >>>>>>>>> And one would hope a future draft would decide.
> >>>>>>>>
> >>>>>>>> Not sure what draft you are thinking of.  I don't see us =
doing an rfc5667bisbis (rfc5667tris).
> >>>>>>>>
> >>>>>>>> By the time we did that, the implementations with these =
restrictions will probably be gone.
> >>>>>>>>
> >>>>>>>>> I have a second question though. How does the client =
determine what is
> >>>>>>>>> the actual error? As in, how many chunks were allowed?
> >>>>>>>>
> >>>>>>>> This is not fixable in Version One.  It would be in Version =
Two, but by then
> >>>>>>>> the need will probably be gone.
> >>>>>>>>
> >>>>>>>>> Does the upper
> >>>>>>>>> layer have to recover, and if so what are the implications?
> >>>>>>>>
> >>>>>>>> I think something could be put in to indicate that clients =
should break up COMPOUNDS
> >>>>>>>> so the only have a single chunk each.
> >>>>>>>>
> >>>>>>>>> Yes, I know 5667 did not explore this very well.
> >>>>>>>>
> >>>>>>>> It didn't explore it at all.  And 5666's error reporting =
facilities were extremely limited.
> >>>>>>>>
> >>>>>>>>> Mea culpa.
> >>>>>>>>
> >>>>>>>> I don'tt think you have anything to apologize for.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On Thu, Apr 20, 2017 at 5:28 PM, Tom Talpey <tom@talpey.com> =
wrote:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On 4/19/2017 11:14 AM, Chuck Lever wrote:
> >>>>>>>> Hi Tom-
> >>>>>>>>
> >>>>>>>> On Apr 18, 2017, at 11:08 PM, Tom Talpey <tom@talpey.com> =
wrote:
> >>>>>>>>
> >>>>>>>> I noticed the same thing, and I'll add that the MUST reject =
condition
> >>>>>>>> is very confusing because it allows an "or". In my opinion a =
MUST is
> >>>>>>>> always a single requirement, never ambiguous.
> >>>>>>>>
> >>>>>>>> I agree this kind of thing is tricky. I wrote it as "the =
server MUST
> >>>>>>>> reject the RPC". That's the single requirement. The choice is =
how the
> >>>>>>>> rejection is conveyed to the client.
> >>>>>>>>
> >>>>>>>> The statement "MUST reject" is not testable. So, while it may =
be
> >>>>>>>> understood what is intended, there is nothing implementable =
in the
> >>>>>>>> MUST. The "or" is a similar situation, it prescribes a =
choice, which
> >>>>>>>> does not define a protocol.
> >>>>>>>>
> >>>>>>>> Is there some reason you want to allow such a choice? I think =
you'll
> >>>>>>>> find that, worded properly, it becomes actually much less =
implementable
> >>>>>>>> and interoperable than you may think.
> >>>>>>>>
> >>>>>>>> The Solaris server can return an RPC-level error in cases =
like this.
> >>>>>>>>
> >>>>>>>> Well, this is happening because the Solaris server is =
(probably) just
> >>>>>>>> handing the chunk list up to the RPC layer, and it's the RPC =
(XDR)
> >>>>>>>> processing that detects any problem.
> >>>>>>>>
> >>>>>>>> On the other hand, an implementation could do the opposite, =
it could
> >>>>>>>> process the chunks at the lower layer, before ever invoking =
RPC
> >>>>>>>> processing. This would naturally lead to a non-RPC error.
> >>>>>>>>
> >>>>>>>> The challenge in defining the protocol is to hide these =
possibilities.
> >>>>>>>>
> >>>>>>>> I think there are similar choices allowed in rfc5666bis. =
Let's say
> >>>>>>>> that in a perfect world, I would go with only ERR_CHUNK, but =
I'm
> >>>>>>>> documenting existing implementation behavior here.
> >>>>>>>>
> >>>>>>>> I'm not sure it matters to the client: both errors are =
permanent and
> >>>>>>>> the RPC is terminated on the client.
> >>>>>>>>
> >>>>>>>> I'm open to alternatives.
> >>>>>>>>
> >>>>>>>> The icky way to do this is to split into two weak =
requirements.
> >>>>>>>>
> >>>>>>>> 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 SHOULD reject the request by responding =
with an
> >>>>>>>> RDMA_ERROR message with the rdma_err value set to ERR_CHUNK. =
The
> >>>>>>>> server MAY reject the RPC with an RDMA_MSG message containing =
an RPC
> >>>>>>>> Reply with an accept status of GARBAGE_ARGS.
> >>>>>>>>
> >>>>>>>> This at least makes it clear which response is "preferred". =
And one
> >>>>>>>> would hope a future draft would decide.
> >>>>>>>>
> >>>>>>>> I have a second question though. How does the client =
determine what is
> >>>>>>>> the actual error? As in, how many chunks were allowed? Does =
the upper
> >>>>>>>> layer have to recover, and if so what are the implications?
> >>>>>>>>
> >>>>>>>> Yes, I know 5667 did not explore this very well. Mea culpa.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> Tom.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On 4/18/2017 6:32 PM, karen deitke wrote:
> >>>>>>>> Hi Chuck, its unclear what you mean by "is prepared to =
process" in the text below.
> >>>>>>>> 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*
> >>>>>>>> Giventhat 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
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> _______________________________________________
> >>>>>>>> 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
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> _______________________________________________
> >>>>>>>> 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
> >>>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> 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
> >>>>
> >>>> --
> >>>> Chuck Lever
> >>>>
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> 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
> >>
> >
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
>=20
> --
> Chuck Lever
>=20
>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>=20

--
Chuck Lever




From nobody Fri Apr 28 11:26:31 2017
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: nfsv4@ietf.org
Delivered-To: nfsv4@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 55ABB12773A; Fri, 28 Apr 2017 11:26:30 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.50.0
Auto-Submitted: auto-generated
Precedence: bulk
CC: Spencer Shepler <spencer.shepler@gmail.com>, draft-ietf-nfsv4-versioning@ietf.org, nfsv4-chairs@ietf.org, nfsv4@ietf.org, spencer.shepler@gmail.com, spencerdawkins.ietf@gmail.com
Reply-To: ietf@ietf.org
Sender: <iesg-secretary@ietf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-ID: <149340399034.2979.8530504618649280119.idtracker@ietfa.amsl.com>
Date: Fri, 28 Apr 2017 11:26:30 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/JCG1dT-NtKoVIEJMnwtjDivWMyE>
Subject: [nfsv4] Last Call: <draft-ietf-nfsv4-versioning-09.txt> (Rules for NFSv4 Extensions and Minor Versions) to Proposed Standard
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 28 Apr 2017 18:26:30 -0000

The IESG has received a request from the Network File System Version 4 WG
(nfsv4) to consider the following document:
- 'Rules for NFSv4 Extensions and Minor Versions'
  <draft-ietf-nfsv4-versioning-09.txt> as Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action. Please send substantive comments to the
ietf@ietf.org mailing lists by 2017-05-12. Exceptionally, comments may be
sent to iesg@ietf.org instead. In either case, please retain the
beginning of the Subject line to allow automated sorting.

Abstract


   This document describes the rules relating to the extension of the
   NFSv4 family of protocols.  It covers the creation of minor versions,
   the addition of optional features to existing minor versions, and the
   correction of flaws in features already published as Proposed
   Standards.  The rules relating to the construction of minor versions
   and the interaction of minor version implementations that appear in
   this document supersede the minor versioning rules in RFC5661 and
   other RFCs defining minor versions.




The file can be obtained via
https://datatracker.ietf.org/doc/draft-ietf-nfsv4-versioning/

IESG discussion can be tracked via
https://datatracker.ietf.org/doc/draft-ietf-nfsv4-versioning/ballot/


No IPR declarations have been submitted directly on this I-D.





From nobody Fri Apr 28 12:03:34 2017
Return-Path: <spencerdawkins.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 1CA6C1293FF; Fri, 28 Apr 2017 12:03:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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_NONE=-0.0001, SPF_PASS=-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 X0SAxpWQ3w6I; Fri, 28 Apr 2017 12:03:25 -0700 (PDT)
Received: from mail-yb0-x232.google.com (mail-yb0-x232.google.com [IPv6:2607:f8b0:4002:c09::232]) (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 7E9291294AF; Fri, 28 Apr 2017 12:02:03 -0700 (PDT)
Received: by mail-yb0-x232.google.com with SMTP id 11so17671770yby.0; Fri, 28 Apr 2017 12:02:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to:cc; bh=BqVmtRyo2z+8UGG4bBDoSElu9iw9AA1Ht5+nRLbIvK4=; b=iWjVginoMWtPYcD3Ne0u+aaJIdv8FNdjPTkm+sF5QhgiAT0aQgAWvT8zwbjWAfrZcN DbahRlNSiJqcz6BRrQuJeLKTtga4C/gGOLyn1vSzY9sbFO47EZ3kHZrfHOqPim/rYVti SPZxD01HIH4Bw+5pWIgZvgbigw47nrrbbT8B9yMVKvx7/LXMvhjl7d1p0KgvJ3tNWrh1 TcnARVpsYpLRcA6ztO3Bh0tSx+rrBmnwJfa5HKDtvU+m++cfvKuAx+Cuam7JNWO6euLs INMu2r5yGHHkD6F8Dcw5q4NX4ISfEyXSszKZ/ZC34XZnTH6ycdvWCt52Ybb9SyMwPVrB 5p/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=BqVmtRyo2z+8UGG4bBDoSElu9iw9AA1Ht5+nRLbIvK4=; b=QhM/lr2RXOIYmcp282STbXDFgFMfwkvI/fa4v+GBN5QAGnOa00MUfTbkqAO/+yV//e zdH/evxEDc8VHHTG8wPn2Z+LgpR3MaBbe+uwUfDtY01pmF+jK+340b1oQUURT98GnJ+M VaFtYtLtpRRsR1yfq2TSGRHkU2aD9ti3xYBTpklXTLCp/SB5X7KqJEa7dWZLNmL3YN9C 5P+ZNRcUmn3gwKB6W+uYQHXohuH6qbpQwU3RLiIllmhONwkNizp99cMjRsF0iiQdP13w qAuf3SYxN8jf0eq+ZCHmJvQrDOBXBeQ3q2PC2b6+2MnAVYmLYFI3CbPMkF8SqWzpxlLc ZqIw==
X-Gm-Message-State: AN3rC/7vJkbFkvZ50P8IueEFzvsReMH0/jA04ngV/MH9Zn3jz2pBjS7M 4Il6iD7u/tUwEIYiDus/DIERfN/x780y
X-Received: by 10.37.44.69 with SMTP id s66mr10541271ybs.84.1493406122357; Fri, 28 Apr 2017 12:02:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.37.161.198 with HTTP; Fri, 28 Apr 2017 12:02:01 -0700 (PDT)
From: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Date: Fri, 28 Apr 2017 14:02:01 -0500
Message-ID: <CAKKJt-c=wHPP61COdPKcpgLZ7pSfoG+6VC-_NrakF_PHCFM-fA@mail.gmail.com>
To: draft-ietf-nfsv4-xattrs@ietf.org
Cc: nfsv4-chairs@ietf.org, NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a114321086dba22054e3eb5ce
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/TevqtXH4_sG1wv5IG4XhrPc182A>
Subject: [nfsv4] AD Evaluation of draft-ietf-nfsv4-xattrs-04
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: Fri, 28 Apr 2017 19:03:27 -0000

--001a114321086dba22054e3eb5ce
Content-Type: text/plain; charset=UTF-8

Dear Authors,

I've completed my AD evaluation for this draft. It's really clean and easy
for me to understand.

I noticed one nit that you'd probably like to change before Last Call (the
fewer things reviewers have to complain about, the fewer Last Call comments
you'll see).

In this text,

   Note that the XDR code contained in this document depends on types
   from the proposed NFSv4.2 nfs4_prot.x file [RFC7863].  This includes
   both nfs types that end with a 4, such as nfs_cookie4, count4, etc.,
   as well as more generic types such as opaque and bool.

and this text,

   In order to provide fine-grained access control to query or modify
   extended attributes, additions are proposed to the set of access
   rights that can be checked to determine if the client is permitted to
   perform the xattr operation.

I noticed that the draft is still written like a draft - "proposed". At
this point, the text should be what you'd expect to see in an approved RFC
- so, something like

   Note that the XDR code contained in this document depends on types
   from the NFSv4.2 nfs4_prot.x file defined in [RFC7863].  This includes
   both nfs types that end with a 4, such as nfs_cookie4, count4, etc.,
   as well as more generic types such as opaque and bool.

and

   In order to provide fine-grained access control to query or modify
   extended attributes, new access rights are defined for the set of access
   rights that can be checked to determine if the client is permitted to
   perform the xattr operation.

Could you submit an update? And then I'll request Last Call.

Thanks again for a really clear document!

Spencer

--001a114321086dba22054e3eb5ce
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear Authors,=C2=A0<div><br></div><div>I&#39;ve completed =
my AD evaluation for this draft. It&#39;s really clean and easy for me to u=
nderstand.</div><div><br></div><div>I noticed one nit that you&#39;d probab=
ly like to change before Last Call (the fewer things reviewers have to comp=
lain about, the fewer Last Call comments you&#39;ll see).</div><div><br></d=
iv><div><div>In this text,</div><div><br></div><div>=C2=A0 =C2=A0Note that =
the XDR code contained in this document depends on types</div><div>=C2=A0 =
=C2=A0from the proposed NFSv4.2 nfs4_prot.x file [RFC7863].=C2=A0 This incl=
udes</div><div>=C2=A0 =C2=A0both nfs types that end with a 4, such as nfs_c=
ookie4, count4, etc.,</div><div>=C2=A0 =C2=A0as well as more generic types =
such as opaque and bool.</div><div><br></div><div>and this text,</div><div>=
<br></div><div>=C2=A0 =C2=A0In order to provide fine-grained access control=
 to query or modify</div><div>=C2=A0 =C2=A0extended attributes, additions a=
re proposed to the set of access</div><div>=C2=A0 =C2=A0rights that can be =
checked to determine if the client is permitted to</div><div>=C2=A0 =C2=A0p=
erform the xattr operation.</div><div><br></div><div>I noticed that the dra=
ft is still written like a draft - &quot;proposed&quot;. At this point, the=
 text should be what you&#39;d expect to see in an approved RFC - so, somet=
hing like</div></div><div><div><br></div><div>=C2=A0 =C2=A0Note that the XD=
R code contained in this document depends on types</div><div>=C2=A0 =C2=A0f=
rom the NFSv4.2 nfs4_prot.x file defined in [RFC7863].=C2=A0 This includes<=
/div><div>=C2=A0 =C2=A0both nfs types that end with a 4, such as nfs_cookie=
4, count4, etc.,</div><div>=C2=A0 =C2=A0as well as more generic types such =
as opaque and bool.</div><div><br></div><div>and</div><div><br></div><div>=
=C2=A0 =C2=A0In order to provide fine-grained access control to query or mo=
dify</div><div>=C2=A0 =C2=A0extended attributes, new access rights are defi=
ned for the set of access</div><div>=C2=A0 =C2=A0rights that can be checked=
 to determine if the client is permitted to</div><div>=C2=A0 =C2=A0perform =
the xattr operation.</div></div><div><br></div><div>Could you submit an upd=
ate? And then I&#39;ll request Last Call.</div><div><br></div><div>Thanks a=
gain for a really clear document!</div><div><br></div><div>Spencer</div></d=
iv>

--001a114321086dba22054e3eb5ce--


From nobody Fri Apr 28 12:36:28 2017
Return-Path: <spencerdawkins.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 BE47F129ABD; Fri, 28 Apr 2017 12:36:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 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_NONE=-0.0001, SPF_PASS=-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 XIrZCkyp56Nh; Fri, 28 Apr 2017 12:36:24 -0700 (PDT)
Received: from mail-yb0-x22b.google.com (mail-yb0-x22b.google.com [IPv6:2607:f8b0:4002:c09::22b]) (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 2A5BB12954A; Fri, 28 Apr 2017 12:35:32 -0700 (PDT)
Received: by mail-yb0-x22b.google.com with SMTP id s22so17871881ybe.3; Fri, 28 Apr 2017 12:35:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=mime-version:from:date:message-id:subject:to:cc; bh=8O7kW6aIAJEX52KocO4qi5MXUoBkBp7+LaH7ZCJ6GNM=; b=IUs7FS1aw+WSsOli6xRbfTCq/QgEswSJmKkYPjdvTmKUWnMS6ymxdSJ8i/WWOILi2a MrlSXD8i2+UNy5KgrFnPK1xKH0UnNaoDKUc2ssBfmS/Ow821isiSX/+2/v+fbamPYwuz ig8JJcxfPupvTi3FaXYVV8OrZisHipm5Tm4wVREGFWy2FBGN8uuT0PmtpieqE1Dy2u8d RLbEWmEZWqAoJGF+ML99JYuffmrEOYR1/GTc+V7lmBUOQjAJfJ03poqQmKi7K/Zm5544 gXIGvPnolV26pPVo3yPC4oiIuIeZNS+N9k2l5WrGPBAN6HMYjAqtHJY5wK+bxOK21+wB 8Ziw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=8O7kW6aIAJEX52KocO4qi5MXUoBkBp7+LaH7ZCJ6GNM=; b=SlFqmIuYXWxj3Zb2sRh65TQwwpsQ0UVShbYc35ch4EbfYVLMJ6+PZrXUzsvXntAci5 gCZpQZVjTXGyHQNaNDTMSFCQenLxtJEdghNZ1DVBpWIc47tR3R5fzpSFcFzgHHdOoSMy AnZrqqqnBur5MkU7WA/neDt6bwwAXq/wOhc0YxERzRDV6dPINUZRm7gPNBRpser79obQ ZRxPZ+T/mmr9zgteFvv2L4Q2ob2tM0AoLfPv9bvBoEAgD/OliXeXnD+LQoOg5i6rSbVV 0ogOPk+pK1erMQMY4MZp652UE8hVSE1mPmumxYOYJRo1a4ZuD1H5h6rcc2fKjhPRaqjs cC8Q==
X-Gm-Message-State: AN3rC/765YGlz0rwLk0mr/+DrAhqT/kv02iH7baeGKdt/ON5HgEaIfms 0jsewO4SBz7qqMIelUqiXCy28cWYNiBC
X-Received: by 10.37.221.5 with SMTP id u5mr10209886ybg.51.1493408131268; Fri, 28 Apr 2017 12:35:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.37.161.198 with HTTP; Fri, 28 Apr 2017 12:35:25 -0700 (PDT)
From: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Date: Fri, 28 Apr 2017 14:35:25 -0500
Message-ID: <CAKKJt-foHU23DZv+tsae_+kFrqjQ=Y6GWd44FBZGmf0+0N5exw@mail.gmail.com>
To: draft-ietf-nfsv4-umask@ietf.org
Cc: nfsv4-chairs@ietf.org, NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a114bd4562b4f61054e3f2da0
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/50Ql1qdsHiwIZKcrcvgwvXAXOjE>
Subject: [nfsv4] AD Review of draft-ietf-nfsv4-umask-03
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: Fri, 28 Apr 2017 19:36:26 -0000

--001a114bd4562b4f61054e3f2da0
Content-Type: text/plain; charset=UTF-8

Dear Authors,

This draft is very easy to understand - thank you for that.

I'm fine requesting Last Call without this change, but if you could submit
a revision that defines ACE on first use after Last Call, that would be
nice.

More broadly,

I note that the xaddrs draft defines an xaddr_support attribute, but this
draft doesn't have anything like a umask_support attribute. That could be
fine (the algorithm looks like "try to set the umask, and if you get back
NFS4ERR_INVAL, it didn't work, doesn't matter why"), but I wonder about the
programming model being different between the first two variants for this
version ... I don't have an opinion about that, but wanted to ask before
they're both RFCs :-)

Thanks,

Spencer

--001a114bd4562b4f61054e3f2da0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear Authors,<div><br></div><div>This draft is very easy t=
o understand - thank you for that.</div><div><br></div><div><div>I&#39;m fi=
ne requesting Last Call without this change, but if you could submit a revi=
sion that defines ACE on first use after Last Call, that would be nice.</di=
v><div><br></div><div>More broadly,=C2=A0</div><div><br></div><div>I note t=
hat the xaddrs draft defines an xaddr_support attribute, but this draft doe=
sn&#39;t have anything like a umask_support attribute. That could be fine (=
the algorithm looks like &quot;try to set the umask, and if you get back NF=
S4ERR_INVAL, it didn&#39;t work, doesn&#39;t matter why&quot;), but I wonde=
r about the programming model being different between the first two variant=
s for this version ... I don&#39;t have an opinion about that, but wanted t=
o ask before they&#39;re both RFCs :-)</div><div><br></div></div><div>Thank=
s,</div><div><br></div><div>Spencer</div></div>

--001a114bd4562b4f61054e3f2da0--


From nobody Fri Apr 28 12:53:40 2017
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 4C4691294A3; Fri, 28 Apr 2017 12:53:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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] 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 9eDXzbIoStSH; Fri, 28 Apr 2017 12:53:37 -0700 (PDT)
Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (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 81FE21293E1; Fri, 28 Apr 2017 12:52:27 -0700 (PDT)
Received: by mail-io0-x236.google.com with SMTP id r16so75748851ioi.2; Fri, 28 Apr 2017 12:52:27 -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=3v8QzCa6WWfXK2G1H2JMoVkltIeGLILy/cSnKTg0DxE=; b=l28lQ+pvigatG/kexTPCMii9RzQMYC38pWdtZXmkfRqVQW7f58zBG+xmOJpWoz6dD0 dZSlWrTgbiML8mz8ObNx0PkQQ0njer92rmqqLFIyx0w4XamUWxYqa1dU4161vvOyyfkw gugXWAIvpJ+pBhp9ORm8BaT2bSimZ+CWVBn06oW/VidZiXWhi/KzS05+vCrjPwcarvY7 NYdQmHuJwKnoAlotGCSYQ5PfiOzk0LHPJI/irKjUwTBpSWgqk4wmvTjRDt6w3QQDk61z sZGwZDk9NeMO77AqlGlXA1cOyx8Uiq2SIoefA6t8hlIgNwc4XZiwQK68YyKG587b+9Xa pt1A==
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=3v8QzCa6WWfXK2G1H2JMoVkltIeGLILy/cSnKTg0DxE=; b=LTGdXWrJtY08lhC0M7B4JXHOmjb8QP5D9ujqpQiXgVeY+rjcPI/fojVxHnLyrggqUX 2twDFDO+FCqYDMUiDC/0OMyVdoGrezipatAg8lYTbJU+6QMJm3mTOJ+4hLVv/qro9LTi Jb6vB2fpHTE/OjeDfSzHQrSKjyqZkxah6m8gkKYbs69DPot2IYvUTlx44oULT50jU9Rq R4ubJFci/QkbaVUEwpZ/Q9SD4GwG9BCdI73CNrvJ0Jy26BzNrOxZFH1c+oljKuNcavgW lxBvJemhAWKUv8nV8R2kYk+Z4ndM8O1deDJMtt2fzijEk1homNM4rxxWJNVT9ZncqHYJ S+iA==
X-Gm-Message-State: AN3rC/5pG5rvspj0uiHo/Pxj9+Wvdg+SSUe/3EWumdZ1NVEsO1octLhV kt9taJ9A77al6RjnxXS1uActVu/qfw==
X-Received: by 10.107.173.14 with SMTP id w14mr12913301ioe.232.1493409145107;  Fri, 28 Apr 2017 12:52:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Fri, 28 Apr 2017 12:52:24 -0700 (PDT)
In-Reply-To: <CAKKJt-foHU23DZv+tsae_+kFrqjQ=Y6GWd44FBZGmf0+0N5exw@mail.gmail.com>
References: <CAKKJt-foHU23DZv+tsae_+kFrqjQ=Y6GWd44FBZGmf0+0N5exw@mail.gmail.com>
From: David Noveck <davenoveck@gmail.com>
Date: Fri, 28 Apr 2017 15:52:24 -0400
Message-ID: <CADaq8jdupe4nKf6tQUenWkv55ZdkwY8qCOBJzxAkSJa8fiyWyA@mail.gmail.com>
To: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Cc: draft-ietf-nfsv4-umask@ietf.org,  "nfsv4-chairs@ietf.org" <nfsv4-chairs@ietf.org>, NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=001a114409e4993d5a054e3f697b
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/eZz81826wpw1OpqyAtBVSuxqHoQ>
Subject: Re: [nfsv4] AD Review of draft-ietf-nfsv4-umask-03
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: Fri, 28 Apr 2017 19:53:39 -0000

--001a114409e4993d5a054e3f697b
Content-Type: text/plain; charset=UTF-8

I'd like to explain why these two drafts appropriately made different
choices in this regard.

The xattrs draft defined a number of new operations, so it makes sense when
entering a file system to determine if those operations are supported for
that file system.  That attribute can be supported by the file system in
which case it tells you that xattrs are or are not supported or the
attribute might not be supported, in which case you can conclude, as the
default, that xattrs are not supported.

For umask, the extension consists of a single attribute and it doesn't add
anything (but complexity) to add second new attribute to tell you if the
first new attribute is supported.   For any attribute, you can find out if
it is supported within a given file system, by interrogating the
appropriate bit position in the REQUIRED attribute supported_attrs.

On Fri, Apr 28, 2017 at 3:35 PM, Spencer Dawkins at IETF <
spencerdawkins.ietf@gmail.com> wrote:

> Dear Authors,
>
> This draft is very easy to understand - thank you for that.
>
> I'm fine requesting Last Call without this change, but if you could submit
> a revision that defines ACE on first use after Last Call, that would be
> nice.
>
> More broadly,
>
> I note that the xaddrs draft defines an xaddr_support attribute, but this
> draft doesn't have anything like a umask_support attribute. That could be
> fine (the algorithm looks like "try to set the umask, and if you get back
> NFS4ERR_INVAL, it didn't work, doesn't matter why"), but I wonder about the
> programming model being different between the first two variants for this
> version ... I don't have an opinion about that, but wanted to ask before
> they're both RFCs :-)
>
> Thanks,
>
> Spencer
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>
>

--001a114409e4993d5a054e3f697b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I&#39;d like to explain why these two drafts appropriately=
 made different choices in this regard.<div><br></div><div>The xattrs draft=
 defined a number of new operations, so it makes sense when entering a file=
 system to determine if those operations are supported for that file system=
.=C2=A0 That attribute can be supported by the file system in which case it=
 tells you that xattrs are or are not supported or the attribute might not =
be supported, in which case you can conclude, as the default, that xattrs a=
re not supported.</div><div><br></div><div>For umask, the extension consist=
s of a single attribute and it doesn&#39;t add anything (but complexity) to=
 add second new attribute to tell you if the first new attribute is support=
ed. =C2=A0 For any attribute, you can find out if it is supported within a =
given file system, by interrogating the appropriate bit position in the REQ=
UIRED attribute supported_attrs.</div></div><div class=3D"gmail_extra"><br>=
<div class=3D"gmail_quote">On Fri, Apr 28, 2017 at 3:35 PM, Spencer Dawkins=
 at IETF <span dir=3D"ltr">&lt;<a href=3D"mailto:spencerdawkins.ietf@gmail.=
com" target=3D"_blank">spencerdawkins.ietf@gmail.com</a>&gt;</span> wrote:<=
br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Dear Authors,<div><br></=
div><div>This draft is very easy to understand - thank you for that.</div><=
div><br></div><div><div>I&#39;m fine requesting Last Call without this chan=
ge, but if you could submit a revision that defines ACE on first use after =
Last Call, that would be nice.</div><div><br></div><div>More broadly,=C2=A0=
</div><div><br></div><div>I note that the xaddrs draft defines an xaddr_sup=
port attribute, but this draft doesn&#39;t have anything like a umask_suppo=
rt attribute. That could be fine (the algorithm looks like &quot;try to set=
 the umask, and if you get back NFS4ERR_INVAL, it didn&#39;t work, doesn&#3=
9;t matter why&quot;), but I wonder about the programming model being diffe=
rent between the first two variants for this version ... I don&#39;t have a=
n opinion about that, but wanted to ask before they&#39;re both RFCs :-)</d=
iv><div><br></div></div><div>Thanks,</div><div><br></div><div>Spencer</div>=
</div>
<br>______________________________<wbr>_________________<br>
nfsv4 mailing list<br>
<a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"noreferrer" =
target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv4</a><br>
<br></blockquote></div><br></div>

--001a114409e4993d5a054e3f697b--


From nobody Fri Apr 28 13:02:36 2017
Return-Path: <bfields@redhat.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 897E7129AC2; Fri, 28 Apr 2017 13:02:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.923
X-Spam-Level: 
X-Spam-Status: No, score=-6.923 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 V5WpA1S1ChW5; Fri, 28 Apr 2017 13:02:33 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 61CEC1295A0; Fri, 28 Apr 2017 13:01:21 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F26B324851D; Fri, 28 Apr 2017 20:01:20 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com F26B324851D
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=bfields@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com F26B324851D
Received: from parsley.fieldses.org (ovpn-124-184.rdu2.redhat.com [10.10.124.184]) by smtp.corp.redhat.com (Postfix) with ESMTP id 87FED4F9E2; Fri, 28 Apr 2017 20:01:20 +0000 (UTC)
Received: by parsley.fieldses.org (Postfix, from userid 2815) id 94705181C4C; Fri, 28 Apr 2017 16:01:19 -0400 (EDT)
Date: Fri, 28 Apr 2017 16:01:19 -0400
From: "J. Bruce Fields" <bfields@redhat.com>
To: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Cc: draft-ietf-nfsv4-umask@ietf.org, nfsv4-chairs@ietf.org, NFSv4 <nfsv4@ietf.org>
Message-ID: <20170428200119.GC11568@parsley.fieldses.org>
References: <CAKKJt-foHU23DZv+tsae_+kFrqjQ=Y6GWd44FBZGmf0+0N5exw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAKKJt-foHU23DZv+tsae_+kFrqjQ=Y6GWd44FBZGmf0+0N5exw@mail.gmail.com>
User-Agent: Mutt/1.8.0 (2017-02-23)
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Fri, 28 Apr 2017 20:01:21 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/gec1SDTCPoPYgGBmEnYCfyu5730>
Subject: Re: [nfsv4] AD Review of draft-ietf-nfsv4-umask-03
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: Fri, 28 Apr 2017 20:02:35 -0000

On Fri, Apr 28, 2017 at 02:35:25PM -0500, Spencer Dawkins at IETF wrote:
> Dear Authors,
> 
> This draft is very easy to understand - thank you for that.
> 
> I'm fine requesting Last Call without this change, but if you could submit
> a revision that defines ACE on first use after Last Call, that would be
> nice.

Thanks, I'll take a look.

> More broadly,
> 
> I note that the xaddrs draft defines an xaddr_support attribute, but this
> draft doesn't have anything like a umask_support attribute. That could be
> fine (the algorithm looks like "try to set the umask, and if you get back
> NFS4ERR_INVAL, it didn't work, doesn't matter why"), but I wonder about the
> programming model being different between the first two variants for this
> version ... I don't have an opinion about that, but wanted to ask before
> they're both RFCs :-)

All this extension does is define a new attribute, and the NFSv4
protocol already includes a supported_attributes attribute which allows
a client to determine which attributes the server supports.  So I
believe a umask_support attribute would be redundant.

In fact, I think the xaddr_support attribute should probably be dropped
from the xattr draft.  The xattr draft doesn't define new any other new
attributes, but it does define new operations, so it's already possible
to query for support by trying an operation and checking the error
return (a NOTSUPP error if the filesystem lacks support, OP_ILLEGAL or
BADXDR (I think Noveck's version draft has details about this) if the
lack of support is server-side).

At a minimum if we keep the xaddr_support attribute then the xattr draft
needs to explain the motivation and clarify the attribute scope.  (I'm
not sure whether it's a filesystem- or server- wide attribute.)

--b.


From nobody Fri Apr 28 13:09:01 2017
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: nfsv4@ietf.org
Delivered-To: nfsv4@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 26A89129AA8; Fri, 28 Apr 2017 13:08:59 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.50.0
Auto-Submitted: auto-generated
Precedence: bulk
CC: Spencer Shepler <spencer.shepler@gmail.com>, nfsv4@ietf.org, nfsv4-chairs@ietf.org, spencer.shepler@gmail.com, draft-ietf-nfsv4-umask@ietf.org, spencerdawkins.ietf@gmail.com
Reply-To: ietf@ietf.org
Sender: <iesg-secretary@ietf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-ID: <149341013911.2995.18046418070920308194.idtracker@ietfa.amsl.com>
Date: Fri, 28 Apr 2017 13:08:59 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/8rrCsnDTxd4HEVPtA4KGeIAgnBc>
Subject: [nfsv4] Last Call: <draft-ietf-nfsv4-umask-03.txt> (Allowing Inheritable NFSv4 ACLs to Override the Umask) to Proposed Standard
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 28 Apr 2017 20:08:59 -0000

The IESG has received a request from the Network File System Version 4 WG
(nfsv4) to consider the following document:
- 'Allowing Inheritable NFSv4 ACLs to Override the Umask'
  <draft-ietf-nfsv4-umask-03.txt> as Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action. Please send substantive comments to the
ietf@ietf.org mailing lists by 2017-05-12. Exceptionally, comments may be
sent to iesg@ietf.org instead. In either case, please retain the
beginning of the Subject line to allow automated sorting.

Abstract


   In many important environments, inheritable NFSv4 ACLs can be
   rendered ineffective by the application of the per-process umask.
   This can be addressed by transmitting the umask and create mode as
   separate pieces of data, allowing the server to make more intelligent
   decisions about the permissions to set on new files.  This document
   proposes a protocol extension which accomplishes that.




The file can be obtained via
https://datatracker.ietf.org/doc/draft-ietf-nfsv4-umask/

IESG discussion can be tracked via
https://datatracker.ietf.org/doc/draft-ietf-nfsv4-umask/ballot/


No IPR declarations have been submitted directly on this I-D.





From nobody Fri Apr 28 13:32:13 2017
Return-Path: <bfields@redhat.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 4EB46129BC8; Fri, 28 Apr 2017 13:32:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.923
X-Spam-Level: 
X-Spam-Status: No, score=-6.923 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 XEEd6z-t8Xdt; Fri, 28 Apr 2017 13:32:10 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AFD7E129B9D; Fri, 28 Apr 2017 13:29:27 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 516ABC04BD4E; Fri, 28 Apr 2017 20:29:27 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 516ABC04BD4E
Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=bfields@redhat.com
DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 516ABC04BD4E
Received: from parsley.fieldses.org (ovpn-124-184.rdu2.redhat.com [10.10.124.184]) by smtp.corp.redhat.com (Postfix) with ESMTP id 151A888231; Fri, 28 Apr 2017 20:29:27 +0000 (UTC)
Received: by parsley.fieldses.org (Postfix, from userid 2815) id 15422181C4C; Fri, 28 Apr 2017 16:29:26 -0400 (EDT)
Date: Fri, 28 Apr 2017 16:29:25 -0400
From: "J. Bruce Fields" <bfields@redhat.com>
To: David Noveck <davenoveck@gmail.com>
Cc: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>, draft-ietf-nfsv4-umask@ietf.org, "nfsv4-chairs@ietf.org" <nfsv4-chairs@ietf.org>, NFSv4 <nfsv4@ietf.org>
Message-ID: <20170428202925.GD11568@parsley.fieldses.org>
References: <CAKKJt-foHU23DZv+tsae_+kFrqjQ=Y6GWd44FBZGmf0+0N5exw@mail.gmail.com> <CADaq8jdupe4nKf6tQUenWkv55ZdkwY8qCOBJzxAkSJa8fiyWyA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CADaq8jdupe4nKf6tQUenWkv55ZdkwY8qCOBJzxAkSJa8fiyWyA@mail.gmail.com>
User-Agent: Mutt/1.8.0 (2017-02-23)
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Fri, 28 Apr 2017 20:29:27 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/D8oa_GHO1w0sRcsBJSIVDjVPUi8>
Subject: Re: [nfsv4] AD Review of draft-ietf-nfsv4-umask-03
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: Fri, 28 Apr 2017 20:32:11 -0000

On Fri, Apr 28, 2017 at 03:52:24PM -0400, David Noveck wrote:
> I'd like to explain why these two drafts appropriately made different
> choices in this regard.
> 
> The xattrs draft defined a number of new operations, so it makes sense when
> entering a file system to determine if those operations are supported for
> that file system.  That attribute can be supported by the file system in
> which case it tells you that xattrs are or are not supported or the
> attribute might not be supported, in which case you can conclude, as the
> default, that xattrs are not supported.

You should also be able to do this by trying an operation and checking
for NFS4ERR_NOTSUPP, shouldn't you?

--b.

> 
> For umask, the extension consists of a single attribute and it doesn't add
> anything (but complexity) to add second new attribute to tell you if the
> first new attribute is supported.   For any attribute, you can find out if
> it is supported within a given file system, by interrogating the
> appropriate bit position in the REQUIRED attribute supported_attrs.
> 
> On Fri, Apr 28, 2017 at 3:35 PM, Spencer Dawkins at IETF <
> spencerdawkins.ietf@gmail.com> wrote:
> 
> > Dear Authors,
> >
> > This draft is very easy to understand - thank you for that.
> >
> > I'm fine requesting Last Call without this change, but if you could submit
> > a revision that defines ACE on first use after Last Call, that would be
> > nice.
> >
> > More broadly,
> >
> > I note that the xaddrs draft defines an xaddr_support attribute, but this
> > draft doesn't have anything like a umask_support attribute. That could be
> > fine (the algorithm looks like "try to set the umask, and if you get back
> > NFS4ERR_INVAL, it didn't work, doesn't matter why"), but I wonder about the
> > programming model being different between the first two variants for this
> > version ... I don't have an opinion about that, but wanted to ask before
> > they're both RFCs :-)
> >
> > Thanks,
> >
> > Spencer
> >
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
> >
> >


From nobody Fri Apr 28 14:56:42 2017
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 6A7C4129BC4; Fri, 28 Apr 2017 14:56:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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] 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 qNIZ7E7S8qLV; Fri, 28 Apr 2017 14:56:35 -0700 (PDT)
Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (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 4B44A129AFC; Fri, 28 Apr 2017 14:54:08 -0700 (PDT)
Received: by mail-io0-x231.google.com with SMTP id a103so77270526ioj.1; Fri, 28 Apr 2017 14:54:08 -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=6+aElwr51oGpQHY4X5yjYsSXTz676PFfJCbVM7b2fIs=; b=BYi74YbUyjdRKL+59oxk0w156cQsKOcosH61tbrA5oEBNzaevVAstJRyr9VjsnP+Ip oOoupJV8fR52cYCipEVzgnnJ/Khim6DhxQw6a0LhIJC3GgbtF4jW/cV+kOy/b8ZhdRqP oA4F3pJ9UnNCmUEn23oMgQU+G+8wAlSL0X+wbx56KB1KJ8i3lSFOiwGJYyb8y2nanF02 YgraxbHuycliLHcj2QzCJaZNIx9d4oJ2TQGMLA6gMuHsWjpnP3hFakDYq3f/fteLqwaW K40HaYPRnrikhz8wJYVW28xOweY3QuseOBwZyzxSPEctLIqQGqyxtOikk7Kroi5It0UO 6MJg==
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=6+aElwr51oGpQHY4X5yjYsSXTz676PFfJCbVM7b2fIs=; b=Udqov+MD/dGjllNMOGVWr7mdVQ9IEkjH3gobD3fmt87R9UChVyNxht0O9rmlzNELRN V0zYf6yhs5bojy0Rnhkom5IwzuouZ6kpLqpck/NdfJ7IXs1tfafUM8f8HZR33jf1eeEg OfRo7UyeRKnbBTzRHPUzBZY+rcArIL3Akj48L3DknaDPA9uLtOtdIlqDk2fuSSOOltvm aVm7L315D59v0ONy9ozdgt2FV0f1+OM6Ytzt2q5Splp0tFqus287ldTz8QVz+UTs9RJz W5s8y0B7zvNi9FCyOGev+aeNumrTR70re52Lver1MdcIALDAMKx2vUAIL6lUVEztWTrK zbXw==
X-Gm-Message-State: AN3rC/5z/JKqgk+S09oPwYbzQ/zhFRM0Ak93sAz6mTbKx1uIJlUp6N7H 8vGAI+qTWclQMa9WIiUU0C9VAUcRXg==
X-Received: by 10.107.143.1 with SMTP id r1mr12725558iod.137.1493416447469; Fri, 28 Apr 2017 14:54:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.107.175.14 with HTTP; Fri, 28 Apr 2017 14:54:07 -0700 (PDT)
In-Reply-To: <20170428202925.GD11568@parsley.fieldses.org>
References: <CAKKJt-foHU23DZv+tsae_+kFrqjQ=Y6GWd44FBZGmf0+0N5exw@mail.gmail.com> <CADaq8jdupe4nKf6tQUenWkv55ZdkwY8qCOBJzxAkSJa8fiyWyA@mail.gmail.com> <20170428202925.GD11568@parsley.fieldses.org>
From: David Noveck <davenoveck@gmail.com>
Date: Fri, 28 Apr 2017 17:54:07 -0400
Message-ID: <CADaq8jd8E_HEhFwLnPZ9r1Pc8urxbC5V5PT4upmK5QVsCANhrA@mail.gmail.com>
To: "J. Bruce Fields" <bfields@redhat.com>
Cc: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>, draft-ietf-nfsv4-umask@ietf.org,  "nfsv4-chairs@ietf.org" <nfsv4-chairs@ietf.org>, NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c05f26cda6f1d054e411c28
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/r7nYs4FzrCgyWFMPqqzEKFaU9GQ>
Subject: Re: [nfsv4] AD Review of draft-ietf-nfsv4-umask-03
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: Fri, 28 Apr 2017 21:56:38 -0000

--94eb2c05f26cda6f1d054e411c28
Content-Type: text/plain; charset=UTF-8

> You should also be able to do this by trying an operation and checking
> for NFS4ERR_NOTSUPP, shouldn't you?

It's not quite that simple.  In some cases you, could get an OP_ILLEGAL or
even an XDR decode error.   This is discussed in the last paragraph of
Section 8.4
of xattr-04.  You can still do the more complicated thing but the document
recommends,
quite reasonably, that you check the attribute first.  There is no
"RECOMMENDATION",
but most clients would prefer to do the simpler thing regardless.

I don't see the point of deleting this.  It simplifies life for the client,
and the burden on the
server side is trivial.



On Fri, Apr 28, 2017 at 4:29 PM, J. Bruce Fields <bfields@redhat.com> wrote:

> On Fri, Apr 28, 2017 at 03:52:24PM -0400, David Noveck wrote:
> > I'd like to explain why these two drafts appropriately made different
> > choices in this regard.
> >
> > The xattrs draft defined a number of new operations, so it makes sense
> when
> > entering a file system to determine if those operations are supported for
> > that file system.  That attribute can be supported by the file system in
> > which case it tells you that xattrs are or are not supported or the
> > attribute might not be supported, in which case you can conclude, as the
> > default, that xattrs are not supported.
>
> You should also be able to do this by trying an operation and checking
> for NFS4ERR_NOTSUPP, shouldn't you?
>
> --b.
>
> >
> > For umask, the extension consists of a single attribute and it doesn't
> add
> > anything (but complexity) to add second new attribute to tell you if the
> > first new attribute is supported.   For any attribute, you can find out
> if
> > it is supported within a given file system, by interrogating the
> > appropriate bit position in the REQUIRED attribute supported_attrs.
> >
> > On Fri, Apr 28, 2017 at 3:35 PM, Spencer Dawkins at IETF <
> > spencerdawkins.ietf@gmail.com> wrote:
> >
> > > Dear Authors,
> > >
> > > This draft is very easy to understand - thank you for that.
> > >
> > > I'm fine requesting Last Call without this change, but if you could
> submit
> > > a revision that defines ACE on first use after Last Call, that would be
> > > nice.
> > >
> > > More broadly,
> > >
> > > I note that the xaddrs draft defines an xaddr_support attribute, but
> this
> > > draft doesn't have anything like a umask_support attribute. That could
> be
> > > fine (the algorithm looks like "try to set the umask, and if you get
> back
> > > NFS4ERR_INVAL, it didn't work, doesn't matter why"), but I wonder
> about the
> > > programming model being different between the first two variants for
> this
> > > version ... I don't have an opinion about that, but wanted to ask
> before
> > > they're both RFCs :-)
> > >
> > > Thanks,
> > >
> > > Spencer
> > >
> > > _______________________________________________
> > > nfsv4 mailing list
> > > nfsv4@ietf.org
> > > https://www.ietf.org/mailman/listinfo/nfsv4
> > >
> > >
>

--94eb2c05f26cda6f1d054e411c28
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-size:16px">&gt; You should also be abl=
e to do this by trying an operation and checking</span><br style=3D"font-si=
ze:16px"><span style=3D"font-size:16px">&gt; for NFS4ERR_NOTSUPP, shouldn&#=
39;t you?</span><div><span style=3D"font-size:16px"><br></span></div><div><=
span style=3D"font-size:16px">It&#39;s not quite that simple.=C2=A0 In some=
 cases you, could get an OP_ILLEGAL or</span></div><div><span style=3D"font=
-size:16px">even an XDR decode error. =C2=A0 This is discussed in the last =
paragraph of Section 8.4</span></div><div><span style=3D"font-size:16px">of=
 xattr-04.=C2=A0 You can still do the more complicated thing but the docume=
nt recommends,</span></div><div><span style=3D"font-size:16px">quite reason=
ably, that you check the attribute first.=C2=A0 There is no &quot;RECOMMEND=
ATION&quot;,</span></div><div><span style=3D"font-size:16px">but most clien=
ts would prefer to do the simpler thing regardless.</span></div><div><span =
style=3D"font-size:16px"><br></span></div><div><span style=3D"font-size:16p=
x">I don&#39;t see the point of deleting this.=C2=A0 It simplifies life for=
 the client, and the burden on the</span></div><div><span style=3D"font-siz=
e:16px">server side is trivial.<br></span><div><span style=3D"font-size:16p=
x"><br></span></div><div><span style=3D"font-size:16px"><br></span></div></=
div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri,=
 Apr 28, 2017 at 4:29 PM, J. Bruce Fields <span dir=3D"ltr">&lt;<a href=3D"=
mailto:bfields@redhat.com" target=3D"_blank">bfields@redhat.com</a>&gt;</sp=
an> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On Fri, Apr 2=
8, 2017 at 03:52:24PM -0400, David Noveck wrote:<br>
&gt; I&#39;d like to explain why these two drafts appropriately made differ=
ent<br>
&gt; choices in this regard.<br>
&gt;<br>
&gt; The xattrs draft defined a number of new operations, so it makes sense=
 when<br>
&gt; entering a file system to determine if those operations are supported =
for<br>
&gt; that file system.=C2=A0 That attribute can be supported by the file sy=
stem in<br>
&gt; which case it tells you that xattrs are or are not supported or the<br=
>
&gt; attribute might not be supported, in which case you can conclude, as t=
he<br>
&gt; default, that xattrs are not supported.<br>
<br>
</span>You should also be able to do this by trying an operation and checki=
ng<br>
for NFS4ERR_NOTSUPP, shouldn&#39;t you?<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--b.<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
&gt;<br>
&gt; For umask, the extension consists of a single attribute and it doesn&#=
39;t add<br>
&gt; anything (but complexity) to add second new attribute to tell you if t=
he<br>
&gt; first new attribute is supported.=C2=A0 =C2=A0For any attribute, you c=
an find out if<br>
&gt; it is supported within a given file system, by interrogating the<br>
&gt; appropriate bit position in the REQUIRED attribute supported_attrs.<br=
>
&gt;<br>
&gt; On Fri, Apr 28, 2017 at 3:35 PM, Spencer Dawkins at IETF &lt;<br>
&gt; <a href=3D"mailto:spencerdawkins.ietf@gmail.com">spencerdawkins.ietf@g=
mail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Dear Authors,<br>
&gt; &gt;<br>
&gt; &gt; This draft is very easy to understand - thank you for that.<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m fine requesting Last Call without this change, but if you=
 could submit<br>
&gt; &gt; a revision that defines ACE on first use after Last Call, that wo=
uld be<br>
&gt; &gt; nice.<br>
&gt; &gt;<br>
&gt; &gt; More broadly,<br>
&gt; &gt;<br>
&gt; &gt; I note that the xaddrs draft defines an xaddr_support attribute, =
but this<br>
&gt; &gt; draft doesn&#39;t have anything like a umask_support attribute. T=
hat could be<br>
&gt; &gt; fine (the algorithm looks like &quot;try to set the umask, and if=
 you get back<br>
&gt; &gt; NFS4ERR_INVAL, it didn&#39;t work, doesn&#39;t matter why&quot;),=
 but I wonder about the<br>
&gt; &gt; programming model being different between the first two variants =
for this<br>
&gt; &gt; version ... I don&#39;t have an opinion about that, but wanted to=
 ask before<br>
&gt; &gt; they&#39;re both RFCs :-)<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt;<br>
&gt; &gt; Spencer<br>
&gt; &gt;<br>
&gt; &gt; ______________________________<wbr>_________________<br>
&gt; &gt; nfsv4 mailing list<br>
&gt; &gt; <a href=3D"mailto:nfsv4@ietf.org">nfsv4@ietf.org</a><br>
&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"no=
referrer" target=3D"_blank">https://www.ietf.org/mailman/<wbr>listinfo/nfsv=
4</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
</div></div></blockquote></div><br></div>

--94eb2c05f26cda6f1d054e411c28--


From nobody Fri Apr 28 16:26:46 2017
Return-Path: <spencerdawkins.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 9391C129B84; Fri, 28 Apr 2017 16:26:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level: 
X-Spam-Status: No, score=-2.699 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] 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 D56aGHgQUGvo; Fri, 28 Apr 2017 16:26:42 -0700 (PDT)
Received: from mail-yw0-x22f.google.com (mail-yw0-x22f.google.com [IPv6:2607:f8b0:4002:c05::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 D5222129B34; Fri, 28 Apr 2017 16:24:19 -0700 (PDT)
Received: by mail-yw0-x22f.google.com with SMTP id u70so37836627ywe.2; Fri, 28 Apr 2017 16:24:19 -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=totJ0jiG+BwBqGYj8P4jRX6e4KK7s/L2tC/YUIyRmOg=; b=uEL415oDG5zp9e4qkByqNjNJ/GKdK0vfslhSQHL5pOgGaXnaGSQhaXqnb0vAz6T6OO k/6E35KyEjG9oWNIYSGiGq1i3QyGNhOq/F3dyP2hjLOe6Y7oVkHQ8Q+uEF8SQd9dK8ii WG4wEwkwQAqmavKLcV5KtzgCGmLLd0Vrjks8FlS1pHf54sXa9LJCcgXbHkO0fK31B1Bl IFzcEHHDYH3X+Z+9hVQrhIXrU0Yq3qUMFrUF/aJb+RNmLDjyRcPxKo/iUG/rPYvvYBje RHjx7d3BUo3hKD1acD37ggzXkNYGxOWIHaqgPGJb/1m1vPR7IcnBMLHebRWBXB1rUThv F9Ig==
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=totJ0jiG+BwBqGYj8P4jRX6e4KK7s/L2tC/YUIyRmOg=; b=jpXjuaHsm1B88Y482V/bHwSFik0pm0fhnff3l8B6sSZD/F6vI6LmOWCpMrTV3WLUux rwNjc7A819j5x0R/rmChr0vlB4SlHcMmVfQs+QLPFGyC/aEmaASW3XKvd+yGuDBnYO/K o6gkj+y2aFITWIv8yTnq1pSpHIiv2POsLyzSiInxDk0gVY+YweGRSTl83Db5ZB3+0rFI 1G6cfflqseBHTV55SBnVL7CgR8vVglbnAaQtZGxTzpCG/x5vGBJnJuiXJ026/skL8w0e RvQzhQMswEn68gxynaB3eUW19f8NKJ4nNhtaXuXecM/NahLXmv6N1vmO8AhImGGqblb4 9aHQ==
X-Gm-Message-State: AN3rC/4V+IGf8wJ6BeR/O3p2Q6Bu+olUXCKRRu/XWevK6Gw3aqTRLKYO xppLYngexkQYjQAjeiqxXD2S/1UYaA==
X-Received: by 10.129.159.212 with SMTP id w203mr12578882ywg.212.1493421859138;  Fri, 28 Apr 2017 16:24:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.37.161.198 with HTTP; Fri, 28 Apr 2017 16:24:18 -0700 (PDT)
In-Reply-To: <CADaq8jd8E_HEhFwLnPZ9r1Pc8urxbC5V5PT4upmK5QVsCANhrA@mail.gmail.com>
References: <CAKKJt-foHU23DZv+tsae_+kFrqjQ=Y6GWd44FBZGmf0+0N5exw@mail.gmail.com> <CADaq8jdupe4nKf6tQUenWkv55ZdkwY8qCOBJzxAkSJa8fiyWyA@mail.gmail.com> <20170428202925.GD11568@parsley.fieldses.org> <CADaq8jd8E_HEhFwLnPZ9r1Pc8urxbC5V5PT4upmK5QVsCANhrA@mail.gmail.com>
From: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Date: Fri, 28 Apr 2017 18:24:18 -0500
Message-ID: <CAKKJt-eCCjxCF9_qKHpNHWKdF=A53+3XeqR9gtXM-FyBSHeyOQ@mail.gmail.com>
To: David Noveck <davenoveck@gmail.com>
Cc: "J. Bruce Fields" <bfields@redhat.com>, draft-ietf-nfsv4-umask@ietf.org,  "nfsv4-chairs@ietf.org" <nfsv4-chairs@ietf.org>, NFSv4 <nfsv4@ietf.org>
Content-Type: multipart/alternative; boundary=94eb2c0b67c669f453054e425f7a
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/6JQbw3-xK2F84Nz1o4_g0k_4Y3A>
Subject: Re: [nfsv4] AD Review of draft-ietf-nfsv4-umask-03
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: Fri, 28 Apr 2017 23:26:45 -0000

--94eb2c0b67c669f453054e425f7a
Content-Type: text/plain; charset=UTF-8

Hi, David and Bruce,

On Fri, Apr 28, 2017 at 4:54 PM, David Noveck <davenoveck@gmail.com> wrote:

> > You should also be able to do this by trying an operation and checking
> > for NFS4ERR_NOTSUPP, shouldn't you?
>
> It's not quite that simple.  In some cases you, could get an OP_ILLEGAL or
> even an XDR decode error.   This is discussed in the last paragraph of
> Section 8.4
> of xattr-04.  You can still do the more complicated thing but the document
> recommends,
> quite reasonably, that you check the attribute first.  There is no
> "RECOMMENDATION",
> but most clients would prefer to do the simpler thing regardless.
>
> I don't see the point of deleting this.  It simplifies life for the
> client, and the burden on the
> server side is trivial.
>

Thanks for satisfying my curiosity.

 I don't mean to question the decision for either draft (-umask is already
in Last Call, and -xaddrs will be in Last Call Really Soon, so you can tell
I don't think the difference is a problem), but it made sense to me that I
should ask, in case the authors on either draft wanted to rethink the
decision.

Spencer (D), who does a lot of pattern matching when reviewing drafts that
he's less familiar with ;-)


> On Fri, Apr 28, 2017 at 4:29 PM, J. Bruce Fields <bfields@redhat.com>
> wrote:
>
>> On Fri, Apr 28, 2017 at 03:52:24PM -0400, David Noveck wrote:
>> > I'd like to explain why these two drafts appropriately made different
>> > choices in this regard.
>> >
>> > The xattrs draft defined a number of new operations, so it makes sense
>> when
>> > entering a file system to determine if those operations are supported
>> for
>> > that file system.  That attribute can be supported by the file system in
>> > which case it tells you that xattrs are or are not supported or the
>> > attribute might not be supported, in which case you can conclude, as the
>> > default, that xattrs are not supported.
>>
>> You should also be able to do this by trying an operation and checking
>> for NFS4ERR_NOTSUPP, shouldn't you?
>>
>> --b.
>>
>> >
>> > For umask, the extension consists of a single attribute and it doesn't
>> add
>> > anything (but complexity) to add second new attribute to tell you if the
>> > first new attribute is supported.   For any attribute, you can find out
>> if
>> > it is supported within a given file system, by interrogating the
>> > appropriate bit position in the REQUIRED attribute supported_attrs.
>> >
>> > On Fri, Apr 28, 2017 at 3:35 PM, Spencer Dawkins at IETF <
>> > spencerdawkins.ietf@gmail.com> wrote:
>> >
>> > > Dear Authors,
>> > >
>> > > This draft is very easy to understand - thank you for that.
>> > >
>> > > I'm fine requesting Last Call without this change, but if you could
>> submit
>> > > a revision that defines ACE on first use after Last Call, that would
>> be
>> > > nice.
>> > >
>> > > More broadly,
>> > >
>> > > I note that the xaddrs draft defines an xaddr_support attribute, but
>> this
>> > > draft doesn't have anything like a umask_support attribute. That
>> could be
>> > > fine (the algorithm looks like "try to set the umask, and if you get
>> back
>> > > NFS4ERR_INVAL, it didn't work, doesn't matter why"), but I wonder
>> about the
>> > > programming model being different between the first two variants for
>> this
>> > > version ... I don't have an opinion about that, but wanted to ask
>> before
>> > > they're both RFCs :-)
>> > >
>> > > Thanks,
>> > >
>> > > Spencer
>> > >
>> > > _______________________________________________
>> > > nfsv4 mailing list
>> > > nfsv4@ietf.org
>> > > https://www.ietf.org/mailman/listinfo/nfsv4
>> > >
>> > >
>>
>
>

--94eb2c0b67c669f453054e425f7a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi, David and Bruce,<div class=3D"gmail_extra"><br><div cl=
ass=3D"gmail_quote">On Fri, Apr 28, 2017 at 4:54 PM, David Noveck <span dir=
=3D"ltr">&lt;<a href=3D"mailto:davenoveck@gmail.com" target=3D"_blank">dave=
noveck@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><d=
iv dir=3D"ltr"><span class=3D""><span style=3D"font-size:16px">&gt; You sho=
uld also be able to do this by trying an operation and checking</span><br s=
tyle=3D"font-size:16px"><span style=3D"font-size:16px">&gt; for NFS4ERR_NOT=
SUPP, shouldn&#39;t you?</span><div><span style=3D"font-size:16px"><br></sp=
an></div></span><div><span style=3D"font-size:16px">It&#39;s not quite that=
 simple.=C2=A0 In some cases you, could get an OP_ILLEGAL or</span></div><d=
iv><span style=3D"font-size:16px">even an XDR decode error. =C2=A0 This is =
discussed in the last paragraph of Section 8.4</span></div><div><span style=
=3D"font-size:16px">of xattr-04.=C2=A0 You can still do the more complicate=
d thing but the document recommends,</span></div><div><span style=3D"font-s=
ize:16px">quite reasonably, that you check the attribute first.=C2=A0 There=
 is no &quot;RECOMMENDATION&quot;,</span></div><div><span style=3D"font-siz=
e:16px">but most clients would prefer to do the simpler thing regardless.</=
span></div><div><span style=3D"font-size:16px"><br></span></div><div><span =
style=3D"font-size:16px">I don&#39;t see the point of deleting this.=C2=A0 =
It simplifies life for the client, and the burden on the</span></div><div><=
span style=3D"font-size:16px">server side is trivial.<br></span></div></div=
></blockquote><div><br></div><div>Thanks for satisfying my curiosity.</div>=
<div><br></div><div>=C2=A0I don&#39;t mean to question the decision for eit=
her draft (-umask is already in Last Call, and -xaddrs will be in Last Call=
 Really Soon, so you can tell I don&#39;t think the difference is a problem=
), but it made sense to me that I should ask, in case the authors on either=
 draft wanted to rethink the decision.</div><div><br></div><div>Spencer (D)=
, who does a lot of pattern matching when reviewing drafts that he&#39;s le=
ss familiar with ;-)</div><div>=C2=A0</div><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><=
div dir=3D"ltr"><div><span style=3D"font-size:16px"></span><div><span style=
=3D"color:rgb(80,0,80)">On Fri, Apr 28, 2017 at 4:29 PM, J. Bruce Fields </=
span><span dir=3D"ltr" style=3D"color:rgb(80,0,80)">&lt;<a href=3D"mailto:b=
fields@redhat.com" target=3D"_blank">bfields@redhat.com</a>&gt;</span><span=
 style=3D"color:rgb(80,0,80)"> wrote:</span><br></div></div></div><div clas=
s=3D"HOEnZb"><div class=3D"h5"><div class=3D"gmail_extra"><div class=3D"gma=
il_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex"><span>On Fri, Apr 28, 2017 at 03:5=
2:24PM -0400, David Noveck wrote:<br>
&gt; I&#39;d like to explain why these two drafts appropriately made differ=
ent<br>
&gt; choices in this regard.<br>
&gt;<br>
&gt; The xattrs draft defined a number of new operations, so it makes sense=
 when<br>
&gt; entering a file system to determine if those operations are supported =
for<br>
&gt; that file system.=C2=A0 That attribute can be supported by the file sy=
stem in<br>
&gt; which case it tells you that xattrs are or are not supported or the<br=
>
&gt; attribute might not be supported, in which case you can conclude, as t=
he<br>
&gt; default, that xattrs are not supported.<br>
<br>
</span>You should also be able to do this by trying an operation and checki=
ng<br>
for NFS4ERR_NOTSUPP, shouldn&#39;t you?<br>
<span class=3D"m_1555174183544624388HOEnZb"><font color=3D"#888888"><br>
--b.<br>
</font></span><div class=3D"m_1555174183544624388HOEnZb"><div class=3D"m_15=
55174183544624388h5"><br>
&gt;<br>
&gt; For umask, the extension consists of a single attribute and it doesn&#=
39;t add<br>
&gt; anything (but complexity) to add second new attribute to tell you if t=
he<br>
&gt; first new attribute is supported.=C2=A0 =C2=A0For any attribute, you c=
an find out if<br>
&gt; it is supported within a given file system, by interrogating the<br>
&gt; appropriate bit position in the REQUIRED attribute supported_attrs.<br=
>
&gt;<br>
&gt; On Fri, Apr 28, 2017 at 3:35 PM, Spencer Dawkins at IETF &lt;<br>
&gt; <a href=3D"mailto:spencerdawkins.ietf@gmail.com" target=3D"_blank">spe=
ncerdawkins.ietf@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Dear Authors,<br>
&gt; &gt;<br>
&gt; &gt; This draft is very easy to understand - thank you for that.<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m fine requesting Last Call without this change, but if you=
 could submit<br>
&gt; &gt; a revision that defines ACE on first use after Last Call, that wo=
uld be<br>
&gt; &gt; nice.<br>
&gt; &gt;<br>
&gt; &gt; More broadly,<br>
&gt; &gt;<br>
&gt; &gt; I note that the xaddrs draft defines an xaddr_support attribute, =
but this<br>
&gt; &gt; draft doesn&#39;t have anything like a umask_support attribute. T=
hat could be<br>
&gt; &gt; fine (the algorithm looks like &quot;try to set the umask, and if=
 you get back<br>
&gt; &gt; NFS4ERR_INVAL, it didn&#39;t work, doesn&#39;t matter why&quot;),=
 but I wonder about the<br>
&gt; &gt; programming model being different between the first two variants =
for this<br>
&gt; &gt; version ... I don&#39;t have an opinion about that, but wanted to=
 ask before<br>
&gt; &gt; they&#39;re both RFCs :-)<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt;<br>
&gt; &gt; Spencer<br>
&gt; &gt;<br>
&gt; &gt; ______________________________<wbr>_________________<br>
&gt; &gt; nfsv4 mailing list<br>
&gt; &gt; <a href=3D"mailto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.or=
g</a><br>
&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/nfsv4" rel=3D"no=
referrer" target=3D"_blank">https://www.ietf.org/mailman/l<wbr>istinfo/nfsv=
4</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>

--94eb2c0b67c669f453054e425f7a--


From nobody Fri Apr 28 21:04:25 2017
Return-Path: <internet-drafts@ietf.org>
X-Original-To: nfsv4@ietf.org
Delivered-To: nfsv4@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 5014A12955A; Fri, 28 Apr 2017 21:04:24 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: nfsv4@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 6.50.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <149343866429.2881.14193203932982510104@ietfa.amsl.com>
Date: Fri, 28 Apr 2017 21:04:24 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/aJMaeeaPFrli86vR8AZrGJOdQzc>
Subject: [nfsv4] I-D Action: draft-ietf-nfsv4-xattrs-05.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.22
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: Sat, 29 Apr 2017 04:04:24 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network File System Version 4 of the IETF.

        Title           : File System Extended Attributes in NFSv4
        Authors         : Manoj Naik
                          Marc Eshel
	Filename        : draft-ietf-nfsv4-xattrs-05.txt
	Pages           : 28
	Date            : 2017-04-28

Abstract:
   This document describes an OPTIONAL feature extending the NFSv4
   protocol which allows extended attributes (hereinafter also referred
   to as xattrs) to be interrogated and manipulated using NFSv4 clients.
    Xattrs are provided by a file system to associate opaque metadata,
   not interpreted by the file system, with files and directories.  Such
   support is present in many modern local file systems.  New file
   attributes are provided to allow clients to query the server for
   xattr support, with that support consisting of new operations to get
   and set xattrs on file system objects.



The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-nfsv4-xattrs/

There are also htmlized versions available at:
https://tools.ietf.org/html/draft-ietf-nfsv4-xattrs-05
https://datatracker.ietf.org/doc/html/draft-ietf-nfsv4-xattrs-05

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-nfsv4-xattrs-05


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Fri Apr 28 21:09:31 2017
Return-Path: <manoj.naik@nutanix.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 3F1DA12952D; Fri, 28 Apr 2017 21:09:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.02
X-Spam-Level: 
X-Spam-Status: No, score=-2.02 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nutanix.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 dYBwbcmN7Old; Fri, 28 Apr 2017 21:09:27 -0700 (PDT)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0104.outbound.protection.outlook.com [104.47.37.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3AFFF129AA6; Fri, 28 Apr 2017 21:07:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nutanix.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=MgFfLL5ZqEn1TMcz45nmA+MZZgH8dhy/KnCk/qIrISA=; b=uDpWtWpxrCyUqcj29P6nAkCX3iCFTjnVARwDoMVmwEMPUHL2pXfPpaJRFhXKA/LgbpehnGMQJd1pPT5LSchOyby0Yp2rbY1B62NeDqjqPLNYZSpwipHGMGxIG0DYnktKDiD4mCjv6hqEdHe9AJvBkxjcuMGJcbIrzlhg/2mCVKk=
Received: from DM5PR02MB2617.namprd02.prod.outlook.com (10.168.196.7) by DM5PR02MB2617.namprd02.prod.outlook.com (10.168.196.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12; Sat, 29 Apr 2017 04:07:05 +0000
Received: from DM5PR02MB2617.namprd02.prod.outlook.com ([10.168.196.7]) by DM5PR02MB2617.namprd02.prod.outlook.com ([10.168.196.7]) with mapi id 15.01.1061.013; Sat, 29 Apr 2017 04:07:04 +0000
From: Manoj Naik <manoj.naik@nutanix.com>
To: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>, "draft-ietf-nfsv4-xattrs@ietf.org" <draft-ietf-nfsv4-xattrs@ietf.org>
CC: "nfsv4-chairs@ietf.org" <nfsv4-chairs@ietf.org>, NFSv4 <nfsv4@ietf.org>
Thread-Topic: AD Evaluation of draft-ietf-nfsv4-xattrs-04
Thread-Index: AQHSwFIgp5ppCMckzU674Js9sX1gzqHbRiCA
Date: Sat, 29 Apr 2017 04:07:04 +0000
Message-ID: <E5B15E4C-960E-4620-9EC8-6E0893E07244@nutanix.com>
References: <CAKKJt-c=wHPP61COdPKcpgLZ7pSfoG+6VC-_NrakF_PHCFM-fA@mail.gmail.com>
In-Reply-To: <CAKKJt-c=wHPP61COdPKcpgLZ7pSfoG+6VC-_NrakF_PHCFM-fA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=nutanix.com;
x-originating-ip: [50.174.252.74]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM5PR02MB2617; 7:GVJKJqvnJZKf07ZRzSniLqHUk48sEvn3iCo3kwceKACQHWXXCpEnsNMMM8kbK7JQjWuWHQN5hPKiRwAGVmyeVjFOXeuC7o7olGTWnaFov9EJXtvKQejyPnO3EN0sMQjONHwrsjnzuk/9dmLEbk/G9+J3DAxLFANC7QfaQflmoo5sdjLDDcQk2dWzx4UmAGt7wze2wBgKcbzlp0/0eb/hZ/aa24MQTRoAhXUIg+o32e3yjHGCW0FLbMN9spKgqdR308AkN0D6gmx0FdGQwdAgygFr/rG1cagHF/TlhzyFFnxDz7JRDEdbUYg43mC7GfjetsHzbk0RMJuIA9VNunSKjA==
x-ms-office365-filtering-correlation-id: a40f3652-6e1d-4ad2-a776-08d48eb53246
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:DM5PR02MB2617; 
x-microsoft-antispam-prvs: <DM5PR02MB2617316355A9E605FD220A6280120@DM5PR02MB2617.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(52384705835673)(21748063052155)(104084551191319); 
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(6041248)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123555025)(6072148); SRVR:DM5PR02MB2617; BCL:0; PCL:0; RULEID:; SRVR:DM5PR02MB2617; 
x-forefront-prvs: 02929ECF07
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39400400002)(39410400002)(39850400002)(39450400003)(39840400002)(39860400002)(377454003)(43784003)(7736002)(229853002)(25786009)(3660700001)(39060400002)(6436002)(38730400002)(7906003)(3280700002)(6506006)(2950100002)(77096006)(66066001)(53546009)(189998001)(606005)(53936002)(81166006)(2900100001)(478600001)(4326008)(8936002)(50986999)(8676002)(76176999)(6246003)(122556002)(230783001)(2906002)(54356999)(86362001)(33656002)(2501003)(36756003)(99286003)(82746002)(6486002)(5660300001)(6116002)(97736004)(236005)(6512007)(6306002)(54896002)(3846002)(102836003)(54906002)(83716003)(64030200001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR02MB2617; H:DM5PR02MB2617.namprd02.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; 
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_E5B15E4C960E46209EC86E0893E07244nutanixcom_"
MIME-Version: 1.0
X-OriginatorOrg: nutanix.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2017 04:07:04.6826 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bb047546-786f-4de1-bd75-24e5b6f79043
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR02MB2617
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/FHaCQmzx7AzGuKDRUE9gzWLM-S4>
Subject: Re: [nfsv4] AD Evaluation of draft-ietf-nfsv4-xattrs-04
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: Sat, 29 Apr 2017 04:09:29 -0000

--_000_E5B15E4C960E46209EC86E0893E07244nutanixcom_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

U3BlbmNlciwNCg0KSSBoYXZlIHN1Ym1pdHRlZCBhbiB1cGRhdGUgKGh0dHBzOi8vd3d3LmlldGYu
b3JnL2lkL2RyYWZ0LWlldGYtbmZzdjQteGF0dHJzLTA1LnR4dCkgd2l0aCB0aGUgdXBkYXRlZCB0
ZXh0Lg0KDQpUaGFua3MsDQpNYW5vai4NCg0KRnJvbTogU3BlbmNlciBEYXdraW5zIGF0IElFVEYg
PHNwZW5jZXJkYXdraW5zLmlldGZAZ21haWwuY29tPg0KRGF0ZTogRnJpZGF5LCBBcHJpbCAyOCwg
MjAxNyBhdCAxMjowMiBQTQ0KVG86ICJkcmFmdC1pZXRmLW5mc3Y0LXhhdHRyc0BpZXRmLm9yZyIg
PGRyYWZ0LWlldGYtbmZzdjQteGF0dHJzQGlldGYub3JnPg0KQ2M6ICJuZnN2NC1jaGFpcnNAaWV0
Zi5vcmciIDxuZnN2NC1jaGFpcnNAaWV0Zi5vcmc+LCBORlN2NCA8bmZzdjRAaWV0Zi5vcmc+DQpT
dWJqZWN0OiBBRCBFdmFsdWF0aW9uIG9mIGRyYWZ0LWlldGYtbmZzdjQteGF0dHJzLTA0DQpSZXNl
bnQtRnJvbTogPGFsaWFzLWJvdW5jZXNAaWV0Zi5vcmc+DQpSZXNlbnQtVG86IDxtYW5vai5uYWlr
QG51dGFuaXguY29tPiwgPGVzaGVsQGFsbWFkZW4uaWJtLmNvbT4NClJlc2VudC1EYXRlOiBGcmlk
YXksIEFwcmlsIDI4LCAyMDE3IGF0IDEyOjAzIFBNDQoNCkRlYXIgQXV0aG9ycywNCg0KSSd2ZSBj
b21wbGV0ZWQgbXkgQUQgZXZhbHVhdGlvbiBmb3IgdGhpcyBkcmFmdC4gSXQncyByZWFsbHkgY2xl
YW4gYW5kIGVhc3kgZm9yIG1lIHRvIHVuZGVyc3RhbmQuDQoNCkkgbm90aWNlZCBvbmUgbml0IHRo
YXQgeW91J2QgcHJvYmFibHkgbGlrZSB0byBjaGFuZ2UgYmVmb3JlIExhc3QgQ2FsbCAodGhlIGZl
d2VyIHRoaW5ncyByZXZpZXdlcnMgaGF2ZSB0byBjb21wbGFpbiBhYm91dCwgdGhlIGZld2VyIExh
c3QgQ2FsbCBjb21tZW50cyB5b3UnbGwgc2VlKS4NCg0KSW4gdGhpcyB0ZXh0LA0KDQogICBOb3Rl
IHRoYXQgdGhlIFhEUiBjb2RlIGNvbnRhaW5lZCBpbiB0aGlzIGRvY3VtZW50IGRlcGVuZHMgb24g
dHlwZXMNCiAgIGZyb20gdGhlIHByb3Bvc2VkIE5GU3Y0LjIgbmZzNF9wcm90LnggZmlsZSBbUkZD
Nzg2M10uICBUaGlzIGluY2x1ZGVzDQogICBib3RoIG5mcyB0eXBlcyB0aGF0IGVuZCB3aXRoIGEg
NCwgc3VjaCBhcyBuZnNfY29va2llNCwgY291bnQ0LCBldGMuLA0KICAgYXMgd2VsbCBhcyBtb3Jl
IGdlbmVyaWMgdHlwZXMgc3VjaCBhcyBvcGFxdWUgYW5kIGJvb2wuDQoNCmFuZCB0aGlzIHRleHQs
DQoNCiAgIEluIG9yZGVyIHRvIHByb3ZpZGUgZmluZS1ncmFpbmVkIGFjY2VzcyBjb250cm9sIHRv
IHF1ZXJ5IG9yIG1vZGlmeQ0KICAgZXh0ZW5kZWQgYXR0cmlidXRlcywgYWRkaXRpb25zIGFyZSBw
cm9wb3NlZCB0byB0aGUgc2V0IG9mIGFjY2Vzcw0KICAgcmlnaHRzIHRoYXQgY2FuIGJlIGNoZWNr
ZWQgdG8gZGV0ZXJtaW5lIGlmIHRoZSBjbGllbnQgaXMgcGVybWl0dGVkIHRvDQogICBwZXJmb3Jt
IHRoZSB4YXR0ciBvcGVyYXRpb24uDQoNCkkgbm90aWNlZCB0aGF0IHRoZSBkcmFmdCBpcyBzdGls
bCB3cml0dGVuIGxpa2UgYSBkcmFmdCAtICJwcm9wb3NlZCIuIEF0IHRoaXMgcG9pbnQsIHRoZSB0
ZXh0IHNob3VsZCBiZSB3aGF0IHlvdSdkIGV4cGVjdCB0byBzZWUgaW4gYW4gYXBwcm92ZWQgUkZD
IC0gc28sIHNvbWV0aGluZyBsaWtlDQoNCiAgIE5vdGUgdGhhdCB0aGUgWERSIGNvZGUgY29udGFp
bmVkIGluIHRoaXMgZG9jdW1lbnQgZGVwZW5kcyBvbiB0eXBlcw0KICAgZnJvbSB0aGUgTkZTdjQu
MiBuZnM0X3Byb3QueCBmaWxlIGRlZmluZWQgaW4gW1JGQzc4NjNdLiAgVGhpcyBpbmNsdWRlcw0K
ICAgYm90aCBuZnMgdHlwZXMgdGhhdCBlbmQgd2l0aCBhIDQsIHN1Y2ggYXMgbmZzX2Nvb2tpZTQs
IGNvdW50NCwgZXRjLiwNCiAgIGFzIHdlbGwgYXMgbW9yZSBnZW5lcmljIHR5cGVzIHN1Y2ggYXMg
b3BhcXVlIGFuZCBib29sLg0KDQphbmQNCg0KICAgSW4gb3JkZXIgdG8gcHJvdmlkZSBmaW5lLWdy
YWluZWQgYWNjZXNzIGNvbnRyb2wgdG8gcXVlcnkgb3IgbW9kaWZ5DQogICBleHRlbmRlZCBhdHRy
aWJ1dGVzLCBuZXcgYWNjZXNzIHJpZ2h0cyBhcmUgZGVmaW5lZCBmb3IgdGhlIHNldCBvZiBhY2Nl
c3MNCiAgIHJpZ2h0cyB0aGF0IGNhbiBiZSBjaGVja2VkIHRvIGRldGVybWluZSBpZiB0aGUgY2xp
ZW50IGlzIHBlcm1pdHRlZCB0bw0KICAgcGVyZm9ybSB0aGUgeGF0dHIgb3BlcmF0aW9uLg0KDQpD
b3VsZCB5b3Ugc3VibWl0IGFuIHVwZGF0ZT8gQW5kIHRoZW4gSSdsbCByZXF1ZXN0IExhc3QgQ2Fs
bC4NCg0KVGhhbmtzIGFnYWluIGZvciBhIHJlYWxseSBjbGVhciBkb2N1bWVudCENCg0KU3BlbmNl
cg0K

--_000_E5B15E4C960E46209EC86E0893E07244nutanixcom_
Content-Type: text/html; charset="utf-8"
Content-ID: <A20E8887A2677641BC5FF519072C22B4@namprd02.prod.outlook.com>
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6bz0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6b2ZmaWNlIiB4
bWxuczp3PSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTp3b3JkIiB4bWxuczptPSJo
dHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL29mZmljZS8yMDA0LzEyL29tbWwiIHhtbG5zPSJo
dHRwOi8vd3d3LnczLm9yZy9UUi9SRUMtaHRtbDQwIj4NCjxoZWFkPg0KPG1ldGEgaHR0cC1lcXVp
dj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPg0KPG1l
dGEgbmFtZT0iVGl0bGUiIGNvbnRlbnQ9IiI+DQo8bWV0YSBuYW1lPSJLZXl3b3JkcyIgY29udGVu
dD0iIj4NCjxtZXRhIG5hbWU9IkdlbmVyYXRvciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTUg
KGZpbHRlcmVkIG1lZGl1bSkiPg0KPHN0eWxlPjwhLS0NCi8qIEZvbnQgRGVmaW5pdGlvbnMgKi8N
CkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6IkNhbWJyaWEgTWF0aCI7DQoJcGFub3NlLTE6MiA0
IDUgMyA1IDQgNiAzIDIgNDt9DQpAZm9udC1mYWNlDQoJe2ZvbnQtZmFtaWx5OkNhbGlicmk7DQoJ
cGFub3NlLTE6MiAxNSA1IDIgMiAyIDQgMyAyIDQ7fQ0KLyogU3R5bGUgRGVmaW5pdGlvbnMgKi8N
CnAuTXNvTm9ybWFsLCBsaS5Nc29Ob3JtYWwsIGRpdi5Nc29Ob3JtYWwNCgl7bWFyZ2luOjBpbjsN
CgltYXJnaW4tYm90dG9tOi4wMDAxcHQ7DQoJZm9udC1zaXplOjEyLjBwdDsNCglmb250LWZhbWls
eToiVGltZXMgTmV3IFJvbWFuIjt9DQphOmxpbmssIHNwYW4uTXNvSHlwZXJsaW5rDQoJe21zby1z
dHlsZS1wcmlvcml0eTo5OTsNCgljb2xvcjojMDU2M0MxOw0KCXRleHQtZGVjb3JhdGlvbjp1bmRl
cmxpbmU7fQ0KYTp2aXNpdGVkLCBzcGFuLk1zb0h5cGVybGlua0ZvbGxvd2VkDQoJe21zby1zdHls
ZS1wcmlvcml0eTo5OTsNCgljb2xvcjojOTU0RjcyOw0KCXRleHQtZGVjb3JhdGlvbjp1bmRlcmxp
bmU7fQ0Kc3Bhbi5FbWFpbFN0eWxlMTcNCgl7bXNvLXN0eWxlLXR5cGU6cGVyc29uYWwtcmVwbHk7
DQoJZm9udC1mYW1pbHk6Q2FsaWJyaTsNCgljb2xvcjp3aW5kb3d0ZXh0O30NCnNwYW4ubXNvSW5z
DQoJe21zby1zdHlsZS10eXBlOmV4cG9ydC1vbmx5Ow0KCW1zby1zdHlsZS1uYW1lOiIiOw0KCXRl
eHQtZGVjb3JhdGlvbjp1bmRlcmxpbmU7DQoJY29sb3I6dGVhbDt9DQouTXNvQ2hwRGVmYXVsdA0K
CXttc28tc3R5bGUtdHlwZTpleHBvcnQtb25seTsNCglmb250LXNpemU6MTAuMHB0O30NCkBwYWdl
IFdvcmRTZWN0aW9uMQ0KCXtzaXplOjguNWluIDExLjBpbjsNCgltYXJnaW46MS4waW4gMS4waW4g
MS4waW4gMS4waW47fQ0KZGl2LldvcmRTZWN0aW9uMQ0KCXtwYWdlOldvcmRTZWN0aW9uMTt9DQot
LT48L3N0eWxlPg0KPC9oZWFkPg0KPGJvZHkgYmdjb2xvcj0id2hpdGUiIGxhbmc9IkVOLVVTIiBs
aW5rPSIjMDU2M0MxIiB2bGluaz0iIzk1NEY3MiI+DQo8ZGl2IGNsYXNzPSJXb3JkU2VjdGlvbjEi
Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9u
dC1mYW1pbHk6Q2FsaWJyaSI+U3BlbmNlciw8bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFz
cz0iTXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTpD
YWxpYnJpIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFs
Ij48c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTpDYWxpYnJpIj5JIGhh
dmUgc3VibWl0dGVkIGFuIHVwZGF0ZSAoPGEgaHJlZj0iaHR0cHM6Ly93d3cuaWV0Zi5vcmcvaWQv
ZHJhZnQtaWV0Zi1uZnN2NC14YXR0cnMtMDUudHh0KSI+aHR0cHM6Ly93d3cuaWV0Zi5vcmcvaWQv
ZHJhZnQtaWV0Zi1uZnN2NC14YXR0cnMtMDUudHh0KTwvYT4gd2l0aCB0aGUgdXBkYXRlZCB0ZXh0
LjxvOnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxl
PSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OkNhbGlicmkiPjxvOnA+Jm5ic3A7PC9vOnA+
PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6
MTEuMHB0O2ZvbnQtZmFtaWx5OkNhbGlicmkiPlRoYW5rcyw8bzpwPjwvbzpwPjwvc3Bhbj48L3A+
DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250
LWZhbWlseTpDYWxpYnJpIj5NYW5vai48bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0i
TXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTpDYWxp
YnJpIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+DQo8ZGl2IHN0eWxlPSJib3JkZXI6bm9u
ZTtib3JkZXItdG9wOnNvbGlkICNCNUM0REYgMS4wcHQ7cGFkZGluZzozLjBwdCAwaW4gMGluIDBp
biI+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48Yj48c3BhbiBzdHlsZT0iZm9udC1mYW1pbHk6Q2Fs
aWJyaTtjb2xvcjpibGFjayI+RnJvbTogPC9zcGFuPg0KPC9iPjxzcGFuIHN0eWxlPSJmb250LWZh
bWlseTpDYWxpYnJpO2NvbG9yOmJsYWNrIj5TcGVuY2VyIERhd2tpbnMgYXQgSUVURiAmbHQ7c3Bl
bmNlcmRhd2tpbnMuaWV0ZkBnbWFpbC5jb20mZ3Q7PGJyPg0KPGI+RGF0ZTogPC9iPkZyaWRheSwg
QXByaWwgMjgsIDIwMTcgYXQgMTI6MDIgUE08YnI+DQo8Yj5UbzogPC9iPiZxdW90O2RyYWZ0LWll
dGYtbmZzdjQteGF0dHJzQGlldGYub3JnJnF1b3Q7ICZsdDtkcmFmdC1pZXRmLW5mc3Y0LXhhdHRy
c0BpZXRmLm9yZyZndDs8YnI+DQo8Yj5DYzogPC9iPiZxdW90O25mc3Y0LWNoYWlyc0BpZXRmLm9y
ZyZxdW90OyAmbHQ7bmZzdjQtY2hhaXJzQGlldGYub3JnJmd0OywgTkZTdjQgJmx0O25mc3Y0QGll
dGYub3JnJmd0Ozxicj4NCjxiPlN1YmplY3Q6IDwvYj5BRCBFdmFsdWF0aW9uIG9mIGRyYWZ0LWll
dGYtbmZzdjQteGF0dHJzLTA0PGJyPg0KPGI+UmVzZW50LUZyb206IDwvYj4mbHQ7YWxpYXMtYm91
bmNlc0BpZXRmLm9yZyZndDs8YnI+DQo8Yj5SZXNlbnQtVG86IDwvYj4mbHQ7bWFub2oubmFpa0Bu
dXRhbml4LmNvbSZndDssICZsdDtlc2hlbEBhbG1hZGVuLmlibS5jb20mZ3Q7PGJyPg0KPGI+UmVz
ZW50LURhdGU6IDwvYj5GcmlkYXksIEFwcmlsIDI4LCAyMDE3IGF0IDEyOjAzIFBNPG86cD48L286
cD48L3NwYW4+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4m
bmJzcDs8L286cD48L3A+DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj5EZWFy
IEF1dGhvcnMsJm5ic3A7IDxvOnA+PC9vOnA+PC9wPg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3Jt
YWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05v
cm1hbCI+SSd2ZSBjb21wbGV0ZWQgbXkgQUQgZXZhbHVhdGlvbiBmb3IgdGhpcyBkcmFmdC4gSXQn
cyByZWFsbHkgY2xlYW4gYW5kIGVhc3kgZm9yIG1lIHRvIHVuZGVyc3RhbmQuPG86cD48L286cD48
L3A+DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48bzpwPiZuYnNwOzwvbzpw
PjwvcD4NCjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPkkgbm90aWNlZCBvbmUg
bml0IHRoYXQgeW91J2QgcHJvYmFibHkgbGlrZSB0byBjaGFuZ2UgYmVmb3JlIExhc3QgQ2FsbCAo
dGhlIGZld2VyIHRoaW5ncyByZXZpZXdlcnMgaGF2ZSB0byBjb21wbGFpbiBhYm91dCwgdGhlIGZl
d2VyIExhc3QgQ2FsbCBjb21tZW50cyB5b3UnbGwgc2VlKS48bzpwPjwvbzpwPjwvcD4NCjwvZGl2
Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPC9k
aXY+DQo8ZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPkluIHRoaXMgdGV4dCw8bzpw
PjwvbzpwPjwvcD4NCjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5i
c3A7PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+Jm5ic3A7
ICZuYnNwO05vdGUgdGhhdCB0aGUgWERSIGNvZGUgY29udGFpbmVkIGluIHRoaXMgZG9jdW1lbnQg
ZGVwZW5kcyBvbiB0eXBlczxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9
Ik1zb05vcm1hbCI+Jm5ic3A7ICZuYnNwO2Zyb20gdGhlIHByb3Bvc2VkIE5GU3Y0LjIgbmZzNF9w
cm90LnggZmlsZSBbUkZDNzg2M10uJm5ic3A7IFRoaXMgaW5jbHVkZXM8bzpwPjwvbzpwPjwvcD4N
CjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPiZuYnNwOyAmbmJzcDtib3RoIG5m
cyB0eXBlcyB0aGF0IGVuZCB3aXRoIGEgNCwgc3VjaCBhcyBuZnNfY29va2llNCwgY291bnQ0LCBl
dGMuLDxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+
Jm5ic3A7ICZuYnNwO2FzIHdlbGwgYXMgbW9yZSBnZW5lcmljIHR5cGVzIHN1Y2ggYXMgb3BhcXVl
IGFuZCBib29sLjxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05v
cm1hbCI+PG86cD4mbmJzcDs8L286cD48L3A+DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNv
Tm9ybWFsIj5hbmQgdGhpcyB0ZXh0LDxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAg
Y2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJzcDs8L286cD48L3A+DQo8L2Rpdj4NCjxkaXY+DQo8
cCBjbGFzcz0iTXNvTm9ybWFsIj4mbmJzcDsgJm5ic3A7SW4gb3JkZXIgdG8gcHJvdmlkZSBmaW5l
LWdyYWluZWQgYWNjZXNzIGNvbnRyb2wgdG8gcXVlcnkgb3IgbW9kaWZ5PG86cD48L286cD48L3A+
DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj4mbmJzcDsgJm5ic3A7ZXh0ZW5k
ZWQgYXR0cmlidXRlcywgYWRkaXRpb25zIGFyZSBwcm9wb3NlZCB0byB0aGUgc2V0IG9mIGFjY2Vz
czxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+Jm5i
c3A7ICZuYnNwO3JpZ2h0cyB0aGF0IGNhbiBiZSBjaGVja2VkIHRvIGRldGVybWluZSBpZiB0aGUg
Y2xpZW50IGlzIHBlcm1pdHRlZCB0bzxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAg
Y2xhc3M9Ik1zb05vcm1hbCI+Jm5ic3A7ICZuYnNwO3BlcmZvcm0gdGhlIHhhdHRyIG9wZXJhdGlv
bi48bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxv
OnA+Jm5ic3A7PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+
SSBub3RpY2VkIHRoYXQgdGhlIGRyYWZ0IGlzIHN0aWxsIHdyaXR0ZW4gbGlrZSBhIGRyYWZ0IC0g
JnF1b3Q7cHJvcG9zZWQmcXVvdDsuIEF0IHRoaXMgcG9pbnQsIHRoZSB0ZXh0IHNob3VsZCBiZSB3
aGF0IHlvdSdkIGV4cGVjdCB0byBzZWUgaW4gYW4gYXBwcm92ZWQgUkZDIC0gc28sIHNvbWV0aGlu
ZyBsaWtlPG86cD48L286cD48L3A+DQo8L2Rpdj4NCjwvZGl2Pg0KPGRpdj4NCjxkaXY+DQo8cCBj
bGFzcz0iTXNvTm9ybWFsIj48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCjwvZGl2Pg0KPGRpdj4NCjxw
IGNsYXNzPSJNc29Ob3JtYWwiPiZuYnNwOyAmbmJzcDtOb3RlIHRoYXQgdGhlIFhEUiBjb2RlIGNv
bnRhaW5lZCBpbiB0aGlzIGRvY3VtZW50IGRlcGVuZHMgb24gdHlwZXM8bzpwPjwvbzpwPjwvcD4N
CjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPiZuYnNwOyAmbmJzcDtmcm9tIHRo
ZSBORlN2NC4yIG5mczRfcHJvdC54IGZpbGUgZGVmaW5lZCBpbiBbUkZDNzg2M10uJm5ic3A7IFRo
aXMgaW5jbHVkZXM8bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29O
b3JtYWwiPiZuYnNwOyAmbmJzcDtib3RoIG5mcyB0eXBlcyB0aGF0IGVuZCB3aXRoIGEgNCwgc3Vj
aCBhcyBuZnNfY29va2llNCwgY291bnQ0LCBldGMuLDxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8
ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+Jm5ic3A7ICZuYnNwO2FzIHdlbGwgYXMgbW9yZSBn
ZW5lcmljIHR5cGVzIHN1Y2ggYXMgb3BhcXVlIGFuZCBib29sLjxvOnA+PC9vOnA+PC9wPg0KPC9k
aXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJzcDs8L286cD48L3A+DQo8
L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj5hbmQ8bzpwPjwvbzpwPjwvcD4NCjwv
ZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0K
PC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+Jm5ic3A7ICZuYnNwO0luIG9yZGVy
IHRvIHByb3ZpZGUgZmluZS1ncmFpbmVkIGFjY2VzcyBjb250cm9sIHRvIHF1ZXJ5IG9yIG1vZGlm
eTxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+Jm5i
c3A7ICZuYnNwO2V4dGVuZGVkIGF0dHJpYnV0ZXMsIG5ldyBhY2Nlc3MgcmlnaHRzIGFyZSBkZWZp
bmVkIGZvciB0aGUgc2V0IG9mIGFjY2VzczxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0K
PHAgY2xhc3M9Ik1zb05vcm1hbCI+Jm5ic3A7ICZuYnNwO3JpZ2h0cyB0aGF0IGNhbiBiZSBjaGVj
a2VkIHRvIGRldGVybWluZSBpZiB0aGUgY2xpZW50IGlzIHBlcm1pdHRlZCB0bzxvOnA+PC9vOnA+
PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+Jm5ic3A7ICZuYnNwO3Bl
cmZvcm0gdGhlIHhhdHRyIG9wZXJhdGlvbi48bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPC9kaXY+
DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJzcDs8L286cD48L3A+DQo8L2Rp
dj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj5Db3VsZCB5b3Ugc3VibWl0IGFuIHVwZGF0
ZT8gQW5kIHRoZW4gSSdsbCByZXF1ZXN0IExhc3QgQ2FsbC48bzpwPjwvbzpwPjwvcD4NCjwvZGl2
Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPC9k
aXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+VGhhbmtzIGFnYWluIGZvciBhIHJlYWxs
eSBjbGVhciBkb2N1bWVudCE8bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNz
PSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xh
c3M9Ik1zb05vcm1hbCI+U3BlbmNlcjxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8L2Rpdj4NCjwv
ZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K

--_000_E5B15E4C960E46209EC86E0893E07244nutanixcom_--


From nobody Sat Apr 29 17:59:17 2017
Return-Path: <bfields@fieldses.org>
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 B64AC1270A3; Sat, 29 Apr 2017 17:59:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.797
X-Spam-Level: 
X-Spam-Status: No, score=0.797 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 3EwYjNoH9vaV; Sat, 29 Apr 2017 17:59:12 -0700 (PDT)
Received: from fieldses.org (fieldses.org [173.255.197.46]) by ietfa.amsl.com (Postfix) with ESMTP id A8EF2126C7A; Sat, 29 Apr 2017 17:57:00 -0700 (PDT)
Received: by fieldses.org (Postfix, from userid 2815) id 943E42692; Sat, 29 Apr 2017 20:56:59 -0400 (EDT)
Date: Sat, 29 Apr 2017 20:56:59 -0400
To: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Cc: draft-ietf-nfsv4-umask@ietf.org, nfsv4-chairs@ietf.org, NFSv4 <nfsv4@ietf.org>
Message-ID: <20170430005659.GC21093@fieldses.org>
References: <CAKKJt-foHU23DZv+tsae_+kFrqjQ=Y6GWd44FBZGmf0+0N5exw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAKKJt-foHU23DZv+tsae_+kFrqjQ=Y6GWd44FBZGmf0+0N5exw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
From: bfields@fieldses.org (J. Bruce Fields)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/sFE6MlGVs6NHBtpm7YlOy1wtEZk>
Subject: Re: [nfsv4] AD Review of draft-ietf-nfsv4-umask-03
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: Sun, 30 Apr 2017 00:59:15 -0000

On Fri, Apr 28, 2017 at 02:35:25PM -0500, Spencer Dawkins at IETF wrote:
> This draft is very easy to understand - thank you for that.
> 
> I'm fine requesting Last Call without this change, but if you could submit
> a revision that defines ACE on first use after Last Call, that would be
> nice.

OK, in practice I think the intended audience will have to be fairly
faimilar the terminology here, so I just added a hint, but hopefully
that's useful.

--b.


   <t>
     On many existing installations, all ordinary users by default use
     the same effective group ID.  To prevent granting all users full
-    access to each other's files, such installations usually default
-    to a umask with very restrictive permissions.  As a result,
-    inherited ACEs describing the permissions to be granted to named
-    users and groups are often ignored.  This makes inheritable ACLs
-    useless in some common cases.
+    access to each other's files, such installations usually default to
+    a umask with very restrictive permissions.  As a result, inherited
+    ACL entries (inheritable ACEs) describing the permissions to be
+    granted to named users and groups are often ignored.  This makes
+    inheritable ACEs useless in some common cases.
   </t>
 
   <t>


From nobody Sun Apr 30 14:25:44 2017
Return-Path: <spencerdawkins.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 534DC1294D2; Sun, 30 Apr 2017 14:25:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.1
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 BIdn1v0IWEpD; Sun, 30 Apr 2017 14:25:40 -0700 (PDT)
Received: from mail-yb0-x22e.google.com (mail-yb0-x22e.google.com [IPv6:2607:f8b0:4002:c09::22e]) (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 592B912944C; Sun, 30 Apr 2017 14:23:33 -0700 (PDT)
Received: by mail-yb0-x22e.google.com with SMTP id 8so25087689ybw.1; Sun, 30 Apr 2017 14:23:33 -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=LTYfF2r/1OPzU5N9c2Xzyp72UNV03tceGt3d+A0OBuI=; b=ddr6y3n6f+iM0UDiR8DQD/qupAy7bxiE6XyAKfbGiTlLf2PXi/bJm1mHXgLWaKSjW3 2Zakx6KegBpMIyte7jQd4D+83hTZxiY0ip/ynpnjJ+TqFOgUreIm8tp54dP10Mv0eluo /OxcS3ebdz/PPwVKgpwIcDHGEI/EN9RkyHpKb9c42f9WxAsKMs8U5DV++eyiljvS9SjV rEEnSWYCov3HxODfOw5+fuQLfyhwsNG8dXjBpKhQThNmMHh68aGQ66nsvxJda5mUQ7o7 /Ge3bra36iNQcPygs9YEioF/QW/gpH8Z+zIW2b8YxPXnx2r2stgdHhpq6QtXXLcER25U 8lzg==
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=LTYfF2r/1OPzU5N9c2Xzyp72UNV03tceGt3d+A0OBuI=; b=ZGU33xyd5tDpufD1pqHXuZQejzldeMe4fMd2N9i1/v1sEaozkzGSAZAw0KLnPbbGl0 qvtYi9/0AUCxn7UPVVr4FnCbe7RdQBB9Yj0kPBADFEl45QvSRjdLJkSXC9E6QboWiRoo Lph6/bPutCtO1va3IncW6mo8xgO6wZ7vWG2iJDMtS93gxpKljBAGK7XKt/+goaQYFKbM 164qeTIFtWdEh5izup2WeWcwHeN8SFrObbzbAHRKVeogPcr54/i6hbWGraI//h0Ph9K+ gDJ8Lj/UjZBbC9iEyRf5Uqhhewif4hIs7bksZEsyu5Y4QDBf6dy31pwoFAZ7Rl99zT9p 9Iew==
X-Gm-Message-State: AN3rC/6AmGBsCVgr41DD+feayGXgPMNt8PLTR9wjgIiUmu4LHVmE39jq 4i33D6rhXGouufFlS2W95loWSD9U6Q==
X-Received: by 10.37.113.87 with SMTP id m84mr4793549ybc.70.1493587412581; Sun, 30 Apr 2017 14:23:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.37.161.198 with HTTP; Sun, 30 Apr 2017 14:23:31 -0700 (PDT)
Received: by 10.37.161.198 with HTTP; Sun, 30 Apr 2017 14:23:31 -0700 (PDT)
In-Reply-To: <E5B15E4C-960E-4620-9EC8-6E0893E07244@nutanix.com>
References: <CAKKJt-c=wHPP61COdPKcpgLZ7pSfoG+6VC-_NrakF_PHCFM-fA@mail.gmail.com> <E5B15E4C-960E-4620-9EC8-6E0893E07244@nutanix.com>
From: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Date: Sun, 30 Apr 2017 16:23:31 -0500
Message-ID: <CAKKJt-frdRBh=j89fwDSjxqna9tanjjZ=VKuP8DULDvmq-t29g@mail.gmail.com>
To: Manoj Naik <manoj.naik@nutanix.com>
Cc: NFSv4 <nfsv4@ietf.org>, nfsv4-chairs@ietf.org, draft-ietf-nfsv4-xattrs@ietf.org
Content-Type: multipart/alternative; boundary=001a11489eca2b1a30054e68eb68
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/h6i7xBUcJ46RQwDNJ-Um-Zljx7M>
Subject: Re: [nfsv4] AD Evaluation of draft-ietf-nfsv4-xattrs-04
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: Sun, 30 Apr 2017 21:25:42 -0000

--001a11489eca2b1a30054e68eb68
Content-Type: text/plain; charset=UTF-8

Hi, Marc and Manoj,

On Apr 28, 2017 23:07, "Manoj Naik" <manoj.naik@nutanix.com> wrote:

Spencer,



I have submitted an update (https://www.ietf.org/id/
draft-ietf-nfsv4-xattrs-05.txt) with the updated text.

Thanks for the speedy response.

I've requested Last Call for the versioning draft, the umask draft, and the
xaddrs draft.

Spencer (D)

Thanks,

Manoj.



*From: *Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
*Date: *Friday, April 28, 2017 at 12:02 PM
*To: *"draft-ietf-nfsv4-xattrs@ietf.org" <draft-ietf-nfsv4-xattrs@ietf.org>
*Cc: *"nfsv4-chairs@ietf.org" <nfsv4-chairs@ietf.org>, NFSv4 <nfsv4@ietf.org
>

*Subject: *AD Evaluation of draft-ietf-nfsv4-xattrs-04
*Resent-From: *<alias-bounces@ietf.org>
*Resent-To: *<manoj.naik@nutanix.com>, <eshel@almaden.ibm.com>
*Resent-Date: *Friday, April 28, 2017 at 12:03 PM



Dear Authors,



I've completed my AD evaluation for this draft. It's really clean and easy
for me to understand.



I noticed one nit that you'd probably like to change before Last Call (the
fewer things reviewers have to complain about, the fewer Last Call comments
you'll see).



In this text,



   Note that the XDR code contained in this document depends on types

   from the proposed NFSv4.2 nfs4_prot.x file [RFC7863].  This includes

   both nfs types that end with a 4, such as nfs_cookie4, count4, etc.,

   as well as more generic types such as opaque and bool.



and this text,



   In order to provide fine-grained access control to query or modify

   extended attributes, additions are proposed to the set of access

   rights that can be checked to determine if the client is permitted to

   perform the xattr operation.



I noticed that the draft is still written like a draft - "proposed". At
this point, the text should be what you'd expect to see in an approved RFC
- so, something like



   Note that the XDR code contained in this document depends on types

   from the NFSv4.2 nfs4_prot.x file defined in [RFC7863].  This includes

   both nfs types that end with a 4, such as nfs_cookie4, count4, etc.,

   as well as more generic types such as opaque and bool.



and



   In order to provide fine-grained access control to query or modify

   extended attributes, new access rights are defined for the set of access

   rights that can be checked to determine if the client is permitted to

   perform the xattr operation.



Could you submit an update? And then I'll request Last Call.



Thanks again for a really clear document!



Spencer

--001a11489eca2b1a30054e68eb68
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Hi, Marc and Manoj,<br><div class=3D"gmail_extra" dir=3D"=
auto"><br><div class=3D"gmail_quote">On Apr 28, 2017 23:07, &quot;Manoj Nai=
k&quot; &lt;<a href=3D"mailto:manoj.naik@nutanix.com">manoj.naik@nutanix.co=
m</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div bgcolor=3D"white" lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"m_6080679370017978226WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:Calibri"=
>Spencer,<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:Calibri"=
><u></u>=C2=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:Calibri"=
>I have submitted an update (<a href=3D"https://www.ietf.org/id/draft-ietf-=
nfsv4-xattrs-05.txt)" target=3D"_blank">https://www.ietf.org/id/<wbr>draft-=
ietf-nfsv4-xattrs-05.<wbr>txt)</a> with the updated text.</span></p></div><=
/div></blockquote></div></div><div dir=3D"auto">Thanks for the speedy respo=
nse.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">I&#39;ve requ=
ested Last Call for the versioning draft, the umask draft, and the xaddrs d=
raft.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">Spencer (D)<=
/div><div class=3D"gmail_extra" dir=3D"auto"><div class=3D"gmail_quote"><bl=
ockquote class=3D"quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex"><div bgcolor=3D"white" lang=3D"EN-US" link=3D"#0563C1=
" vlink=3D"#954F72"><div class=3D"m_6080679370017978226WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:Calibri"=
>Thanks,<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:Calibri"=
>Manoj.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:Calibri"=
><u></u>=C2=A0<u></u></span></p>
<div style=3D"border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-family:Calibri;color:black">F=
rom: </span>
</b><span style=3D"font-family:Calibri;color:black">Spencer Dawkins at IETF=
 &lt;<a href=3D"mailto:spencerdawkins.ietf@gmail.com" target=3D"_blank">spe=
ncerdawkins.ietf@gmail.com</a><wbr>&gt;<br>
<b>Date: </b>Friday, April 28, 2017 at 12:02 PM<br>
<b>To: </b>&quot;<a href=3D"mailto:draft-ietf-nfsv4-xattrs@ietf.org" target=
=3D"_blank">draft-ietf-nfsv4-xattrs@ietf.<wbr>org</a>&quot; &lt;<a href=3D"=
mailto:draft-ietf-nfsv4-xattrs@ietf.org" target=3D"_blank">draft-ietf-nfsv4=
-xattrs@ietf.<wbr>org</a>&gt;<br>
<b>Cc: </b>&quot;<a href=3D"mailto:nfsv4-chairs@ietf.org" target=3D"_blank"=
>nfsv4-chairs@ietf.org</a>&quot; &lt;<a href=3D"mailto:nfsv4-chairs@ietf.or=
g" target=3D"_blank">nfsv4-chairs@ietf.org</a>&gt;, NFSv4 &lt;<a href=3D"ma=
ilto:nfsv4@ietf.org" target=3D"_blank">nfsv4@ietf.org</a>&gt;</span></p><di=
v class=3D"quoted-text"><br>
<b>Subject: </b>AD Evaluation of draft-ietf-nfsv4-xattrs-04<br>
</div><b>Resent-From: </b>&lt;<a href=3D"mailto:alias-bounces@ietf.org" tar=
get=3D"_blank">alias-bounces@ietf.org</a>&gt;<br>
<b>Resent-To: </b>&lt;<a href=3D"mailto:manoj.naik@nutanix.com" target=3D"_=
blank">manoj.naik@nutanix.com</a>&gt;, &lt;<a href=3D"mailto:eshel@almaden.=
ibm.com" target=3D"_blank">eshel@almaden.ibm.com</a>&gt;<br>
<b>Resent-Date: </b>Friday, April 28, 2017 at 12:03 PM<u></u><u></u><p></p>
</div><div class=3D"elided-text">
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Dear Authors,=C2=A0 <u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I&#39;ve completed my AD evaluation for this draft. =
It&#39;s really clean and easy for me to understand.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I noticed one nit that you&#39;d probably like to ch=
ange before Last Call (the fewer things reviewers have to complain about, t=
he fewer Last Call comments you&#39;ll see).<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">In this text,<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0Note that the XDR code contained in thi=
s document depends on types<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0from the proposed NFSv4.2 nfs4_prot.x f=
ile [RFC7863].=C2=A0 This includes<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0both nfs types that end with a 4, such =
as nfs_cookie4, count4, etc.,<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0as well as more generic types such as o=
paque and bool.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">and this text,<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0In order to provide fine-grained access=
 control to query or modify<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0extended attributes, additions are prop=
osed to the set of access<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0rights that can be checked to determine=
 if the client is permitted to<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0perform the xattr operation.<u></u><u><=
/u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I noticed that the draft is still written like a dra=
ft - &quot;proposed&quot;. At this point, the text should be what you&#39;d=
 expect to see in an approved RFC - so, something like<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0Note that the XDR code contained in thi=
s document depends on types<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0from the NFSv4.2 nfs4_prot.x file defin=
ed in [RFC7863].=C2=A0 This includes<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0both nfs types that end with a 4, such =
as nfs_cookie4, count4, etc.,<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0as well as more generic types such as o=
paque and bool.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">and<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0In order to provide fine-grained access=
 control to query or modify<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0extended attributes, new access rights =
are defined for the set of access<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0rights that can be checked to determine=
 if the client is permitted to<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=C2=A0 =C2=A0perform the xattr operation.<u></u><u><=
/u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Could you submit an update? And then I&#39;ll reques=
t Last Call.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Thanks again for a really clear document!<u></u><u><=
/u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Spencer<u></u><u></u></p>
</div>
</div>
</div></div>
</div>

</blockquote></div><br></div></div>

--001a11489eca2b1a30054e68eb68--


From nobody Sun Apr 30 19:28:52 2017
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: nfsv4@ietf.org
Delivered-To: nfsv4@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id BAD75128DF6; Sun, 30 Apr 2017 19:28:43 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.50.0
Auto-Submitted: auto-generated
Precedence: bulk
CC: Spencer Shepler <spencer.shepler@gmail.com>, draft-ietf-nfsv4-xattrs@ietf.org, nfsv4-chairs@ietf.org, nfsv4@ietf.org, spencer.shepler@gmail.com, spencerdawkins.ietf@gmail.com
Reply-To: ietf@ietf.org
Sender: <iesg-secretary@ietf.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-ID: <149360572366.9820.5858645625519856278.idtracker@ietfa.amsl.com>
Date: Sun, 30 Apr 2017 19:28:43 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/0UQq3nwOVyRXXnZ7XE4F2eLwGuc>
Subject: [nfsv4] Last Call: <draft-ietf-nfsv4-xattrs-05.txt> (File System Extended Attributes in NFSv4) to Proposed Standard
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 01 May 2017 02:28:44 -0000

The IESG has received a request from the Network File System Version 4 WG
(nfsv4) to consider the following document:
- 'File System Extended Attributes in NFSv4'
  <draft-ietf-nfsv4-xattrs-05.txt> as Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action. Please send substantive comments to the
ietf@ietf.org mailing lists by 2017-05-16. Exceptionally, comments may be
sent to iesg@ietf.org instead. In either case, please retain the
beginning of the Subject line to allow automated sorting.

Abstract


   This document describes an OPTIONAL feature extending the NFSv4
   protocol which allows extended attributes (hereinafter also referred
   to as xattrs) to be interrogated and manipulated using NFSv4 clients.
    Xattrs are provided by a file system to associate opaque metadata,
   not interpreted by the file system, with files and directories.  Such
   support is present in many modern local file systems.  New file
   attributes are provided to allow clients to query the server for
   xattr support, with that support consisting of new operations to get
   and set xattrs on file system objects.





The file can be obtained via
https://datatracker.ietf.org/doc/draft-ietf-nfsv4-xattrs/

IESG discussion can be tracked via
https://datatracker.ietf.org/doc/draft-ietf-nfsv4-xattrs/ballot/


No IPR declarations have been submitted directly on this I-D.




