Page MenuHomeFreeBSD

cam/scsi: Support well known logical unit
ClosedPublic

Authored by jaeyoon on Nov 26 2025, 9:38 AM.
Tags
None
Referenced Files
F167228897: D53920.id167116.diff
Thu, Aug 20, 3:44 AM
Unknown Object (File)
Wed, Aug 19, 7:20 AM
Unknown Object (File)
Mon, Aug 17, 9:07 AM
Unknown Object (File)
Sun, Aug 16, 8:57 AM
Unknown Object (File)
Thu, Aug 13, 1:01 AM
Unknown Object (File)
Mon, Aug 10, 12:27 PM
Unknown Object (File)
Sun, Aug 9, 7:53 AM
Unknown Object (File)
Sat, Aug 8, 7:49 PM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 68861
Build 65744: arc lint + arc unit

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.Nov 28 2025, 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.