there is no UDP vsock, it's always a stream socket, this could be done 
differently, as desired

Matt

----- Original Message -----
> From: "William Allen Simpson" <william.allen.simp...@gmail.com>
> To: "NFS Ganesha Developers" <nfs-ganesha-devel@lists.sourceforge.net>
> Sent: Friday, June 16, 2017 4:38:09 PM
> Subject: [Nfs-ganesha-devel] UDP VSOCK?
> 
> Tried to talk to DanG today, but he went home earlier than usual.  So
> maybe somebody else knows:
> 
> void Create_SVCXPRTs(void)
> {
>       protos p;
> 
>       LogFullDebug(COMPONENT_DISPATCH, "Allocation of the SVCXPRT");
>       for (p = P_NFS; p < P_COUNT; p++)
>               if (nfs_protocol_enabled(p)) {
>                       Create_udp(p);
>                       Create_tcp(p);
>               }
> #ifdef RPC_VSOCK
>       if (vsock)
>               create_vsock();
> #endif /* RPC_VSOCK */
> }
> 
> This creates a UDP VSOCK fd, a TCP VSOCK fd, and then another TCP VSOCK
> fd.  I'm fairly sure the the current code won't work properly for the
> UDP VSOCK, and I'm fairly sure that two TCP VSOCKs won't be used.
> 
> Also, VSOCK only needs to support NFS v3 and v4, not the other programs?
> 
> But I could be wrong?
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Nfs-ganesha-devel mailing list
> Nfs-ganesha-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
> 

-- 
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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to