Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 May 2010 21:52:07 +0300
From:      Alexander Motin <mav@FreeBSD.org>
To:        Matthew Jacob <mj@feral.com>, freebsd-scsi@freebsd.org
Subject:   Re: patches for CAM SCSI probing, etc.
Message-ID:  <4BFC1C57.4080703@FreeBSD.org>
In-Reply-To: <mailpost.1274804732.4568033.10040.mailing.freebsd.scsi@FreeBSD.cs.nctu.edu.tw>
References:  <4BFB3985.1030301@FreeBSD.org> <mailpost.1274804732.4568033.10040.mailing.freebsd.scsi@FreeBSD.cs.nctu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BFC1C57.4080703>