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

Matt Benjamin <mbenjami@redhat.com> Fri, 27 October 2017 13:27 UTC

Return-Path: <mbenjami@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 9515F13F55A for <nfsv4@ietfa.amsl.com>; Fri, 27 Oct 2017 06:27:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.191
X-Spam-Level:
X-Spam-Status: No, score=-4.191 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01] 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 PHAlUavjXlG5 for <nfsv4@ietfa.amsl.com>; Fri, 27 Oct 2017 06:27:14 -0700 (PDT)
Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) (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 AA5B313F552 for <nfsv4@ietf.org>; Fri, 27 Oct 2017 06:27:14 -0700 (PDT)
Received: by mail-io0-f175.google.com with SMTP id 97so12676298iok.7 for <nfsv4@ietf.org>; Fri, 27 Oct 2017 06:27:14 -0700 (PDT)
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=SXc3gZyfI9r7EEns7cJhwVMm9Es4WnhhOR6UCmnfjg0=; b=gqX/yKYlo6bKX+3q8ag/jbNfKiy1CxooHiRq67gDP8znWNdw7QklaDCB4Ctyn8032O dkK13vfluNOo+oHJkcwFs65p9H2LxtwsBsSybnM2JPd0KCVDHivr47TftIsJzXeaiXxa PAsRVYEdEdoIvPgfPWxDSwWz4+CgDjUmgR+sAlb5YAPpmVHtAJTWy+Nz9hbmuj4IXtIo hqLsUpr47a7lPiONHQtomi8o5SRgqc9Ns6ET0tZzN50nI6Sg5XApGWjx1oFpfNx6Odnp 1B7EXDA1ZqCRK0Xkoj7bwkrqzZ9GUst7UIJ0pv0eu0eTFJ75OLZEgRpMx81SzlFQqq0V ckZg==
X-Gm-Message-State: AMCzsaUncLIDEXKhHhD8LcjiB4WMB+l1FpVbNkj4d5NiCFalG/2Hnxz5 RwoTFgFhaqKJJ2z7/QrTSLeEwPc8tz0+TXnvYqDK7g==
X-Google-Smtp-Source: ABhQp+Qhfujav4OL4p43xsAGNXjcq8+VXmoq4QGwmZALbVBNC1J0ZdJCigMc9jeeVy+BPNHx1sAKgnYYRuA791t7HuQ=
X-Received: by 10.36.254.130 with SMTP id w124mr587957ith.19.1509110833934; Fri, 27 Oct 2017 06:27:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.2.92.78 with HTTP; Fri, 27 Oct 2017 06:27:13 -0700 (PDT)
In-Reply-To: <1509110202.4704.7.camel@redhat.com>
References: <20171005200835.GA31525@stefanha-x1.localdomain> <CAKOnarmreQp6c8qM7x=ohGf1sAoj53qbE0bNvKxzyWLiS=2zKw@mail.gmail.com> <1509110202.4704.7.camel@redhat.com>
From: Matt Benjamin <mbenjami@redhat.com>
Date: Fri, 27 Oct 2017 09:27:13 -0400
Message-ID: <CAKOnarmotB2CXdiNvnYV1Jz+0JwwA8tgQjFN1Ssy5jN95T-rsw@mail.gmail.com>
To: Jeff Layton <jlayton@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>, 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>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/d4kF4bEkZzxr2R1y1er5PTgJIC4>
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:27:17 -0000

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>



-- 

Matt Benjamin
Red Hat, Inc.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103

http://www.redhat.com/en/technologies/storage

tel.  734-821-5101
fax.  734-769-8938
cel.  734-216-5309