scsi: introduce a quirk for false cache reporting
authorOliver Neukum <oneukum@suse.com>
Mon, 12 Sep 2016 13:19:41 +0000 (15:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Sep 2016 06:08:24 +0000 (08:08 +0200)
commit050bc4e846af24e77af82d0fa5f718e0919d15a4
tree9a670fd070e7d58478639602cb133509826329d2
parent6406c3d226374c28d452b11db3b5ac241ce26191
scsi: introduce a quirk for false cache reporting

Some SATA to USB bridges fail to cooperate with some
drives resulting in no cache being present being reported
to the host. That causes the host to skip sending
a command to synchronize caches. That causes data loss
when the drive is powered down.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/kernel-parameters.txt
drivers/usb/storage/scsiglue.c
drivers/usb/storage/unusual_devs.h
drivers/usb/storage/usb.c
include/linux/usb_usual.h