HomeFreeBSD

2493 change efi_rescan() to wait longer

Description

2493 change efi_rescan() to wait longer

Change efi_rescan() to loop 10 times instead of 5 on EBUSY and
to sleep at the end of each loop. This helps with some instances
where the kernel does not reload the partition table fast enough
for ZFS to detect.

Signed-off-by: Andrew Hamilton <ahamilto@tjhsst.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2493

Details

Provenance
Andrew Hamilton <ahamilto@tjhsst.edu>Authored on Aug 13 2014, 2:58 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 26 2014, 11:12 PM
Parents
rG0426c16804e5: Fixed memory leaks in zevent handling
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGd09a99f96b43: 2493 change efi_rescan() to wait longer (authored by Andrew Hamilton <ahamilto@tjhsst.edu>).Aug 26 2014, 11:12 PM