From: Jeff Garzik <jgarzik@pobox.com>
To: linux-scsi@vger.kernel.org
Subject: requeuing a Scsi_Cmnd?
Date: Sun, 11 May 2003 16:25:57 -0400 [thread overview]
Message-ID: <3EBEB1D5.3040300@pobox.com> (raw)
This question applies to 2.4 as well as 2.5 (I believe the strategies
are different for the two?)
Suppose I am passed several Scsi_Cmnd structures via ->queuecommand.
TCQ depth is >1. An event causes the entire queue to be aborted, but I
know that the majority of the queue was actually ok. So, my LLD would
need to requeue and resend most of the recently-aborted Scsi_Cmnds.
How do I tell the SCSI layer to requeue and resend a Scsi_Cmnd [almost]
immediately?
Thanks,
Jeff
next reply other threads:[~2003-05-11 20:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-11 20:25 Jeff Garzik [this message]
2003-05-12 5:43 ` requeuing a Scsi_Cmnd? Luben Tuikov
2003-05-12 14:44 ` James Bottomley
2003-05-12 18:12 ` Luben Tuikov
2003-05-12 20:30 ` James Bottomley
2003-05-13 0:20 ` Jeff Garzik
2003-10-30 23:48 ` Andre Hedrick
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=3EBEB1D5.3040300@pobox.com \
--to=jgarzik@pobox.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