cvs commit: src/sys/nfsclient nfs_vfsops.c

Kris Kennaway kris at FreeBSD.org
Tue Jan 30 00:26:05 UTC 2007


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


More information about the cvs-src mailing list