OpenCloudOS-Kernel/drivers/scsi/arcmsr
Ching Huang 2bf7dc8443 scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware
The arcmsr driver failed to pass SYNCHRONIZE CACHE to controller
firmware. Depending on how drive caches are handled internally by
controller firmware this could potentially lead to data integrity
problems.

Ensure that cache flushes are passed to the controller.

[mkp: applied by hand and removed unused vars]

Cc: <stable@vger.kernel.org>
Signed-off-by: Ching Huang <ching2048@areca.com.tw>
Reported-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-10-26 22:17:43 -04:00
..
Makefile [SCSI] arcmsr: initial driver, version 1.20.00.13 2006-07-28 14:13:40 -05:00
arcmsr.h arcmsr: change driver version to v1.30.00.22-20151126 2015-11-30 18:51:20 -05:00
arcmsr_attr.c arcmsr: simplify ioctl data read/write 2014-09-25 14:23:40 +02:00
arcmsr_hba.c scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware 2016-10-26 22:17:43 -04:00