Re: Fwd: Hard Lockup on 2.4.16 with Via ieee1394 (sbp2 mode)

Andrew Morton (akpm@zip.com.au)
Fri, 28 Dec 2001 20:59:17 -0800


Matthew Dharm wrote:
>
> Hrm...
>
> Does this apply to usb-storage also? Under what conditions do you need to
> hold the io_request_lock when calling the done function?
>

That's scsi_old_done(). I don't think scsi_done() cares whether
io_request_lock is held or not.

And io_request_lock *must* be held by the caller of scsi_old_done() - it
assumes this. I think we'd have heard by now if usb was getting this
wrong. Looks like it's using scsi_done(), yes?

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