Re: scsi_reset requirement questions

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 13 Aug 1999 16:53:30 +0100 (BST)


> > Is the io_request lock held for this case since it will be held calling
> > old_scsi_done() ? It isnt held for the other cases of reset.
>
> It is held, and it is held in all other cases as well. The other cases all
> originate from SCSI timeouts, check the function old_scsi_timesout() and
> you'll see we grab the spinlock in there before we call the abort or reset
> routines.

Oh dear. Then we have a _lot_ of broken for SMP scsi drivers.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/