Page MenuHomeFreeBSD

cam/scsi: Support well known logical unit
ClosedPublic

Authored by jaeyoon on Wed, Nov 26, 9:38 AM.
Tags
None
Referenced Files
F139197986: D53920.diff
Tue, Dec 9, 7:02 AM
Unknown Object (File)
Mon, Dec 8, 6:38 AM
Unknown Object (File)
Sun, Dec 7, 5:46 PM
Unknown Object (File)
Wed, Dec 3, 6:02 AM
Unknown Object (File)
Wed, Dec 3, 5:20 AM
Unknown Object (File)
Wed, Dec 3, 2:39 AM
Unknown Object (File)
Wed, Dec 3, 12:21 AM
Unknown Object (File)
Mon, Dec 1, 7:55 AM
Subscribers

Details

Summary

This patch adds an additional state to probe well-known logical units
before probing normal logical units.

Sponsored by: Samsung Electronics

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Since only the SIMs that support WLUN reporting call this, that limits the damage.
It may be the case we have to probe LUNs first and not probe WLUNs at all if that fails (some older, reduced command CDB sets don't have REPORT LUNS at all). For the moment, it's fine.

sys/cam/scsi/scsi_all.h
3060

are there other formats we don't support?

This revision is now accepted and ready to land.Fri, Nov 28, 7:16 AM
sys/cam/scsi/scsi_all.h
3060

There are several formats for the LUN address method (Peripheral, Flat, Extended flat, Long). And we don't support them.

This revision was automatically updated to reflect the committed changes.