* scsi eh (in linux 2.4) retries a command without limit
@ 2004-08-24 17:29 Saeed Bishara
0 siblings, 0 replies; only message in thread
From: Saeed Bishara @ 2004-08-24 17:29 UTC (permalink / raw)
To: linux-scsi
Hi,
I've seen a case where timeout occurs, and one of the timedout
commands it a read to a sector with ecc corrupted.
when the error handler enters to action, it retries that read which
alwasy fails on medium error, but unfortunalty the error handler
retries it again and again without finish.
I looked into the scsi error handler code (kernel 2.4.26), and I
found that the function scsi_send_eh_cmnd retries the command ( if
scsi_eh_completed_normally return NEEDS_RETRY) without any restriction
and without increasing and checking the retries counter.
saeed
--
Saeed Bishara
Marvell Semiconductor Israel Ltd
6 Ha'mada St.
Industrial Area
P.O. Box 692
Yokneam 20692 ISRAEL
Email - Saeed.Bishara@il.marvell.com
Tel - + 972 4 9091602
Cell - + 972 54 7619030
Fax - + 972 4 9091505
WWW Page: http://www.marvell.com
This message may contain confidential, proprietary or legally privileged information. The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone, or by e-mail and delete the message from your computer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-24 17:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-24 17:29 scsi eh (in linux 2.4) retries a command without limit Saeed Bishara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).