HomeFreeBSD

Wait up to timeout seconds for udev device

Description

Wait up to timeout seconds for udev device

Occasional failures were observed in zconfig.sh because udev
could be delayed for a few seconds. To handle this the wait_udev
function has been added to wait for timeout seconds for an
expected device before returning an error. By default callers
currently use a 30 seconds timeout which should be much longer
than udev ever needs but not so long to worry the test suite
is hung.

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Sep 11 2010, 4:44 AM
Parents
rGac063c48ae12: Reduce volume size in zconfig.sh
Branches
Unknown
Tags
Unknown
References
tag: zfs-0.5.1

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG2c4834f87af4: Wait up to timeout seconds for udev device (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Sep 12 2010, 3:54 AM