android_kernel_lge_bullhead/drivers/scsi/arcmsr
Ching Huang 9c30efd6a2 scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware
commit 2bf7dc8443e113844d078fd6541b7f4aa544f92f upstream.

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]

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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-02-10 11:03:22 +01:00
..
Makefile
arcmsr.h [SCSI] arcmsr: Fix the issue of system hangup after commands timeout on ARC-1200 2011-01-24 11:19:59 -06:00
arcmsr_attr.c [SCSI] arcmsr: Fix the issue of system hangup after commands timeout on ARC-1200 2011-01-24 11:19:59 -06:00
arcmsr_hba.c scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware 2017-02-10 11:03:22 +01:00