Date: Tue, 30 Jan 2007 00:26:05 +0000 (UTC) From: Kris Kennaway <kris@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs_vfsops.c Message-ID: <200701300026.l0U0Q5a8068696@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kris 2007-01-30 00:26:04 UTC
FreeBSD src repository
Modified files:
sys/nfsclient nfs_vfsops.c
Log:
Instead of always hard-coding the socket type for the nfs root mount as
SOCK_DGRAM (i.e. UDP), respect the value configured earlier. This allows
TCP NFS root mounts using e.g. the boot.nfsroot.options="tcp" tunable.
In this case some of the connection parameters like the retry timer were
previously set appropriately for TCP but inappropriately for the UDP
socket that was actually used, leading to e.g. extremely long recovery
times (O(hours)) after a nfs server reboot.
Reviewed by: mohans
MFC After: 2 weeks
Revision Changes Path
1.191 +1 -1 src/sys/nfsclient/nfs_vfsops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701300026.l0U0Q5a8068696>
