2.1.87 - SCSI unsafe?

Itai Nahshon (nahshon@actcom.co.il)
Fri, 20 Feb 1998 15:12:57 +0200


The scsi disk handler is using spin_locks. The low-level drivers
are using cli/sti.
>From linux/documentation/spinlocks.txt:
... they are NOT mutually exclusive ...

IMHO the problem is only on SMP.

Can someone with a better understanding of the scsi drivers
and spin_locks comment on that?

The scsi tape handler on 2.1.87 is broken because it is mixing
cli's with spin_locks. I posted a patch which fixes that. The
patched driver is working well but the patched driver has the
same potential problem as the scsi disk driver.

Thanks,
Itai

-- 
Itai Nahshon   nahshon@actcom.co.il
        Also   nahshon@vnet.ibm.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu