HomeFreeBSD

vfs_mountroot: Skip 'Root mount waiting' < 1 s

Description

vfs_mountroot: Skip 'Root mount waiting' < 1 s

While the message is technically correct, it's not particularly
helpful in the case where we're only waiting a few ms; this case
occurs frequently on EC2 arm64 instances with CAM initialization
racing to release its root hold before vfs_mountroot reaches this
point. Only print the message if we end up waiting for more than
one second.

Sponsored by: https://www.patreon.com/cperciva
Differential Revision: https://reviews.freebsd.org/D33591

(cherry picked from commit e6db5eb9ec7ba9edfc564fd5ade5fb40df9acebb)

Details

Provenance
cpercivaAuthored on Dec 20 2021, 3:17 PM
Differential Revision
D33591: vfs_mountroot: Skip first 'Root mount waiting'
Parents
rGfcf4b06a5e6a: libsysdecode: Decode sendmsg/recvmsg flags containing an underscore
Branches
Unknown
Tags
Unknown