HomeFreeBSD

Fix LUN discovery for targets that don't support REPORT_LUNS, broken

Description

Fix LUN discovery for targets that don't support REPORT_LUNS, broken
in r263741. At least with CTL (slightly modified to report SPC2) there
is still some problem: it doesn't seem to find LUNs higher than 7.

Sponsored by: The FreeBSD Foundation

Details

Provenance
traszAuthored on
Parents
rS271702: Fix tpc_create_token() introduced in r269497 to encode CREATOR LOGICAL UNIT
Branches
Unknown
Tags
Unknown

Event Timeline