summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid
diff options
context:
space:
mode:
authorSujit Reddy Thumma2014-08-11 14:40:37 +0200
committerChristoph Hellwig2014-09-16 01:01:57 +0200
commit2eefd57b97609949ae40952da2dea338e7d9a125 (patch)
tree9010e184d6af69458b34cf6239ba2e4ba6ef8c9c /drivers/scsi/aacraid
parentscsi: fix various kernel-doc problems in scsi_error.c (diff)
downloadkernel-qcow2-linux-2eefd57b97609949ae40952da2dea338e7d9a125.tar.gz
kernel-qcow2-linux-2eefd57b97609949ae40952da2dea338e7d9a125.tar.xz
kernel-qcow2-linux-2eefd57b97609949ae40952da2dea338e7d9a125.zip
sd: Avoid sending medium write commands if device is write protected
The SYNCHRONIZE_CACHE command is a medium write command and hence can fail when the device is write protected. Avoid sending such commands by making sure that write-cache-enable is disabled even though the device claim to support it. Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org> Signed-off-by: Dolev Raviv <draviv@codeaurora.org> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Venkatesh Srinivas <venkateshs@google.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/aacraid')
0 files changed, 0 insertions, 0 deletions