Don't g_waitidle() when initializing a preloaded md. This fixes a
deadlock which otherwise occurs during the boot process. Reported by: kensmith MFC after: 3 days (assuming that re@ approves)
This commit is contained in:
parent
922e581a21
commit
94c7897b9f
@ -735,7 +735,8 @@ mdinit(struct md_s *sc)
|
||||
sc->pp = pp;
|
||||
g_error_provider(pp, 0);
|
||||
g_topology_unlock();
|
||||
g_waitidle();
|
||||
if (sc->type != MD_PRELOAD)
|
||||
g_waitidle();
|
||||
PICKUP_GIANT();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user