From: Russell King <rmk@arm.linux.org.uk>
To: linux-scsi@vger.kernel.org
Subject: Re: 2.4.19 SCSI error handing, door locking, etc
Date: Fri, 4 Oct 2002 20:49:25 +0100 [thread overview]
Message-ID: <20021004204925.D31015@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20021004194136.GC9544@beaverton.ibm.com>; from andmike@us.ibm.com on Fri, Oct 04, 2002 at 12:41:36PM -0700
On Fri, Oct 04, 2002 at 12:41:36PM -0700, Mike Anderson wrote:
> 01-scsi-cmd-retry-3.diff
> - I need to think on this. I currently have 1 retry for TUR and
> non for REQ sense. If a device is not responding the way we want the
> probability of sending multiple commands in a short time period
> especially TURs is most likely not going to result in what we
> want. Though your delay mentioned below is something I
> currently do not have.
With the current behaviour, I've seen this situation:
- bus reset
- tape drive responds to bus reset by positioning at the start of tape
- while tape drive is repositioning, it returns "drive not ready"
- we mark the tape drive off line despite there being absolutely
nothing wrong with it.
> 02-scsi-cmd-report.diff
> - I brought this forward, but it bothers me that the data in a
> cmd is incorrect as the command should be restored after it has
> been touched by error handling.
It goes wrong when HBA drivers use the Scsi_Cmnd to perform the
request sense, and don't restore the command structure. I've seen
no documentation that says "HBA drivers must restore the Scsi_Cmnd
structure to pristine state before handing it back to the scsi core."
Ok, I'll update my 2.4 version with your comments to keep things
consistent. The bits people are happy with I'm again submit to Alan.
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
next prev parent reply other threads:[~2002-10-04 19:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-26 0:23 2.4.19 SCSI error handing, door locking, etc Russell King
2002-10-04 19:41 ` Mike Anderson
2002-10-04 19:49 ` Russell King [this message]
2002-10-04 21:32 ` Patrick Mansfield
2002-10-05 7:54 ` Kai Makisara
2002-10-13 15:59 ` Willem Riede
2002-10-05 7:23 ` Kai Makisara
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=20021004204925.D31015@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--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