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

Reply via email to