usb-storage/SCSI: Add broken_fua blacklist flag
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 30 Jun 2014 15:04:21 +0000 (11:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Jul 2014 05:47:18 +0000 (22:47 -0700)
commitb14bf2d0c0358140041d1c1805a674376964d0e0
tree7548f59221b4f29f59f056ae717ede2732baf3cb
parentba1ba3a4ed0c5c6a6121169abe61802aeab6c1d2
usb-storage/SCSI: Add broken_fua blacklist flag

Some buggy JMicron USB-ATA bridges don't know how to translate the FUA
bit in READs or WRITEs.  This patch adds an entry in unusual_devs.h
and a blacklist flag to tell the sd driver not to use FUA.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: Michael Büsch <m@bues.ch>
Tested-by: Michael Büsch <m@bues.ch>
Acked-by: James Bottomley <James.Bottomley@HansenPartnership.com>
CC: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
CC: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/sd.c
drivers/usb/storage/scsiglue.c
drivers/usb/storage/unusual_devs.h
include/linux/usb_usual.h
include/scsi/scsi_device.h