diff options
author | Kashyap Desai <kashyap.desai@broadcom.com> | 2016-10-21 15:33:32 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-10-25 03:31:43 +0200 |
commit | 1e793f6fc0db920400574211c48f9157a37e3945 (patch) | |
tree | 5c2b23a174bd21b90c81e34f7ebfe265e8468077 /sound | |
parent | scsi: NCR5380: no longer mark irq probing as __init (diff) | |
download | linux-1e793f6fc0db920400574211c48f9157a37e3945.tar.xz linux-1e793f6fc0db920400574211c48f9157a37e3945.zip |
scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices
Commit 02b01e010afe ("megaraid_sas: return sync cache call with
success") modified the driver to successfully complete SYNCHRONIZE_CACHE
commands without passing them to the controller. Disk drive caches are
only explicitly managed by controller firmware when operating in RAID
mode. So this commit effectively disabled writeback cache flushing for
any drives used in JBOD mode, leading to data integrity failures.
[mkp: clarified patch description]
Fixes: 02b01e010afeeb49328d35650d70721d2ca3fd59
CC: stable@vger.kernel.org
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions