Re: [nfsv4] Draft RFC for ONC RPC over AF_VSOCK

Jeff Layton <jlayton@redhat.com> Fri, 27 October 2017 13:16 UTC

Return-Path: <jlayton@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 5F7D313F552 for <nfsv4@ietfa.amsl.com>; Fri, 27 Oct 2017 06:16:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.701
X-Spam-Level:
X-Spam-Status: No, score=-4.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, 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 0JgqgzJcsD5A for <nfsv4@ietfa.amsl.com>; Fri, 27 Oct 2017 06:16:45 -0700 (PDT)
Received: from mail-qk0-f176.google.com (mail-qk0-f176.google.com [209.85.220.176]) (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 9914313F54A for <nfsv4@ietf.org>; Fri, 27 Oct 2017 06:16:45 -0700 (PDT)
Received: by mail-qk0-f176.google.com with SMTP id q83so8283723qke.6 for <nfsv4@ietf.org>; Fri, 27 Oct 2017 06:16:45 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=/Q/gqh/BaC/ZdtUBnnSqogUVmd5Sv5csMnG/UzZXAbE=; b=M9uK7Rb8yVaqDfZvKof7cokOKg8COP1WaFRU+eOV4MUslO364un9CPLxqw9Vu8rVPT 4GNN45ImuKg1uFCKaGpMlybCAydLVxyKQ58s0OhTzt1JdsxnWqfAJ1IjomB16GZ09e6T QLP+Fl0CFemGzVwbhYYvcKrLixX3vclJ3+J4EyMFau2TFUTRXYhGpVImffbVP5yLLsFU FWZOBPNBunMjNWAMUF49oBz10eOp2zthd302xgWPxQnYjt1yxFZGZgN6rqtyX5duvQzZ RkSdOs9TFJbmWIw9eLCSfG3hwVoIWE8g+WF3Dgyfns7ZcpngjAkEj14WM6RgK53V+jg/ kvTg==
X-Gm-Message-State: AMCzsaWDjL/qvZNOzTrQ+AJNgYgXvcOYAcd2541HZBRpKht2gzb9aY7j kudoCCJs/L7LZc5fXys5PWWJKQ==
X-Google-Smtp-Source: ABhQp+S9+ik/lHo8Tkrrld/MN8uQKQkXKWxf8Du6EpabZMQ5aZOyS5T0Dt43pfyG9z9vNJOD6KDGkg==
X-Received: by 10.55.116.70 with SMTP id p67mr720502qkc.133.1509110204467; Fri, 27 Oct 2017 06:16:44 -0700 (PDT)
Received: from tleilax.poochiereds.net (cpe-71-70-156-158.nc.res.rr.com. [71.70.156.158]) by smtp.gmail.com with ESMTPSA id d143sm4908926qkc.41.2017.10.27.06.16.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Oct 2017 06:16:44 -0700 (PDT)
Message-ID: <1509110202.4704.7.camel@redhat.com>
From: Jeff Layton <jlayton@redhat.com>
To: Matt Benjamin <mbenjami@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>, "J . Bruce Fields" <bfields@fieldses.org>, Chuck Lever <chuck.lever@oracle.com>, Steve Dickson <steved@redhat.com>, Anna Schumaker <Anna.Schumaker@netapp.com>, Trond Myklebust <trondmy@primarydata.com>, Daniel Berrange <berrange@redhat.com>, NFSv4 <nfsv4@ietf.org>
Date: Fri, 27 Oct 2017 09:16:42 -0400
In-Reply-To: <CAKOnarmreQp6c8qM7x=ohGf1sAoj53qbE0bNvKxzyWLiS=2zKw@mail.gmail.com>
References: <20171005200835.GA31525@stefanha-x1.localdomain> <CAKOnarmreQp6c8qM7x=ohGf1sAoj53qbE0bNvKxzyWLiS=2zKw@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.24.6 (3.24.6-1.fc26)
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/a_BHFkjWuMVCCZJner2FFSPvMss>
X-Mailman-Approved-At: Fri, 27 Oct 2017 08:28:35 -0700
Subject: Re: [nfsv4] Draft RFC for ONC RPC over AF_VSOCK
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, 27 Oct 2017 13:32:43 -0000

On Thu, 2017-10-05 at 16:50 -0400, Matt Benjamin wrote:
> Hi Stefan,
> 
> On Thu, Oct 5, 2017 at 4:08 PM, Stefan Hajnoczi <stefanha@redhat.com> wrote:
> > I have previously submitted patches that implement NFS client and nfsd
> > support for the AF_VSOCK address family.  In order for this to be
> > acceptable for merge the AF_VSOCK transport needs to be defined in an
> > IETF RFC.  Below is a draft RFC that defines ONC RPC over AF_VSOCK.
> > 
> > My patches use netid "vsock" but "tcpv" has also been suggested.  This draft
> > RFC still uses "vsock" but I'll update it to "tcpv" if there is consensus.
> > 
> 
> I think "vsock" is the appropriate netid, not "tcpv."  Stream
> orientation, if anything, is the general category containing TCP and
> VSOCK, not the reverse.  But really I think it's just more clear.
> 

Agreed. VSOCK is its own thing. It bears some resemblance to TCP, but
calling it tcpv would be confusing. IIRC, Chuck only proposed that when
we were discussing an alternative transport that would look more like a
typical network.

BTW: Does VSOCK have a connectionless mode, analogous to UDP? If so,
then it may be nice to consider what the netid for that might look like
as well, before we settle on any names.
-- 
Jeff Layton <jlayton@redhat.com>