summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2005-01-22 22:46:45 +0000
committermjacob <mjacob@FreeBSD.org>2005-01-22 22:46:45 +0000
commit2ae6a1b3d38800ef17388d88290c49dd138477b8 (patch)
treeaac3b3521b4874ec52212dd10b6ff5feeb96ec6b /lib
parent96960d4e34bdb7e3535a85579f86c049a4131c65 (diff)
downloadFreeBSD-src-2ae6a1b3d38800ef17388d88290c49dd138477b8.zip
FreeBSD-src-2ae6a1b3d38800ef17388d88290c49dd138477b8.tar.gz
This is a somewhat imperfect means to try and bring FreeBSD forward in
its ability to automatically scan and attach luns for modern storage which has luns in the 0..1000 range, not 0..7. The correct thing would be to do REPORT LUNS for devices whose LUN0 version shows a version >= SCSI3, but lacking that we should be able to search higher than LUN 7 if we're >= SCSI3 with no ill effects. This change keeps all of the QUIRK_HILUNS quirks, obeys the QUIRK_NOLUNS, and introduces a QUIRK_NOHILUNS which will keep searches above LUN 7 happening for devices that report >= SCSI3 compliance. I doubt the latter will be needed, but you never know. This allowed me to randomly scan and attach > 500 disks at a time in a situation where quirking for QUIRK_HILUNS wasn't practical (the vendor id and product id changes of the virtualization changes constantly). Reviewed by: ken@freebsd.org, scottl@freebsd.org, gibbs@freebsd.org MFC after: 2 weeks
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud