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

Chuck Lever <chuck.lever@oracle.com> Fri, 27 October 2017 18:06 UTC

Return-Path: <chuck.lever@oracle.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 08CDB13EF48 for <nfsv4@ietfa.amsl.com>; Fri, 27 Oct 2017 11:06:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7
X-Spam-Level:
X-Spam-Status: No, score=-7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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 W44CvteQ8o9i for <nfsv4@ietfa.amsl.com>; Fri, 27 Oct 2017 11:06:05 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (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 9BD45138BE7 for <nfsv4@ietf.org>; Fri, 27 Oct 2017 11:06:05 -0700 (PDT)
Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v9RI630O017111 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 27 Oct 2017 18:06:03 GMT
Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v9RI62V2022586 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 27 Oct 2017 18:06:03 GMT
Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v9RI61cg013147; Fri, 27 Oct 2017 18:06:01 GMT
Received: from anon-dhcp-171.1015granger.net (/68.46.169.226) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 27 Oct 2017 11:06:01 -0700
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <1509127168.4946.14.camel@redhat.com>
Date: Fri, 27 Oct 2017 14:06:00 -0400
Cc: Matt Benjamin <mbenjami@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Linux NFS Mailing List <linux-nfs@vger.kernel.org>, Bruce Fields <bfields@fieldses.org>, 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>
Content-Transfer-Encoding: quoted-printable
Message-Id: <E3C7DEB1-7859-4490-A2DE-475458A2ECA0@oracle.com>
References: <20171005200835.GA31525@stefanha-x1.localdomain> <CAKOnarmreQp6c8qM7x=ohGf1sAoj53qbE0bNvKxzyWLiS=2zKw@mail.gmail.com> <1509110202.4704.7.camel@redhat.com> <CAKOnarmotB2CXdiNvnYV1Jz+0JwwA8tgQjFN1Ssy5jN95T-rsw@mail.gmail.com> <1509127168.4946.14.camel@redhat.com>
To: Jeff Layton <jlayton@redhat.com>
X-Mailer: Apple Mail (2.3124)
X-Source-IP: userv0021.oracle.com [156.151.31.71]
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/I5yhtPE5zrM-B1RYXvis9UYQWps>
X-Mailman-Approved-At: Fri, 27 Oct 2017 11:07:29 -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 18:06:07 -0000

> On Oct 27, 2017, at 1:59 PM, Jeff Layton <jlayton@redhat.com> wrote:
> 
> I agree -- that could be useful later. Given that, maybe we should call
> the netids something like:
> 
>    vsockc: connected vsock
>    vsockd: datagram vsock
> 
> AIUI, netids are just something we inherited from Sun when we got the
> TI-RPC library. I don't think they are governed by any sort of
> names+numbers authority, are they?

Jeff, the relevant authority is IANA, and that's the whole
point of this I-D: to request netid assignments and specify
the universal address format for the VSOCK AF.


> If not then we're probably define it to whatever we wish, though it
> might be a good idea to talk to the Solaris folks and see if they have
> any input as to the naming.
> 
> -- Jeff
> 
> On Fri, 2017-10-27 at 09:27 -0400, Matt Benjamin wrote:
>> Hi Jeff,
>> 
>> This doc says they are:
>> https://vmsplice.net/~stefan/stefanha-kvm-forum-2015.pdf
>> 
>> But only stream sockets are mentioned here:
>> https://wiki.qemu.org/Features/VirtioVsock
>> 
>> Trond and Chuck suggested in an offline conversation a few weeks ago
>> that they could imagine a datagram version of the transport being
>> useful.  It's probably worth passing that alone.
>> 
>> Matt
>> 
>> On Fri, Oct 27, 2017 at 9:16 AM, Jeff Layton <jlayton@redhat.com> wrote:
>>> 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>
>> 
>> 
>> 
> 
> -- 
> Jeff Layton <jlayton@redhat.com>

--
Chuck Lever