CAM rescanner thread?

Scott Long scottl at samsco.org
Fri Feb 16 04:41:35 UTC 2007


The goal was to create sys/cam/scsi/scsi_probe.c and start divorcing the
SCSI knowledge from the XPT.  Having it be a thread was just a side
effect.  Unfortunately, I haven't been able to finish that work yet.
It's getting closer, though.  But seriously, I saw little specific
benefit to it being a separate thread rather than part of the camisr.
Scanning/probing doesn't block, so it's not like it's blocking the
camisr from processing other I/O.  It's just nice from a modularity
standpoint.

Scott


mjacob at freebsd.org wrote:
> 
> And you didn't check it in because....?
> 
> 
> On Thu, 15 Feb 2007, Scott Long wrote:
> 
>> Matthew Jacob wrote:
>>>
>>> Following up from this, belatedly, I see lots of good stuff, and:
>>>
>>>
>>>>  With the discovery process moved to a
>>>> thread and some augmentation to XPT_SCAN_*, we should be good enough
>>>> for now.
>>>
>>> So, in principle a thread for rescanning seems appropriate to you?
>>>
>>> -matt
>>>
>>
>> I've had various prototypes of this in the past.
>>
>> Scott
>>
>>



More information about the freebsd-scsi mailing list