public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dgilbert@interlog.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
	James Bottomley <James.Bottomley@hansenpartnership.com>,
	SCSI development list <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH 1/3] SCSI: rearrange code in scsi_io_completion
Date: Wed, 01 Oct 2008 16:08:37 +0200	[thread overview]
Message-ID: <48E38465.1070101@interlog.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0810010948580.2421-100000@iolanthe.rowland.org>

Alan Stern wrote:
> On Tue, 30 Sep 2008, Martin K. Petersen wrote:
> 
>>>>>>> "Alan" == Alan Stern <stern@rowland.harvard.edu> writes:
>> Alan> Are there types of failure for which we really don't want to
>> Alan> print anything?  For example, what about UNIT ATTENTION for
>> Alan> media changes or the DIX/DIF failures (should those both be
>> Alan> DIF?)?
>>
>> ILLEGAL REQUEST + 10/[123] indicates that the HBA rejected the request
>> (DIX).
>>
>> ABORTED COMMAND + 10/[123] indicates that the device found a
>> corruption error (DIF).
> 
> That answer the parenthetical question.  Do you know the answer to the 
> main question?  That is, when either of these events occurs do we want 
> to skip adding an error message to the system log?

I know that SAS maps certain types of transport errors to
"ABORTED COMMAND" (see
http://www.t10.org/ftp/t10/drafts/sas2/sas2r14e.pdf
section 10.2.3) and they should be retried, especially the
timeouts.

For example, if there are 20 disks hanging off a SAS expander
with a 4 wide link back to the host, then issuing big and
very frequent READs to those 20 disks should see some
"ABORTED COMMAND"s.

Doug Gilbert


      reply	other threads:[~2008-10-01 14:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-29 21:11 [PATCH 1/3] SCSI: rearrange code in scsi_io_completion Alan Stern
2008-09-30 14:41 ` James Bottomley
2008-09-30 15:08   ` Alan Stern
2008-09-30 15:43     ` James Bottomley
2008-09-30 17:11       ` Mike Anderson
2008-09-30 18:07         ` James Bottomley
2008-09-30 19:34           ` Alan Stern
2008-09-30 19:49       ` Alan Stern
2008-09-30 23:24         ` Martin K. Petersen
2008-10-01 13:50           ` Alan Stern
2008-10-01 14:08             ` Douglas Gilbert [this message]

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=48E38465.1070101@interlog.com \
    --to=dgilbert@interlog.com \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=stern@rowland.harvard.edu \
    /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