* Q: calling SCpnt->scsi_done() on cancelled commands?
@ 2002-06-22 3:03 Luben Tuikov
2002-06-24 15:37 ` Doug Ledford
0 siblings, 1 reply; 2+ messages in thread
From: Luben Tuikov @ 2002-06-22 3:03 UTC (permalink / raw)
To: linux-scsi
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-24 15:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-22 3:03 Q: calling SCpnt->scsi_done() on cancelled commands? Luben Tuikov
2002-06-24 15:37 ` Doug Ledford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox