diff options
author | Ching Huang <ching2048@areca.com.tw> | 2016-10-19 12:50:26 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-10-27 05:17:43 +0300 |
commit | 2bf7dc8443e113844d078fd6541b7f4aa544f92f (patch) | |
tree | 91514ed290d2edc038ddad61dfde927ee6f3e6b2 /drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | |
parent | 4d2b496f19f3c2cfaca1e8fa0710688b5ff3811d (diff) | |
download | linux-2bf7dc8443e113844d078fd6541b7f4aa544f92f.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c')
0 files changed, 0 insertions, 0 deletions