From owner-svn-src-all@FreeBSD.ORG Sun Sep 20 04:59:35 2009 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78ADC1065670; Sun, 20 Sep 2009 04:59:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 354628FC0A; Sun, 20 Sep 2009 04:59:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id n8K4x8Af057380; Sat, 19 Sep 2009 22:59:08 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 19 Sep 2009 23:00:53 -0600 (MDT) Message-Id: <20090919.230053.58383965.imp@bsdimp.com> To: jhb@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <4AB495DD.1010006@FreeBSD.org> References: <4AB35086.90502@FreeBSD.org> <4AB495DD.1010006@FreeBSD.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: svn-src-head@FreeBSD.org, rmacklem@FreeBSD.org, svn-src-all@FreeBSD.org, rmacklem@uoguelph.ca, src-committers@FreeBSD.org Subject: Re: svn commit: r197298 - head/sbin/mount_nfs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Sep 2009 04:59:35 -0000 In message: <4AB495DD.1010006@FreeBSD.org> John Baldwin writes: : Rick Macklem wrote: : > : > : > On Fri, 18 Sep 2009, John Baldwin wrote: : > : >> Rick Macklem wrote: : >>> Author: rmacklem : >>> Date: Thu Sep 17 19:08:15 2009 : >>> New Revision: 197298 : >>> URL: http://svn.freebsd.org/changeset/base/197298 : >>> : >>> Log: : >>> Change the default transport protocol for use by the Mount protocol : >>> from UDP to TCP, so that it is consistent with TCP for NFS, which : >>> became the default at r176198. Without this change, doing an NFS mount : >>> against a server that only supports UDP would result in an unusable : >>> mount point if a transport protocol option wasn't specified for the : >>> mount. : >>> Approved by: kib (mentor) : >>> MFC after: 3 days : >> : >> Does this still use UDP for the mount protocol for a UDP mount? : >> : > Yep. If "udp" is specified, everything uses "udp". The only case : > affected by the change was when neither "udp" nor "tcp" were specified : > as options. : : Ok. : : > It happens that it still uses UDP for Portmapper by default and when : > "tcp" is specified, but that is down inside the libc functions and there : > are comments in them along the lines of "always use UDP first...", so : > I don't intend to change those. : : 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... Warner