diff options
author | sunghwan jung <onenowy@gmail.com> | 2022-09-13 14:49:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-22 16:52:31 +0300 |
commit | ad5dbfc123e6ffbbde194e2a4603323e09f741ee (patch) | |
tree | b73cf4ee6512ac84a905d2154a27da5d04d3c268 /arch/arm64/boot/dts | |
parent | 2a735e4b5580a2a6bbd6572109b4c4f163c57462 (diff) | |
download | linux-ad5dbfc123e6ffbbde194e2a4603323e09f741ee.tar.xz |
Revert "usb: storage: Add quirk for Samsung Fit flash"
This reverts commit 86d92f5465958752481269348d474414dccb1552,
which fix the timeout issue for "Samsung Fit Flash".
But the commit affects not only "Samsung Fit Flash" but also other usb
storages that use the same controller and causes severe performance
regression.
# hdparm -t /dev/sda (without the quirk)
Timing buffered disk reads: 622 MB in 3.01 seconds = 206.66 MB/sec
# hdparm -t /dev/sda (with the quirk)
Timing buffered disk reads: 220 MB in 3.00 seconds = 73.32 MB/sec
The commit author mentioned that "Issue was reproduced after device has
bad block", so this quirk should be applied when we have the timeout
issue with a device that has bad blocks.
We revert the commit so that we apply this quirk by adding kernel
paramters using a bootloader or other ways when we really need it,
without the performance regression with devices that don't have the
issue.
Signed-off-by: sunghwan jung <onenowy@gmail.com>
Link: https://lore.kernel.org/r/20220913114913.3073-1-onenowy@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm64/boot/dts')
0 files changed, 0 insertions, 0 deletions