Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:55794 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751735AbdITO67 (ORCPT ); Wed, 20 Sep 2017 10:58:59 -0400 Date: Wed, 20 Sep 2017 15:58:49 +0100 From: "Daniel P. Berrange" To: "J. Bruce Fields" Cc: Chuck Lever , Stefan Hajnoczi , Steve Dickson , Linux NFS Mailing List , Matt Benjamin , Jeff Layton Subject: Re: [PATCH nfs-utils v3 00/14] add NFS over AF_VSOCK support Message-ID: <20170920145849.GF9947@redhat.com> Reply-To: "Daniel P. Berrange" References: <20170918180927.GD12759@stefanha-x1.localdomain> <20170919093140.GF9536@redhat.com> <67608054-B771-44F4-8B2F-5F7FDC506CDD@oracle.com> <20170919151051.GS9536@redhat.com> <3534278B-FC7B-4AA5-AF86-92AA19BFD1DC@oracle.com> <20170919164427.GV9536@redhat.com> <20170919204224.GA14329@fieldses.org> <37604438-9848-47CA-8884-8FD6292EAFC9@oracle.com> <20170920131641.GC14329@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <20170920131641.GC14329@fieldses.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Wed, Sep 20, 2017 at 09:16:41AM -0400, J. Bruce Fields wrote: > On Tue, Sep 19, 2017 at 05:09:25PM -0400, Chuck Lever wrote: > > > > > On Sep 19, 2017, at 4:42 PM, J. Bruce Fields wrote: > > > > > > On Tue, Sep 19, 2017 at 03:56:50PM -0400, Chuck Lever wrote: > > >> A proof of concept is nice, but it isn't sufficient for merging > > >> NFS/VSOCK into upstream Linux. Unlike Ceph, NFS is an Internet > > >> standard. We can't introduce changes as we please and expect > > >> the rest of the world to follow us. > > >> > > >> I know the Ganesha folks chafe at this requirement, because > > >> standardization progress can sometimes be measured in geological > > >> time units. > > > > > > It doesn't need to be--I think we're only asking for a few pages here, > > > and nothing especially complicated (at the protocol level). > > > > That would define RPC over VSOCK. I would like to see a problem > > statement here, and we'd want to find a normative reference defining > > VSOCK addressing. Does one exist? > > > > My sense is that NFS on VSOCK would need more. The proof of concept > > I'm aware of drops a lot of functionality (for example, NFSv2/3 is > > excluded, and so is RPCSEC GSS and NFSv4.0 backchannel) to make NFS > > work on this transport. Interoperability would require that list > > be written somewhere. > > I don't think they need to support NFSv2/3 or RPCSEC_GSS, but it could > be worth a little text to explain why not, if they don't. > > > We also need to deal with filehandles and lock state during guest > > live migration. > > That sounds like a separate issue independent of transport. > > I've been assuming there's still some use to them in an implementation > that doesn't support migration at first. If not it's a bigger project. FWIW, the current virtio-9p filesystem passthrough does not support migration and still has found usage in a number of scenarios where that limitation is not important. ClearContainers / libvirt sandbox are two which use 9p and don't care about migration. With this in mind, NFS-over-VSOCK would still be valuable even if the specification explicitly stated that live migration is not permitted. If there was a specified way of supporting live migration with good semantics of the guest FS, then that would open up NFS-over-VSOCK to a wider range of use cases. Migration would likely be quite important to OpenStack usage, since live migration is the way cloud providers typically upgrade virt hosts to newer releases of OpenStack software. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|