1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Allow to set kern.geom.mirror.timeout from /boot/loader.conf.

This commit is contained in:
Pawel Jakub Dawidek 2004-08-23 20:42:34 +00:00
parent c3d6fe74a7
commit c8b906bcbe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134226

View File

@ -54,6 +54,7 @@ u_int g_mirror_debug = 0;
SYSCTL_UINT(_kern_geom_mirror, OID_AUTO, debug, CTLFLAG_RW, &g_mirror_debug, 0,
"Debug level");
static u_int g_mirror_timeout = 8;
TUNABLE_INT("kern.geom.mirror.timeout", &g_mirror_timeout);
SYSCTL_UINT(_kern_geom_mirror, OID_AUTO, timeout, CTLFLAG_RW, &g_mirror_timeout,
0, "Time to wait on all mirror components");
static u_int g_mirror_reqs_per_sync = 5;