Re: [nfsv4] [internet-drafts@ietf.org: New Version Notification for draft-hellwig-nfsv4-rdma-layout-00.txt]

Christoph Hellwig <hch@lst.de> Wed, 19 July 2017 07:48 UTC

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 2D62713170E for <nfsv4@ietfa.amsl.com>; Wed, 19 Jul 2017 00:48:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-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 ro-_OLIv6SZJ for <nfsv4@ietfa.amsl.com>; Wed, 19 Jul 2017 00:48:37 -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 6BF2B12ECC3 for <nfsv4@ietf.org>; Wed, 19 Jul 2017 00:48:37 -0700 (PDT)
Received: by newverein.lst.de (Postfix, from userid 2407) id 241BF68C4E; Wed, 19 Jul 2017 09:48:35 +0200 (CEST)
Date: Wed, 19 Jul 2017 09:48:35 +0200
From: Christoph Hellwig <hch@lst.de>
To: Chuck Lever <chucklever@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>, nfsv4@ietf.org
Message-ID: <20170719074835.GA21462@lst.de>
References: <20170702231000.GA2564@lst.de> <26A3EDDF-200C-49F2-934B-CD9155AECE88@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <26A3EDDF-200C-49F2-934B-CD9155AECE88@gmail.com>
User-Agent: Mutt/1.5.17 (2007-11-01)
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/HsAlNUNaeiLE1WELJqelfkPINnA>
Subject: Re: [nfsv4] [internet-drafts@ietf.org: New Version Notification for draft-hellwig-nfsv4-rdma-layout-00.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, 19 Jul 2017 07:48:39 -0000

On Mon, Jul 17, 2017 at 11:49:35AM +0200, Chuck Lever wrote:
> The connection model is critical, because the handles returned
> to clients can work only on one connection (QP). For example,
> you can't assume that NFS/RDMA will be used to access the MDS,
> nor can you assume that the MDS and DS's are accessed through
> the same HCA/RNIC on the same connection.

My crappy prototype wasn't even tested using NFS/RDMA, but the
way it opens this additional backchannel is a mess, so I wanted
to go back to the drawing board before writing anything down -
what I had is defintively not how I want it to look like in
the end.

> To make it work, there will have to be some way of binding a
> layout (containing handles) to a particular connection to a
> particular storage device.

My original idea was to open explicit new connections for it,
mostly so that the QP won't have to deal with any of the
NFS/RDMA issues and can be used purely for the operations of
the layout. 

> Also, if the connection to a DS is lost, more than a
> reconnect is necessary. The client will need to take steps to
> get the server to re-register the memory and send fresh
> handles.

Yes - a connection loss with this layout is an implicit CB_RECALL
with LAYOUTRECALL4_ALL scope.