public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Luben Tuikov <luben@splentec.com>
To: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: Q: aborting commands
Date: Tue, 15 Oct 2002 20:02:52 -0400	[thread overview]
Message-ID: <3DACACAC.9AA42D85@splentec.com> (raw)
In-Reply-To: 20021015222511.GG1049@beaverton.ibm.com

Mike Anderson wrote:
> 
> Luben Tuikov [luben@splentec.com] wrote:
> > I've been meaning to ask this for some time now:
> > What is the consensus on the meaning of an aborted command?
> >
> > Most notably in the SCSI LLP standards, a successfully aborted command
> > will NOT return status as non-aborted commands would (normally) do.
> >
> > 1. Should successfully aborted commands call scsi_done()?
> >    (of course with result=DID_ABORT)
>
> The new eh on calling eh_abort_handler on a cmd believes that it is the
> owner of the command again.

Yes, we know. That's why the ability to sleep on eh, else
there's no way out...
 
> I also noticed an issue in our current error handling in that if call
> eh_abort_handler we may want to call eh_device_reset_handler on the
> device later in recovery. The issue is that it at least one
> implementation by a LLDD this is a either / or case not a progressive
> step of error recovery.

I don't understand this.
 
> How could a LLDD know where the error occurred on a timeout. Take FC for
> example the problem could be a dropped response IU (with device
> completing the cmd) or a class 3 data frame dropped in the middle.

Right, in this case it cannot.

Anyway I was just throwing ideas and questions to increase the brainstorm
pool at linux-scsi, nothing more.

-- 
Luben

  reply	other threads:[~2002-10-16  0:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-15 20:48 Q: aborting commands Luben Tuikov
2002-10-15 22:25 ` Mike Anderson
2002-10-16  0:02   ` Luben Tuikov [this message]
2002-10-16  0:20     ` Mike Anderson

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=3DACACAC.9AA42D85@splentec.com \
    --to=luben@splentec.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