From: Nathan Bryant <nbryant@optonline.net>
To: Luben Tuikov <luben_tuikov@adaptec.com>
Cc: Alan Stern <stern@rowland.harvard.edu>,
SCSI development list <linux-scsi@vger.kernel.org>,
"Mike R." <turbanator1@verizon.net>
Subject: Re: Incorrect response to SK/ASC/ASCQ = x 02/04/01 (becoming ready)
Date: Mon, 23 Aug 2004 12:05:12 -0400 [thread overview]
Message-ID: <412A15B8.2050909@optonline.net> (raw)
In-Reply-To: <412A08D9.7020502@adaptec.com>
Luben Tuikov wrote:
> If the queue is a _general_ SCSI queue on which _any_ kind of
> SCSI command can be queued to the LU/target (i.e. not necessarily
> medium access), then you must _not_ block it. HOQ task attribute
> commands could be sent which may operate other components of the
> LU/target.
Since we know that START STOP UNIT is unreliable...
Maybe the solution, then, instead of blocking, is to do something
similar to quiesce, wherein we block normal user-initiated medium access
but allow special requests. (?)
Not sure what an HOQ task attribute command is. Where in the t10.org
specs should I look for a definition of that?
>
> But you should block the IO (R/W) general queue, yes. _A_ way
> to do this is to send START STOP UNIT (0x1B) with the IMMED
> bit set to 0. When the command completes, you'll get status
> and set the device to active, unblock the IO queue, etc.
How would this interact with tagged command queueing? We don't want to
attempt to queue other commands while START STOP UNIT is pending at the
device. We don't want to disable disconnects, either, otherwise the bus
would be blocked while waiting for START STOP UNIT, correct?
Maybe this is a SCSI-novice question, but, does disconnection require
tagged commands? Is the Linux midlayer smart enough to know that some
kinds of commands need to block others until they complete?
next prev parent reply other threads:[~2004-08-23 16:05 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-22 16:21 Incorrect response to SK/ASC/ASCQ = x 02/04/01 (becoming ready) Alan Stern
2004-08-22 22:55 ` Nathan Bryant
2004-08-22 23:32 ` James Bottomley
2004-08-22 23:56 ` Burn Alting
2004-08-23 15:31 ` James Bottomley
2004-08-23 17:08 ` Burn Alting
2004-08-26 2:54 ` Jeremy Higdon
2004-08-26 15:38 ` James Bottomley
2004-08-26 22:36 ` Jeremy Higdon
2004-08-27 0:03 ` Douglas Gilbert
2004-08-26 15:55 ` PATCH: (as355) Fix test for valid sense data present Alan Stern
2004-08-26 16:09 ` James Bottomley
2004-08-26 16:59 ` Alan Stern
2004-08-26 17:27 ` James Bottomley
2004-08-26 19:32 ` Alan Stern
2004-08-26 23:36 ` Douglas Gilbert
2004-08-26 17:20 ` Proposal for fixing READ_CAPACITY Alan Stern
2004-08-23 15:10 ` Incorrect response to SK/ASC/ASCQ = x 02/04/01 (becoming ready) Luben Tuikov
2004-08-23 16:05 ` Nathan Bryant [this message]
2004-08-23 18:29 ` Luben Tuikov
2004-08-24 22:04 ` Brian King
-- strict thread matches above, loose matches on Subject: below --
2004-08-26 15:21 Pat LaVarre
2004-08-26 15:29 ` Pat LaVarre
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=412A15B8.2050909@optonline.net \
--to=nbryant@optonline.net \
--cc=linux-scsi@vger.kernel.org \
--cc=luben_tuikov@adaptec.com \
--cc=stern@rowland.harvard.edu \
--cc=turbanator1@verizon.net \
/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.