Re: [nfsv4] Barry Leiba's Discuss on draft-ietf-nfsv4-rpcrdma-cm-pvt-data-07: (with DISCUSS and COMMENT)

Barry Leiba <barryleiba@computer.org> Thu, 13 February 2020 16:04 UTC

Return-Path: <barryleiba@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 AEABB1200C4; Thu, 13 Feb 2020 08:04:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.401
X-Spam-Level:
X-Spam-Status: No, score=-1.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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 eXv1MfNTyrtk; Thu, 13 Feb 2020 08:04:44 -0800 (PST)
Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) (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 377B0120180; Thu, 13 Feb 2020 08:04:44 -0800 (PST)
Received: by mail-il1-f172.google.com with SMTP id f10so5393534ils.8; Thu, 13 Feb 2020 08:04:44 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=2ilMDqhdQo5tKbRuBLrndtPUr2GjKHzS4hPx91rVLAQ=; b=IF87zbuaqzrkJp0OGvbF7kXWkL8nKc5uy88vshKayhQugUOYLsHwRWQZDm0Nqa7vTJ 524YAE2LOV0+tUP7UbwdeCkApA5zf/0Vp61cGqda+SAL8e1HIw/wzkMTQkOmBPWuMU/B 5tyfdq5wtSm6mt5nrqqQj7JaTjtQ+ePiWh9k5XKWWjuMwkFK/L91vRQaNsn2k/74q2Rv fsBhPBvdkEWKy2T192zTJlKHiNgLVIlasu29IvAzF6Gcae5iOIIfC9NcX9gEplUvmW/t 8uuQExzc9F/RiJhIqG5EzjKquIrRY3mtqyYKX80PT6zKRuG8T6ebldCHKwadH36anYNs DR4A==
X-Gm-Message-State: APjAAAWwI6NfTOnNox+w4a+eRnEw/7Kj2kQPm4kxNH9yCnYfCrJEC2Qt qJYBLGhMwQ1fueGqSNh7oBQvUHqF1SXsITMwCB4=
X-Google-Smtp-Source: APXvYqwBoF/N1XQGPzCO27angLowrTnOIQ/l0J3URxzLRYoTEOoGCIi+QDMGPqtRh2UAjH6mQ72YS1W0gIkM/dNMN9g=
X-Received: by 2002:a92:508:: with SMTP id q8mr16449961ile.187.1581609883342; Thu, 13 Feb 2020 08:04:43 -0800 (PST)
MIME-Version: 1.0
References: <158157273498.18108.1561637139623742133.idtracker@ietfa.amsl.com> <7EE70561-C534-4C7B-B3A3-D7C3B3542D1E@oracle.com> <CALaySJL_0ui2LD9JXjGxdP1OazwiqNr=wwBm+=q9Fb0QEbcp2A@mail.gmail.com> <17E308B5-B9AC-4DFE-976A-DABA374EABB8@oracle.com>
In-Reply-To: <17E308B5-B9AC-4DFE-976A-DABA374EABB8@oracle.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Thu, 13 Feb 2020 11:04:32 -0500
Message-ID: <CALaySJ+HqmHfryivU9g9eZaj6+=JYJmQtMdaxVfsc80WYr7tTw@mail.gmail.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: The IESG <iesg@ietf.org>, draft-ietf-nfsv4-rpcrdma-cm-pvt-data@ietf.org, Tom Haynes <loghyr@gmail.com>, Spencer Shepler <spencer.shepler@gmail.com>, Brian Pawlowski <beepee@gmail.com>, nfsv4-chairs@ietf.org, NFSv4 <nfsv4@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/1wovVXk43ke9n1MkMuXTV7UO4XY>
Subject: Re: [nfsv4] Barry Leiba's Discuss on draft-ietf-nfsv4-rpcrdma-cm-pvt-data-07: (with DISCUSS and COMMENT)
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.29
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 Feb 2020 16:04:46 -0000

The diff looks good to me; thanks!

Barry

On Thu, Feb 13, 2020 at 10:30 AM Chuck Lever <chuck.lever@oracle.com> wrote:
>
>
>
> > On Feb 13, 2020, at 9:30 AM, Barry Leiba <barryleiba@computer.org> wrote:
> >
> > Hi, Chuck, and thanks for the quick response.
> >
> >>> — Section 5.2 —
> >>>
> >>>  A sender computes the encoded
> >>>  value by dividing the buffer size, in octets, by 1024 and subtracting
> >>>  one from the result.
> >>>
> >>> Is the buffer size necessarily a multiple of 1024?  If so, where is that
> >>> specified?  If not, what is the encoded value when the buffer size is, say,
> >>> 2000?  Is it zero?  Or one?
> >>
> >> Good catch! Buffer sizes are not constrained to 1024-byte length alignment.
> >>
> >> Further, if a sender posts, say, a 2032-byte message to a receiver that uses
> >> a 2000-byte buffer, a Receive error occurs that typically results in
> >> connection loss.
> >>
> >> IMO Section 5.2 should instruct the sender to round the actual buffer length
> >> down to the nearest 1024-byte multiple before encoding. Would that clarify
> >> the issue for you?
> >
> > Yes, that would be quite clear.
> >
> > And thanks for addressing my other comments as well.
>
> Please see
>
> https://chucklever.github.io/i-d-rpcrdma-cm-pvt-data/#go.draft-ietf-nfsv4-rpcrdma-cm-pvt-data.diff
>
> for an rfcdiff of changes intended to address your comments.
>
>
> --
> Chuck Lever
>
>
>