Re: [PATCH nfs-utils v3 00/14] add NFS over AF_VSOCK support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Sep 25, 2017, at 4:14 AM, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
> 
> On Fri, Sep 22, 2017 at 02:31:56PM -0400, Chuck Lever wrote:
>> 
>>> On Sep 22, 2017, at 12:23 PM, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
>>> 
>>> In practice it
>>> probably doesn't matter, since I doubt VMWare would end up using
>>> NFS over AF_VSOCK, but conceptually I think AF_VSOCK makes more sense
>>> for a virt scenario.
>>> 
>>> Using AF_LOCAL would not be solving the hard problems for virt like
>>> migration either - it would just be hiding them under the carpet
>>> and pretending they don't exist. Again preferrable to actually use
>>> AF_VSOCK and define what the expected semantics are for migration.
>> 
>> There's no hiding or carpets. We're just reviewing the various
>> alternatives. AF_LOCAL has the same challenges as AF_VSOCK, as I've
>> said in the past, except that it already has well-defined semantics,
>> and it can be used in other environments besides host-guest.
> 
> The existing usage / other environments have no concept of migration, so
> there is no defined behaviour for AF_LOCAL wrt guest migration.

That is correct, and also true for all other current RPC
transports.


> So my point
> was that to use AF_LOCAL would be explicitly deciding to ignore the problem
> of migration.

That is nonsense, because all other current RPC transports also
do not support live guest migration, because that set of issues
has to do with NFS, not with RPC.

Further, AFAIK, the use of AF_LOCAL does not force any a priori
decision about whether live guest migration with NFS can be
supported. The question of live guest migration support is
orthogonal to the choice of RPC transport.


> Unless we define new semantics for AF_LOCAL wrt to migration,
> in the same way we'd have to define those semantics for AF_VSOCK.

Perhaps you misunderstood what I meant above by "already has
well-defined semantics". I simply meant that, unlike RPC on
AF_VSOCK currently, RPC on AF_LOCAL is well-defined and already
in use for some RPC programs. I am restating what Jeff Layton
already said in earlier e-mail. I was not making any claim about
whether live guest migration can be supported with NFS on an
AF_LOCAL transport.


--
Chuck Lever



--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux