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
1fc4519b1d
commit
972be79add
@ -735,7 +735,8 @@ mdinit(struct md_s *sc)
|
|||||||
sc->pp = pp;
|
sc->pp = pp;
|
||||||
g_error_provider(pp, 0);
|
g_error_provider(pp, 0);
|
||||||
g_topology_unlock();
|
g_topology_unlock();
|
||||||
g_waitidle();
|
if (sc->type != MD_PRELOAD)
|
||||||
|
g_waitidle();
|
||||||
PICKUP_GIANT();
|
PICKUP_GIANT();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user