mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=134518
@ -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…
Reference in New Issue
Block a user