Re: SCSI spinup.

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 2 Dec 1999 01:19:19 +0000 (GMT)


> locking stuff going on there. But I'd like to issue the spinup from
> rw_intr, so the semaphores are out. Now is it safe to issue a cmd from
> rw_intr without any further locks held or which looks would I have to
> acquire? Or is it just a stupid thing to do anyway?

I think you need to catch any spinups at the point the read/write is about
to be issued, or on an error return.

I've just merged Eric Youngdales changes to the scsi mlq into my 2.3.x
"suicide build" to see how they work out so things are about to all
change

-
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/