diff options
Diffstat (limited to 'sys/geom/mirror/g_mirror.c')
-rw-r--r-- | sys/geom/mirror/g_mirror.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/geom/mirror/g_mirror.c b/sys/geom/mirror/g_mirror.c index 9c023a1..3f79e16 100644 --- a/sys/geom/mirror/g_mirror.c +++ b/sys/geom/mirror/g_mirror.c @@ -2727,6 +2727,11 @@ g_mirror_rootwait(void) { /* + * HACK: Wait for GEOM, because g_mirror_rootwait() can be called, + * HACK: before we get providers for tasting. + */ + tsleep(&g_mirror_class, PRIBIO, "mroot", hz * 3); + /* * Wait for mirrors in degraded state. */ for (;;) { |