]> git.baikalelectronics.ru Git - kernel.git/commit
scsi_transport_spi: Blacklist Ultrium-3 tape for IU transfers
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 17 Jun 2009 19:05:05 +0000 (19:05 +0000)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 21 Jun 2009 15:52:46 +0000 (10:52 -0500)
commit38c83b720210754d0cea5b62a04630b20d55dfb6
treecaac2147c99dee9650da01384c2605b21f2ec5bb
parentf4f4611836b47c79134604a37aa04d5ab88d3ad8
scsi_transport_spi: Blacklist Ultrium-3 tape for IU transfers

There have been several bug reports which identified the Ultrium-3
tape as just hanging up on the bus during certain types of IU
transfer.  The identified culpret is type 0x02 (MULTIPLE COMMAND)
transfers.  The only way to prevent this tape wedging is to prevent it
from using IU transfers at all.  So this patch uses the exported
blacklist matching technology to recognise the drive and force it not
to use IU transfers.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_priv.h
drivers/scsi/scsi_transport_spi.c