patches for CAM SCSI probing, etc.

Alexander Motin mav at FreeBSD.org
Tue May 25 18:52:29 UTC 2010


Matthew Jacob wrote:
> Part of the reason I went the way you had done for ATA is to try and
> guarantee one and one only probe action at a time per nexus.

But in ATA I am restarting probe from the begining when new request
arrive. Look on "softc->restart".

>> you are slightly changing semantics of device probe. Previously, probe
>> call means warranty that device will be probed from the beginning after
>> the moment of request. It is very important for ATA, as probe function
>> also initializes device, that is mandatory if probe is called as result
>> of device reset. SCSI devices probably don't need that initialization,
>> but what if probe was called due to inquiry change status received
>> during probe sequence running? Are you sure you won't loose events here?

-- 
Alexander Motin


More information about the freebsd-scsi mailing list