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: Q: calling SCpnt->scsi_done() on cancelled commands?
Date: Fri, 21 Jun 2002 23:03:56 -0400	[thread overview]
Message-ID: <3D13E91C.4E7BD549@splentec.com> (raw)

It was recently mentioned that calling scsi_done()
for cancelled commands doesn't matter.

I'd like to inquire as the the future of this
condition?

I also noticed that aic7xxx also calls
scsi_done() on cancelled commands (by the mid-layer,
or otherwise).

In my code, I don't always know how the command was
cancelled, it may have been cancelled by the middle
layer or by other sources/means -- whenever this
happens I just set a flag and let ``the command movers''
(from queue to queue) actually cancel the command
(set the result code, if scsi_done() call scsi_done()
and release the command to the mid-layer).

What is the future of calling scsi_done() on
cancelled by the mid-layer commands?

TIA,
-- 
Luben

             reply	other threads:[~2002-06-22  3:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-22  3:03 Luben Tuikov [this message]
2002-06-24 15:37 ` Q: calling SCpnt->scsi_done() on cancelled commands? Doug Ledford

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=3D13E91C.4E7BD549@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