author | Ching Huang <ching2048@areca.com.tw> | |
Wed, 19 Oct 2016 09:50:26 +0000 (17:50 +0800) | ||
committer | Sasha Levin <alexander.levin@verizon.com> | |
Sat, 26 Nov 2016 03:57:03 +0000 (22:57 -0500) | ||
commit | 97d53c4d89e0f2833b932b8e3f0c2d7312a55b52 | |
tree | f38202661b846de943ccf5107b8c4b000d0eb832 | tree | snapshot (tar.xz tar.gz zip) |
parent | d207c6603fc6be402f6e75181c9dae0bfd585e56 | commit | diff |
scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware
[ Upstream commit 2bf7dc8443e113844d078fd6541b7f4aa544f92f ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
[ Upstream commit 2bf7dc8443e113844d078fd6541b7f4aa544f92f ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
drivers/scsi/arcmsr/arcmsr_hba.c | diff | blob | history |