Author: marcel
Date: Fri Aug 30 05:36:29 2013
New Revision: 255054
URL: http://svnweb.freebsd.org/changeset/base/255054

Log:
  MFC r253910: Add a tunable for the default timeout.
  
  Requested by: rodrigc@, delphij@

Modified:
  stable/9/sys/kern/vfs_mountroot.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/kern/vfs_mountroot.c
==============================================================================
--- stable/9/sys/kern/vfs_mountroot.c   Fri Aug 30 03:48:16 2013        
(r255053)
+++ stable/9/sys/kern/vfs_mountroot.c   Fri Aug 30 05:36:29 2013        
(r255054)
@@ -119,6 +119,7 @@ static int root_mount_complete;
 
 /* By default wait up to 3 seconds for devices to appear. */
 static int root_mount_timeout = 3;
+TUNABLE_INT("vfs.mountroot.timeout", &root_mount_timeout);
 
 struct root_hold_token *
 root_mount_hold(const char *identifier)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to