From owner-svn-src-all@FreeBSD.ORG Fri Sep 18 14: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 54791106566C; Fri, 18 Sep 2009 14:59:35 +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 9DF328FC19; Fri, 18 Sep 2009 14:59:34 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAE89s0qDaFvK/2dsb2JhbADPV4QcBQ X-IronPort-AV: E=Sophos;i="4.44,410,1249272000"; d="scan'208";a="48505032" Received: from fraser.cs.uoguelph.ca ([131.104.91.202]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 18 Sep 2009 10:59:33 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id A15DF109C2BD; Fri, 18 Sep 2009 10:59:33 -0400 (EDT) X-Virus-Scanned: amavisd-new at fraser.cs.uoguelph.ca Received: from fraser.cs.uoguelph.ca ([127.0.0.1]) by localhost (fraser.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iCQqmaJkkLea; Fri, 18 Sep 2009 10:59:33 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by fraser.cs.uoguelph.ca (Postfix) with ESMTP id 048C4109C263; Fri, 18 Sep 2009 10:59:33 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id n8IF54126032; Fri, 18 Sep 2009 11:05:04 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Fri, 18 Sep 2009 11:05:04 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: John Baldwin In-Reply-To: <4AB35086.90502@FreeBSD.org> Message-ID: References: <200909171908.n8HJ8GQs067202@svn.freebsd.org> <4AB35086.90502@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@FreeBSD.org, Rick Macklem , svn-src-all@FreeBSD.org, 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: Fri, 18 Sep 2009 14:59:35 -0000 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. 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. rick