scsi hangs [drow at cs.cmu.edu: Re: CD-writers] (fwd)
Paul Mackerras
paulus at cs.anu.edu.au
Sun Jan 3 17:33:49 EST 1999
Brad Midgley <brad at pht.com> wrote:
> what was the result of testing this patch? i see it isn't present at vger.
> but does it make scsi activity safer? does it need more testing? should i
> test it as-is?
[patch to drivers/scsi/sd.c snipped]
It turns out that patch isn't necessary - all that was needed is to do
spin_lock_irqsave(&io_request_lock, flags) before calling the scsi
done function in the mesh driver (and spin_unlock_irqrestore after).
That's done, in different forms, both in vger and Linus' 2.2.0-pre2
and later, so it should be OK now.
Paul.
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request at lists.linuxppc.org ]]
More information about the Linuxppc-dev
mailing list