svn commit: r253910 - head/sys/kern

Marcel Moolenaar marcel at FreeBSD.org
Sat Aug 3 04:25:26 UTC 2013


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)


More information about the svn-src-all mailing list