From owner-svn-src-head@FreeBSD.ORG Sun Sep 20 21:23:50 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D758106566B; Sun, 20 Sep 2009 21:23:50 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id BCCD08FC0C; Sun, 20 Sep 2009 21:23:49 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAIs6tkqDaFvG/2dsb2JhbADNGYQbBQ X-IronPort-AV: E=Sophos;i="4.44,419,1249272000"; d="scan'208";a="48720839" Received: from amazon.cs.uoguelph.ca ([131.104.91.198]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 20 Sep 2009 17:23:35 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by amazon.cs.uoguelph.ca (Postfix) with ESMTP id 7652A210109; Sun, 20 Sep 2009 17:23:35 -0400 (EDT) X-Virus-Scanned: amavisd-new at amazon.cs.uoguelph.ca Received: from amazon.cs.uoguelph.ca ([127.0.0.1]) by localhost (amazon.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u+ozRAKi-EO2; Sun, 20 Sep 2009 17:23:34 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by amazon.cs.uoguelph.ca (Postfix) with ESMTP id A6372210108; Sun, 20 Sep 2009 17:23:34 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id n8KLTAr24139; Sun, 20 Sep 2009 17:29:11 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Sun, 20 Sep 2009 17:29:10 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: "M. Warner Losh" In-Reply-To: <20090919.230053.58383965.imp@bsdimp.com> Message-ID: References: <4AB35086.90502@FreeBSD.org> <4AB495DD.1010006@FreeBSD.org> <20090919.230053.58383965.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@FreeBSD.org, rmacklem@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, jhb@FreeBSD.org Subject: Re: svn commit: r197298 - head/sbin/mount_nfs X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2009 21:23:50 -0000 On Sat, 19 Sep 2009, M. Warner Losh wrote: > : > : Hmm, it might actually be nice to be able to change those at some point > : as well. I have looked at this in the past and it is quite deeply > : buried in libc. :-/ > > What's the benefit for forcing a tcp connection for the portmapper > RPCs? They just happen once at startup... > Someone mentioned an issue w.r.t. umount using UDP, which was basically a slow timeout when a server didn't handle the UDP call, such as when it was down. I'd guess that a TCP attempt would fail more quickly than a UDP attempt when the server doesn't have rpcbind/portmapper running. (Not so sure when the server has crashed, but I'm guessing that the TCP connection attempt fails more quickly than the N retries over UDP?) And what about going through NAT gateways? (I'm not familiar with how typical NAT gateways are set up, but do they all forward UDP ok?) I suspect others would know more about the tradeoffs? rick