diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index bc61930fb83d..5059943cf46f 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -735,6 +735,7 @@ mdinit(struct md_s *sc) sc->pp = pp; g_error_provider(pp, 0); g_topology_unlock(); + g_waitidle(); PICKUP_GIANT(); }