From: Tejun <htejun@gmail.com>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: James.Smart@Emulex.Com, SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: Regarding ordered-tag support.
Date: Thu, 09 Feb 2006 02:18:28 +0900 [thread overview]
Message-ID: <43EA27E4.9080105@gmail.com> (raw)
In-Reply-To: <1139418451.3003.37.camel@mulgrave.il.steeleye.com>
James Bottomley wrote:
> On Thu, 2006-02-09 at 01:57 +0900, Tejun wrote:
>
>>I intentionally wrote 'driver' because if a SCSI device determines that
>>it's busy, it would report via CHECK CONDITION. Depending on QErr, the
>>whole task set will be terminated, and such case falls into EH
>>requeueing case (would require changes in scsi_softirq though).
>
> No, it wouldn't. BUSY is a SPI Message (deprecated on non-SPI
> transports) and QUEUE_FULL is a status return. The device is entitled
> to think of the transaction as logically complete (and not impacting
> error recovery) after either of these returns.
I see. I'll dig docs.
>>>You're making the assumption that you can set QErr... It's under device control.
>>
>>Was it ro field? Didn't know that. I will check it tomorrow. If a
>>device doesn't abort whole taskset, we just can't use ordered-tag for
>>barriers.
>
>
> His point is that it's a field in the mode page of a device. Some
> devices only have read only mode pages ... still more may not act on
> this field correctly even if set. Basically it's opening a can of
> worms.
Yeah, I kind of doubt whether hardware vendors would implement and test
all the options and features whene I read SCSI specs. Considering how
many ATA drives have faulty firmware...
Anyways, it seems ordered-tag support should be left alone for the time
being. Sad. :-(
Thanks a lot.
--
tejun
next prev parent reply other threads:[~2006-02-08 17:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-08 6:40 Regarding ordered-tag support Tejun Heo
2006-02-08 15:49 ` James Bottomley
2006-02-08 16:10 ` Tejun
2006-02-08 16:25 ` James Smart
2006-02-08 16:57 ` Tejun
2006-02-08 17:07 ` James Bottomley
2006-02-08 17:18 ` Tejun [this message]
2006-02-08 17:27 ` James Bottomley
2006-02-08 18:04 ` Jeff Garzik
2006-02-09 4:12 ` Tejun Heo
2006-02-09 17:20 ` James Bottomley
2006-02-10 0:45 ` Tejun Heo
2006-02-08 16:26 ` James Bottomley
2006-02-08 16:22 ` James Smart
2006-02-08 20:50 ` James Bottomley
2006-02-08 20:59 ` James Bottomley
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=43EA27E4.9080105@gmail.com \
--to=htejun@gmail.com \
--cc=James.Bottomley@SteelEye.com \
--cc=James.Smart@Emulex.Com \
--cc=linux-scsi@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).