]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
USB: UAS: introduce a quirk to set no_write_same
authorOliver Neukum <oneukum@suse.com>
Wed, 9 Dec 2020 15:26:39 +0000 (16:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2020 12:28:20 +0000 (13:28 +0100)
commit4848b8000a284b1abc908b818f052987a21a498a
tree83b41961f14da71c25fde52521b6f8ec505d17e9
parent0a2012a0b044bda799e3eb3a170d0c2b89f3de8c
USB: UAS: introduce a quirk to set no_write_same

commit 8010622c86ca5bb44bc98492f5968726fc7c7a21 upstream.

UAS does not share the pessimistic assumption storage is making that
devices cannot deal with WRITE_SAME.  A few devices supported by UAS,
are reported to not deal well with WRITE_SAME. Those need a quirk.

Add it to the device that needs it.

Reported-by: David C. Partridge <david.partridge@perdrix.co.uk>
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201209152639.9195-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/admin-guide/kernel-parameters.txt
drivers/usb/storage/uas.c
drivers/usb/storage/unusual_uas.h
drivers/usb/storage/usb.c
include/linux/usb_usual.h