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

Tom Talpey <tom@talpey.com> Mon, 27 February 2017 13:17 UTC

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 64AE0129F5F for <nfsv4@ietfa.amsl.com>; Mon, 27 Feb 2017 05:17:32 -0800 (PST)
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, RCVD_IN_MSPIKE_H2=-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 bd2UByZT9Hic for <nfsv4@ietfa.amsl.com>; Mon, 27 Feb 2017 05:17:31 -0800 (PST)
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 6F39A1298A0 for <nfsv4@ietf.org>; Mon, 27 Feb 2017 05:17:31 -0800 (PST)
Received: from [192.168.0.67] ([24.218.182.144]) by :SMTPAUTH: with SMTP id iLAicjxeRr3J4iLAicNVwY; Mon, 27 Feb 2017 06:17:00 -0700
To: nfsv4@ietf.org
References: <CADaq8je8zfRN5R11LxJw=0st-u-XOoKosGbZDBajOTiChzpS5Q@mail.gmail.com> <93F476D6-57F8-44AB-94C9-545608396F51@oracle.com> <CADaq8jcJ3WkpmPJVVec5aJc0ekKgdHPUok=S5_ofGVJnbqrrjA@mail.gmail.com> <5538FD5E-A71B-4F91-AC3A-CBD2F54AF9E3@oracle.com>
From: Tom Talpey <tom@talpey.com>
Message-ID: <de109940-7de1-1a09-51f3-d3be44d98c60@talpey.com>
Date: Mon, 27 Feb 2017 08:16:57 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
MIME-Version: 1.0
In-Reply-To: <5538FD5E-A71B-4F91-AC3A-CBD2F54AF9E3@oracle.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfDfhWT3E3S7jngpUVBjifEg175vYCju6vzsZ7qKKGplhoaFW6u5o/8QlMjTabuzdOAlqg2L9YOjaGLT4J7N2/4Z22lnNOTWimbWTbPGRjUT5L0Qqef3Z FMcdchC56SZAHEBd4YTqInvj49z+yK6mHrPLILF4AquQIVrPvWI5QXDU
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/l6nXenX_slhqpveau7_t3WSd1go>
Subject: Re: [nfsv4] Review of draft-ietf-nfsv4-rfc5667bis-06
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.17
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, 27 Feb 2017 13:17:32 -0000

On 2/26/2017 3:29 PM, Chuck Lever wrote:
>> On Feb 25, 2017, at 3:54 PM, David Noveck <davenoveck@gmail.com> wrote:
>>
>>> RFC 5667 Section 4 says:
>>
>>>> Similarly, a single RDMA Read list entry MAY be posted by the client
>>>> to supply the opaque file data for a WRITE request or the pathname
>>>> for a SYMLINK request.
>>
>> Part of the problem here is that, as you discuss later, this statement is
>> ambiguous, as the meaning of "read list entry" is not clear.
>>
>>>> The server MUST ignore any Read list for
>>>> other NFS procedures,
>>
>> As I understand it, this statement cannot apply to PZRCs, and rfc5666bis
>> has already dealt with that issue.  So, if one tried to maintain this paragraph,
>> in something like the RFC5667-form, some modification would have been
>> necessary to avoid essentially preventing any use of PZRCs
>>
>>>> as well as additional Read list entries beyond
>>>> the first in the list.
>>
>>> I take "Read list entry" to mean Read chunk, composed of
>>> multiple list entries that share the same XDR position.
>>> This comports with similar language describing Write
>>> chunks where a single list entry is indeed allowed to
>>> have multiple segments.
>>
>> Makes sense to me.
>>
>>> However, the original intent might have been "single
>>> Read segment".
>>
>> It might have been but there is no way to be sure.
>
> We can ask Tom Talpey. If he does not recall, then
> we have no way to be sure.

I agree the paragraph in question could have been more clear. I'll
hazard a guess that it should have been written as "Read list" instead
of "Read list entry", meaning, an entire scatter list is provided.
This woud certainly match the semantic for the result of an ordinary
NFS Read.

I will also observe that the statement is a MAY. That is, it prescribes
no behavior, and offers a choice to the implementer. It does not rule
out the option of posting a list.

I think you guys need to stop worrying about writing these "rules"
down so literally. The only goal of RFC5667 was to isolate the tidbits
of NFS behaviors separate from the core rpcrdma transport. The
document makes relatively few MUST requirements.

Tom.