public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Clarification - export of scsi_finish_command and scsi_times_out
@ 2004-06-08 23:18 Mike Anderson
  2004-06-09 14:11 ` James Bottomley
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Anderson @ 2004-06-08 23:18 UTC (permalink / raw)
  To: linux-scsi; +Cc: hch, jgarzik

On a previous thread to resolve a libata issue scsi_finish_command was
exported. The thread can be reference at the url below.

http://marc.theaimsgroup.com/?t=107799572900002&r=1&w=2

My question is why did we export scsi_finish_command and not a wrapper
that included scsi_decide_disposition. If a LLDD did not have a
eh_strategy routine it is possible post recovery the io would be
retried. Is it because it was believed that these timed out commands
handled by the libata eh_strategy_handler would most likely not succeed
on retry?

Also there was a previous patch posted by Christoph to allow a LLDD to
handle timeouts directly instead of waiting for the host_failed count to
be reached where they could then be handled in a eh_strategy_handler.
http://marc.theaimsgroup.com/?l=linux-scsi&m=107460498631200&w=2

What is the current thought on this patch.

-andmike
--
Michael Anderson
andmike@us.ibm.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-09 14:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-08 23:18 Clarification - export of scsi_finish_command and scsi_times_out Mike Anderson
2004-06-09 14:11 ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox