All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brett Russ <russb@emc.com>
To: dougg@torque.net
Cc: Jeff Garzik <jgarzik@pobox.com>,
	linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org,
	htejun@gmail.com
Subject: Re: [PATCH] libata: scsi error handling, lk 2.6.14-rc1
Date: Thu, 22 Sep 2005 15:21:02 -0400	[thread overview]
Message-ID: <4333041E.9000405@emc.com> (raw)
In-Reply-To: <432E7A6A.4090209@torque.net>

Douglas Gilbert wrote:
> Jeff,
> This is a retransmission (and resync against lk 2.6.14-rc1)
> of a patch that I sent on 2005/8/28 . I haven't seen a reply.
> 
> If it has be applied, then my following patch
> ("[PATCH] libata: ATA Information VPD page, lk 2.6.14-rc1")
> should apply.
> 
> This patch adds more general error processing, typically for
> problems (or an early finish) detected while a
> SCSI command is being processed prior to an ATA
> command being executed.
> 
> Changelog:
>   - add extern ata_scsi_set_sense() to build SCSI
>     sense data and corresponding status
>   - this allows removal of extern ata_scsi_badcmd()
>     and static inline ata_bad_scsiop() and ata_bad_cdb()
>   - change "xlat" functions in libata-scsi so they
>     are responsible for SCSI status and sense data
>     when they return 1. This allows GOOD status or a
>     specialized error to be set.
>   - set DRIVER_SENSE when SAM_STAT_CHECK_CONDITION
>     is flagged in scsi_cmnd::result
>   - yield an error for mode sense requests for saved
>     values [sat-r05]
>   - change recent rw_zero_length patch to do nothing
>     (yield GOOD status) when transfer_length==0 for
>     10 and 16 byte READ and WRITE commands (SBC-2).


Hi Doug,

In March I got a bunch of patches in this same area into libata-dev; I'm 
not sure where they sit now (definitely not in 2.6.14-rc).  Jeff would 
probably know.

See start of thread:
http://lkml.org/lkml/2005/3/17/157

So there would be conflicts if my stuff went forward--a lot of the 
changes are similar.  I think the best bet would be to find the tree 
with my patches and for you to look at it and find problems that you 
solved in this patch that I didn't address.

BR

  reply	other threads:[~2005-09-22 19:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-19  8:44 [PATCH] libata: scsi error handling, lk 2.6.14-rc1 Douglas Gilbert
2005-09-22 19:21 ` Brett Russ [this message]
2005-09-23  9:00   ` Jeff Garzik
2005-09-23 12:20     ` Brett Russ
2005-10-04 10:28       ` Jeff Garzik

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=4333041E.9000405@emc.com \
    --to=russb@emc.com \
    --cc=dougg@torque.net \
    --cc=htejun@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --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 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.