cvs commit: src/sys/cam cam_xpt.c

Scott Long scottl at
Thu Sep 15 19:34:10 PDT 2005

Eric Anderson wrote:
> Matt Jacob wrote:
>> mjacob      2005-09-16 01:26:17 UTC
>>  FreeBSD src repository
>>  Modified files:
>>    sys/cam              cam_xpt.c  Log:
>>  Make the exploring of all luns supported by an HBA more of a
>>  tunable (until we get REPORT LUNS in place).
>>  If we're probing luns, and each probe succeeds, we keep going past
>>  lun 7 if we're a SCSI3 or better device (until we fail to probe).
>>  If we're probing luns, and a probe fails, we only keep going if
>>  we're quirked *for* it (CAM_QUIRK_HILUNS), and if we're not quirked
>>  *against* it (CAM_QUIRK_NOHILUNS), or we're a SCSI3 or better device
>>  and the tunable ( is set non-zero.
>>  Reviewed by:    nate at, gibbs at, ken at, 
>> scottl at
>>  MFC after:      1 week
>>  Revision  Changes    Path
>>  1.156     +38 -5     src/sys/cam/cam_xpt.c
> Matt, do you think this would fix issues with Qlogic (FC) cards scanning 
> and finding duplicate luns on some FC devices? (I see that in 6.0, but 
> not in 5.x).
> Eric

We added more aggressive LUN scanning code into 6-CURRENT a few months
ago, but didn't merge it back to 5-STABLE precisely becasue we knew that
it might cause problems.  This commit will hopefully address those
problems by making the scanning less aggressive by default but more


More information about the cvs-src mailing list