scsi: do not issue SCSI RSOC command to Promise Vtrak E610f
authorJanusz Dziemidowicz <rraptorr@nails.eu.org>
Thu, 24 Jul 2014 13:48:46 +0000 (15:48 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 Jul 2014 22:01:10 +0000 (18:01 -0400)
commit0213436a2cc5e4a5ca2fabfaa4d3877097f3b13f
tree192a6c47135e95d157f406aa610bd4e113d63d08
parent884ffee01ddde5af260c7a5d1359c658aa1f0a11
scsi: do not issue SCSI RSOC command to Promise Vtrak E610f

Some devices don't like REPORT SUPPORTED OPERATION CODES and will
simply timeout causing sd_mod init to take a very very long time.
Introduce BLIST_NO_RSOC scsi scan flag, that stops RSOC from being
issued. Add it to Promise Vtrak E610f entry in scsi scan
blacklist. Fixes bug #79901 reported at
https://bugzilla.kernel.org/show_bug.cgi?id=79901

Fixes: 98dcc2946adb ("SCSI: sd: Update WRITE SAME heuristics")

Signed-off-by: Janusz Dziemidowicz <rraptorr@nails.eu.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/scsi_devinfo.c
drivers/scsi/scsi_scan.c
include/scsi/scsi_devinfo.h