Page MenuHomeFreeBSD

cam/scsi: Support well known logical unit
ClosedPublic

Authored by jaeyoon on Nov 26 2025, 9:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 24, 12:49 PM
Unknown Object (File)
Thu, Jul 23, 3:16 PM
Unknown Object (File)
Thu, Jul 23, 2:51 AM
Unknown Object (File)
Wed, Jul 22, 8:49 AM
Unknown Object (File)
Tue, Jul 21, 7:36 PM
Unknown Object (File)
Tue, Jul 21, 6:14 PM
Unknown Object (File)
Mon, Jul 20, 4:18 PM
Unknown Object (File)
Sat, Jul 18, 7:39 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 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.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.