Page MenuHomeFreeBSD

nda: Rescan the drive on open
Needs ReviewPublic

Authored by imp on Wed, Feb 25, 8:58 PM.
Tags
None
Referenced Files
F146198686: D55520.id.diff
Sat, Feb 28, 4:39 PM
Unknown Object (File)
Thu, Feb 26, 5:07 PM
Unknown Object (File)
Thu, Feb 26, 4:32 PM
Unknown Object (File)
Thu, Feb 26, 4:00 PM
Unknown Object (File)
Thu, Feb 26, 11:42 AM
Unknown Object (File)
Thu, Feb 26, 12:14 AM
Subscribers

Details

Reviewers
mav
cperciva
chuck
chs
Group Reviewers
cam
Summary

SCSI and ATA drives rescan the drive on opens to catch changes to the
disk. We do it here to so we catch if a drive has been FORMATed or
SANITIZEd with different parameters. We don't use xpt_rescan() since we
don't want to interfere with boot or keep all busses locked (this rescan
won't change the bus, so we don't need the CAM topo lock).

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 71008
Build 67891: arc lint + arc unit