[2102] in linux-scsi channel archive
Re: Long Timeout
daemon@ATHENA.MIT.EDU (Leonard N. Zubkoff)
Wed Jul 2 12:01:05 1997
Date: Wed, 2 Jul 1997 08:51:04 -0700
From: "Leonard N. Zubkoff" <lnz@dandelion.com>
To: KDombrofsky@compuserve.com
CC: linux-scsi@vger.rutgers.edu
In-reply-to: <199707020351_MC2-19A6-953C@compuserve.com> (message from KD on
Wed, 2 Jul 1997 03:51:10 -0400)
Date: Wed, 2 Jul 1997 03:51:10 -0400
From: KD <KDombrofsky@compuserve.com>
In linux/drivers/scsi/st.c, there is a LONG_TIMEOUT of 14 seconds.
Is it dangerous to set this value to a higher one, like 30s or 60s ?
Because i sometimes have a problem with a raid-system finding bad-blocks on
one drive. Sometime it take 10 or more seconds and the raid is sending data
again, but often the linux says: scsi-reset due to timeout and then the
system hangs. May be this LONG_TIMEOUT is to short.
My config:
linux 2.0.29
pentium 200
adaptec 2940UW + raid
symbios 53c810 + tape + cdrom + jaz
linux is booting from raid
I would think it's the timeout in sd.c that's the problem in that case. No,
there's no problem with setting the timeout as high as you need. It just means
that in the event of a problem that does require abort/reset error recovery,
the system may be unresponsive longer while waiting for the timeout to occur.
Leonard