Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Eric Youngdale <eric@sub2317.jic.com>
Subject: Re: SCSI driver times out on UDB?
Date: Sun, 27 Oct 1996 17:04:13 -0500	[thread overview]
Message-ID: <199610272204.RAA13928@sub2317.jic.com> (raw)

>Note that this case is unlikely to happen since disk drive vendors
>probably do their f/w to try and ensure that a command doesn't hang
>out forever. Note that the SCSI specification doesn't say diddly
>about whether commands can constipate because new tags keep arriving
>that can be satisfied w/o moving the  heads.

	Leonard was finding that the commands were haning long enough to
become troublesome.  That's why the special stuff for BusLogic ended up
in there.

>Uh huh- this is an area that really always is needing work. Continously.
>Are you working on this now, or is this a future thing?

	I don't have that much time at the moment.  There was some talk about
improvements prior to the 2.0 release, but then again we were at code freeze.
There are a few other places that needed fixing too, but I think error
detection/recovery is probably the most serious, and probably the hardest.

	The general ideas that we came up with was that each low-level driver
should have it's own handling routine for timeouts.  Older drivers would be
able to use a default driver of some sort, but the general principle is that
the top level timeout handler in scsi.c essentially would use a single clock to
time out individual devices (instead of individual commands), and the low-level
driver could call into the middle layer to perform specific actions.  This was
the general plan anyways.  The way the top level was going to be restructured,
all it would really know is that different low-level drivers require timeouts
at certain times, so the mid-layer really doesn't know whether it is a command
or device that has timed out, and it would be up to the low-level driver
to handle it in one consistent way or another.

>>	Yes, for a 0th order solution, this would seem like a reasonable
>>thing to do.
>>
>
>Oooh. *SMACK*. Ow. Okay, so it's not the tablet-from-the-mount sol'n.

	Oh, no offense intended :-).  It is a nice solution in that it would
take about an hour to implement and test, so from that perspective it would
be a real win.  Even if we rewrite error handling, it is still a reasonable
thing to do.

-Eric

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

             reply	other threads:[~1996-10-27 22:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-27 22:04 Eric Youngdale [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-10-27 19:31 SCSI driver times out on UDB? Matthew Jacob
1996-10-27 19:11 Eric Youngdale
1996-10-27 18:40 Matthew Jacob
1996-10-27 18:09 Eric Youngdale
1996-10-27 17:36 Matthew Jacob
1996-10-27 14:25 Eric Youngdale
1996-10-25 13:27 Bernd
1996-10-25 18:32 ` Marc Singer
1996-10-25 22:16 ` Gerard Roudier
read-only archive

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