All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saeed Bishara <Saeed.Bishara@il.marvell.com>
To: linux-scsi@vger.kernel.org
Subject: scsi eh (in linux 2.4) retries a command without limit
Date: Tue, 24 Aug 2004 20:29:29 +0300	[thread overview]
Message-ID: <412B7AF9.3090506@il.marvell.com> (raw)

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.




                 reply	other threads:[~2004-08-24 17:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=412B7AF9.3090506@il.marvell.com \
    --to=saeed.bishara@il.marvell.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.