From: Eric Youngdale <eric@sub2317.jic.com>
Subject: Re: SCSI driver times out on UDB?
Date: Sun, 27 Oct 1996 13:09:07 -0500 [thread overview]
Message-ID: <199610271809.NAA13322@sub2317.jic.com> (raw)
>> I doubt that this will work. None of the drivers currently support
>>having more than one initiator on the bus at one time.
>>
>
>Think again, billybob:
Since I wrote large parts of the scsi layer, I think I have a pretty
good idea of what is going on :-).
I believe the real problem would be if you were trying to heavily
use the disk from both machines at the same time. It depends a bit upon
whether the devices support tagged queueing or not (i.e. multiple outstanding
requests to the same device). If not, one host will see the device is busy
when the other one is using it. With tagged queueing, I am not sure what
would happen, as the queue could get filled in strange ways.
If the queue is filled with requests from machine A, and machine B
doesn't get it's requests satisfied in a timely fashion, machine B will assume
the bus is locked up, and start trying to unjam it - typically this would
involve either BUS DEVICE RESET or BUS RESET. This is likely to severely screw
up machine A, since it would appear to that machine like it's requests timed
out (when in fact they were dropped if the reset used cleared the device), and
then machine A would start trying to reset the bus in order to clear the
condition...
To eliminate this possibility, one would need to fix things so that
each host had knowledge of the other one, so that it could make allowances
for the problems. Ideally the two hosts could communicate (provided that
you could put them in target mode), to swap notes about what devices are
in use and what devices are busy, but this would require a fairly complicated
interaction.
A simpler solution would be to make use of a feature of SCSI that was
designed for exactly this case. You can 'reserve' a device, such that any
other hosts on the bus would find out that the device is busy. I would
hesitate to use this in the normal case because it adds additional overhead to
command processing, but it would probably be the easiest solution to implement.
-Eric
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
next reply other threads:[~1996-10-27 18:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-27 18:09 Eric Youngdale [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-10-27 22:04 SCSI driver times out on UDB? Eric Youngdale
1996-10-27 19:31 Matthew Jacob
1996-10-27 19:11 Eric Youngdale
1996-10-27 18:40 Matthew Jacob
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