Author: marcel
Date: Sat Aug  3 04:25:25 2013
New Revision: 253910
URL: http://svnweb.freebsd.org/changeset/base/253910

Log:
  Add a tunable for the default timeout.

Modified:
  head/sys/kern/vfs_mountroot.c

Modified: head/sys/kern/vfs_mountroot.c
==============================================================================
--- head/sys/kern/vfs_mountroot.c       Sat Aug  3 03:16:42 2013        
(r253909)
+++ head/sys/kern/vfs_mountroot.c       Sat Aug  3 04:25:25 2013        
(r253910)
@@ -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