Re: [nfsv4] AD Evaluation for draft-ietf-nfsv4-rpcrdma-bidirection-05

Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com> Tue, 10 January 2017 22:13 UTC

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 8E03012A059; Tue, 10 Jan 2017 14:13:23 -0800 (PST)
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 F16BIw_m7V9N; Tue, 10 Jan 2017 14:13:21 -0800 (PST)
Received: from mail-qt0-x22d.google.com (mail-qt0-x22d.google.com [IPv6:2607:f8b0:400d:c0d::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 6B9021293E8; Tue, 10 Jan 2017 14:13:21 -0800 (PST)
Received: by mail-qt0-x22d.google.com with SMTP id v23so179179150qtb.0; Tue, 10 Jan 2017 14:13:21 -0800 (PST)
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=DM2LbX8Wxd+H74r2e4lU6TBfnewxCz2VbkMsaD7Ueek=; b=LUn7qmB4ffo/Q4wOhD6+jXBnaWGzEHMUs5Bk+VF3gFh/JZp7aFCuIZG6vep3NzraRU U0EdxGynGqrmymWM7mkLs4mZemx5SWy/iqvK82Rl2snrYRsR+7a2Vd4LQ2wtHM/B3+Oq zE2EC2tqZOrp0lvNKwbNQE9HG20lP+RMt39XfdXJxaWSB9TkT5/Y5QNPLyq+Svr1DdJ/ AobW7gi698YEX3c6vvegMztKTcD3ABmNIlxT3Y8/kH4w+Fer/0rlBYyNAYz1hxfSjv6d UkrEaKLL1DB6Vn7mOg6MPKStWY7CGNsbhNyYfiELreyTzb96YxHdA02ThgNPqUDEJL2H spqg==
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=DM2LbX8Wxd+H74r2e4lU6TBfnewxCz2VbkMsaD7Ueek=; b=aUgo75Iv8Lehfv9FGahu8smXy7AQ5qU3T/U78Q5StypRXZ5uJDJmjzwQHuhfYdDyX8 t8DaQ8VTTGEh7g3sQwLJskunBz5gevgFGrlalORly+07txbX3mjWo+qz9t4NVI6RXtZo cXfFMStHFKdWgHmMQ1AgEdwNFxv5BiJVR8fk9AUEye4ipAFxQVdiL7q5VaS20ZAVG0Io z6hwnP+f1CkyoZ6yC/yFM+Pu+m1FFgFataJqJKKpBVld31FWpPVagcVMwuRx8c/aK4yr PlrgB3DsLxbCZcaft7oI2bSqh6c1uZZTtcalALIl/pZnhU7arTAFWve1+mn/nuMGCzLX 6FxA==
X-Gm-Message-State: AIkVDXIRMzeZJGbfSZ5qzOplch145xE119AdiIqf086VZZLIhqI6w2d9Pk1L4GKnwTxqCltBH2xVU/vHZPPSRQ==
X-Received: by 10.237.52.199 with SMTP id x65mr4825533qtd.152.1484086400477; Tue, 10 Jan 2017 14:13:20 -0800 (PST)
MIME-Version: 1.0
Received: by 10.200.38.98 with HTTP; Tue, 10 Jan 2017 14:13:20 -0800 (PST)
In-Reply-To: <6ED233CF-5ED5-4C64-B9BD-F04E0BED0445@oracle.com>
References: <CAKKJt-fuKMwX06PerWzxBdBqQ_=eMvhQKUdSDb5xLsSX47q=yw@mail.gmail.com> <6ED233CF-5ED5-4C64-B9BD-F04E0BED0445@oracle.com>
From: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
Date: Tue, 10 Jan 2017 16:13:20 -0600
Message-ID: <CAKKJt-eMeTaVxSUctAjvimKGJPf=7sXpoXa8Ky6MSsYXToy5MA@mail.gmail.com>
To: Chuck Lever <chuck.lever@oracle.com>
Content-Type: multipart/alternative; boundary="94eb2c0b68e8b76dc20545c4cab2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/yz5urZPl7bXp007tf7idyt9jaZQ>
Cc: draft-ietf-nfsv4-rpcrdma-bidirection@ietf.org, NFSv4 <nfsv4@ietf.org>
Subject: Re: [nfsv4] AD Evaluation for draft-ietf-nfsv4-rpcrdma-bidirection-05
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: Tue, 10 Jan 2017 22:13:23 -0000

Hi, Chuck,

On Tue, Jan 10, 2017 at 3:47 PM, Chuck Lever <chuck.lever@oracle.com> wrote:

> Again, thanks for your review! Responses below.


Oh, thank YOU. You responded while I still have this draft in my solid
state memory :-) ...

It looks like we're good except for the last point.


> > On Jan 10, 2017, at 4:32 PM, Spencer Dawkins at IETF <
> spencerdawkins.ietf@gmail.com> wrote:
> >
> > Hi, Spencer (S),
> >
> > I think this catches me up on nfsv4 AD Evaluations ...
> >
> > Again, this draft was pretty clear to me, but I did have some questions
> about wording, that I'd like people to look at, before requesting IETF Last
> Call.
> >
> > Spencer (S), could you let me know when this draft is good to go?
> >
> > Thanks!
> >
> > Spencer (D)
> >
> > --- AD Evaluation
> >
> > Could you spell out "Parallel NFS" on first use of pNFS? Or whatever
> pNFS stands for :-)
>
> Will do.
>
>
> > Probably just for my benefit, but since you mention NAT routers in this
> text,
> >
> >    To facilitate operation through NAT routers, all NFSv4.1 transport
> >    connections are initiated by NFSv4.1 clients.  Therefore NFSv4.1
> >    servers send callbacks to clients in the backward direction on
> >    connections established by NFSv4.1 clients.
> >
> > is it obvious which end has responsibility for NAT binding keep-alives?
> I'm guessing that's a client responsibility, but that's just a guess.
>
> I don't understand what NAT binding keep-alive means, exactly, but
> based on a naive assumption, I think the client is responsible here.
> If anyone knows of a cite-able summary of the NFSv4.1 backchannel
> redesign goals, I can reference it here.
>
>
> > In Sections 4.3.1 and 4.3.2, I THINK you're saying that clients and
> servers both need to pre-post more receive buffers to accommodate
> bidirectional operation, but that's more clear in 4.3.1,
> >
> >    To receive incoming backward direction Calls, an RPC-over-RDMA client
> >    endpoint must pre-post enough additional receive buffers to match its
> >    advertised backward direction credit value.  Each outstanding forward
> >    direction RPC requires an additional receive buffer above this
> >    minimum.
> >
> > than the corresponding text in 4.3.2,
> >
> >    To receive incoming backward direction replies, an RPC-over-RDMA
> >    server endpoint must pre-post a receive buffer for each backward
> >    direction Call it sends.
> >
> > because "additional" appears twice in the text on 4.3.1, but doesn't
> appear at all in 4.3.2. If this is as symmetrical as I'm thinking it is,
> perhaps it's clearer to use similar wording in both places.
>
> I will use similar wording in both places.
>
>
> > In this text,
> >
> >    When message direction is not fully determined by context (e.g.,
> >    suggested by the definition of the RPC-over-RDMA version that is in
> >    use) or by an accompanying RPC message payload with a call direction
> >    field, it is not possible for the receiver to tell with certainty
> >    whether the header credit value is a request or grant.  In such
> >    cases, the receiver MUST NOT use the header's credit value.
> >
> > does RDMA work at all, if the credit value can't be used?
>
> What this means is the receiver MUST NOT update its credit accounting
> based on the information in this header. These foggy situations should
> be exceptionally rare.
>
> "MUST ignore" might be more appropriate.


I think what I was thinking about, is whether this situation can lead to
deadlock.

I guess I should back up and ask a more basic question, which is whether
you'd be able to recognize that this situation applies from looking at the
definition of the RPC-over-RDMA version, so you could just say "I'm not
going to do bidirectional" when a transport connection is established,
rather than trying to figure out that there's a problem during request
processing.

Thanks,

Spencer