Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2009 16:28:51 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-fs@freebsd.org, qing.li@bluecoat.com, freebsd-current@freebsd.org
Subject:   Re: NFS client defaults to a mix of UDP and TCP
Message-ID:  <4AAE4513.6030701@icyb.net.ua>
In-Reply-To: <200909140858.34592.jhb@freebsd.org>
References:  <Pine.GSO.4.63.0909131356020.12138@muncher.cs.uoguelph.ca> <200909140858.34592.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 14/09/2009 15:58 John Baldwin said the following:
> 
> Yes.  I know of folks would love to have NFS use only TCP, including the 
> initial RPC portmapper requests.  IMO an NFS mount should use TCP for 
> everything and a UDP mount should use UDP for everything by default.
> 

And another fact - it seems that NFS umount unconditionally uses UDP for "something":

/*
 * Report to mountd-server which nfsname
 * has been unmounted.
 */
if (ai != NULL && !(fflag & MNT_FORCE) && do_rpc) {
        clp = clnt_create(hostp, MOUNTPROG, MOUNTVERS, "udp");
...

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AAE4513.6030701>