From: James Bottomley <James.Bottomley@SteelEye.com>
To: Eric Dean Moore <Emoore@lsil.com>
Cc: Christoph Hellwig <hch@infradead.org>,
Matthew Wilcox <matthew@wil.cx>, Christoph Hellwig <hch@lst.de>,
SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: RE: [PATCH] fusion: streamline ->queuecommand
Date: 04 Oct 2004 16:57:14 -0500 [thread overview]
Message-ID: <1096927040.2287.34.camel@mulgrave> (raw)
In-Reply-To: <0E3FA95632D6D047BA649F95DAB60E5705262196@exa-atlanta>
On Mon, 2004-10-04 at 16:33, Moore, Eric Dean wrote:
> Points:
> (1) We have three levels of DV(Domain Validation): none, basic, and
> enahanced.
> OEM Customers can set their own level of DV which is stored in nvram data,
> and
> passed to the driver and read thru config pages.
By basic and enhanced I presume you mean read only vs device write echo
buffer tests?
You can chose not to invoke spi_dv_device(), so we can do none and
enhanced (whether we do enhanced or basic depends on device support for
the echo buffer).
> (2) MPT driver is sending negotiation through firmware config device pages 0
> and 1. Is there
> another way to send negotiation {sdtr and ppr } messages directly to scsi
> devices in
> a generic API? I have not looked at the generic DV, so I'm not for sure how
> this would
> be handled.
No, the API assumes you supply the functions for setting and retrieving
the transport parameters. How you implement this is at your option.
> (3) How will a generic negotiation be done for raid volumes? The MPT driver
> supports RAID levels
> 0, 1, and 0+1. The driver does DV via RAID passthru to the individual
> devices.
As long as real scsi_device devices exist for the passthrough, it would
also be able to do dv for those.
> (4) The MPT driver has several work arounds in DV path to take advantage of
> the
> full inquiries that are passed as part of its alogirthm. The problem in
> older kernels
> were some distro's such as SuSE was only sending 36 bytes of inquiry data
> during Scaning the bus,
> and we are needing 57 bytes to determine if device has IU and QAS set, as
> well as detecting
> if the devices is a safte device. In addition, with IU set or not, the
> driver will know whether 64 or 256 luns
> can be scanned for.
This is obsolete and needs removing ... the mid layer does a 2 phase
inquiry and sets the capability support based on this. No device should
be doing inquiry snooping.
> (5) We only do DV for SCSI HBA's. DV is not done for Fiber or SAS, which is
> also handled by this driver.
DV is part of the SPI transport class only ... it's not an option for
the others.
> (6) DV algorithm works, and well tested, and accepted by our OEMS. Nothing
> is broke. Why break it?
Because sharing code and thus increasing its usage is good.
James
next prev parent reply other threads:[~2004-10-04 21:57 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-04 21:33 [PATCH] fusion: streamline ->queuecommand Moore, Eric Dean
2004-10-04 21:57 ` James Bottomley [this message]
2004-10-06 15:41 ` Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2004-10-21 14:58 Moore, Eric Dean
2004-10-06 14:46 Gibbons, Terry
2004-10-06 14:58 ` Matthew Wilcox
2004-10-06 14:23 Gibbons, Terry
2004-10-06 14:30 ` Christoph Hellwig
2004-10-06 15:47 ` James Bottomley
2004-10-06 14:00 Gibbons, Terry
2004-10-06 14:13 ` Arjan van de Ven
2004-10-06 14:25 ` Matthew Wilcox
2004-10-05 22:38 Moore, Eric Dean
2004-10-05 23:11 ` James Bottomley
2004-10-05 23:37 ` Patrick Mansfield
2004-10-06 0:48 ` James Bottomley
2004-10-02 8:13 Christoph Hellwig
2004-10-02 13:39 ` Matthew Wilcox
2004-10-02 14:49 ` Christoph Hellwig
2004-10-21 9:21 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1096927040.2287.34.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=Emoore@lsil.com \
--cc=hch@infradead.org \
--cc=hch@lst.de \
--cc=linux-scsi@vger.kernel.org \
--cc=matthew@wil.cx \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.