Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Aug 2013 04:25:26 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253910 - head/sys/kern
Message-ID:  <201308030425.r734PQ4m038177@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308030425.r734PQ4m038177>