Page MenuHomeFreeBSD

vfs_mountroot: Wait for GEOM idle post root holds
ClosedPublic

Authored by cperciva on Dec 20 2021, 7:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 17, 4:59 AM
Unknown Object (File)
Sun, Jun 14, 2:41 AM
Unknown Object (File)
Fri, Jun 12, 7:31 AM
Unknown Object (File)
Wed, Jun 10, 6:26 AM
Unknown Object (File)
Sat, Jun 6, 8:03 AM
Unknown Object (File)
Tue, Jun 2, 2:55 PM
Unknown Object (File)
Tue, Jun 2, 10:28 AM
Unknown Object (File)
May 16 2026, 10:31 PM
Subscribers

Details

Summary

In the case of a root hold related to the initialization of a disk
device, a flurry of GEOM tasting is likely to take place as soon as
the device is initialized and the root hold is released. If we
don't wait for GEOM idle it's easy for vfs_mountroot to "win" the
race and proceed before the root filesystem GEOM is ready.

Sponsored by: https://www.patreon.com/cperciva

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43508
Build 40396: arc lint + arc unit