summaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2013-06-07 04:15:55 +0200
committerJames Bottomley <JBottomley@Parallels.com>2013-06-27 02:56:18 +0200
commit66c28f97120e8a621afd5aa7a31c4b85c547d33d (patch)
treeec0f4ee9b3a34264f1d9c33df28ec89fbaf6561a /.mailmap
parent[SCSI] fnic: potential dead lock in fnic_is_abts_pending() (diff)
downloadlinux-66c28f97120e8a621afd5aa7a31c4b85c547d33d.tar.xz
linux-66c28f97120e8a621afd5aa7a31c4b85c547d33d.zip
[SCSI] sd: Update WRITE SAME heuristics
SATA drives located behind a SAS controller would incorrectly receive WRITE SAME commands. Tweak the heuristics so that: - If REPORT SUPPORTED OPERATION CODES is provided we will use that to choose between WRITE SAME(16), WRITE SAME(10) and disabled. This also fixes an issue with the old code which would issue WRITE SAME(10) despite the command not being whitelisted in REPORT SUPPORTED OPERATION CODES. - If REPORT SUPPORTED OPERATION CODES is not provided we will fall back to WRITE SAME(10) unless the device has an ATA Information VPD page. The assumption is that a SATL which is smart enough to implement WRITE SAME would also provide REPORT SUPPORTED OPERATION CODES. To facilitate the new heuristics scsi_report_opcode() has been modified to so we can distinguish between "operation not supported" and "RSOC not supported". Reported-by: H. Peter Anvin <hpa@zytor.com> Tested-by: Bernd Schubert <bernd.schubert@itwm.fraunhofer.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Cc: <stable@vger.kernel.org> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions