Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2011 20:58:12 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: NFS umount takes ages when no DNS available
Message-ID:  <4E7AB254.4080908@FreeBSD.org>
In-Reply-To: <373396436.1795807.1316649054817.JavaMail.root@erie.cs.uoguelph.ca>
References:  <373396436.1795807.1316649054817.JavaMail.root@erie.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 09/21/2011 16:50, Rick Macklem wrote:
> I'm not sure why the author felt that the getaddinfo() needed to be
> done before the check for the need to do an rpc?

I can't speak to the original author's intent, but I do know that going
all the way back to 1994 the advice I always received was to put
critical NFS server hosts in /etc/hosts. Perhaps given that fundamental
assumption this seemed reasonable.

The code goes all the way back to:
r74462 | alfred | 2001-03-19 04:50:13 -0800 (Mon, 19 Mar 2001)

I'll leave the commit log itself as an exercise for the reader, since
it's lengthy and informative, but not necessarily directly relevant to
this problem.


hth,

Doug

-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




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