Skip to contentSkip to conversation

usb-storage: Set virt_boundary_mask to avoid SG overflows

DISCUSSION Daniel Walker 2 participants 3 messages Nov 4, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

This is a stable defect report.

We're tracking v4.9 stable for some of our products (i.e. Cisco Systems, Inc.) We noticed a speed degradation of roughly %30 on writes to a /dev/sdaX device over USB (no file system). We bisected the issue to this commit from Alan Stern. We also found a prior report of speed degradation on NTFS,

https://lore.kernel.org/linux-usb/[email protected]/T/

We have the patch reverted in our v4.9 tree on top of stable. It seems Alan was planning to remove these lines. If the lines are planned to be removed is there an reason why they haven't been ?

Thanks,
Daniel

#1 lore raw
Quoted 9 lines · Daniel Walker

Hi,

This is a stable defect report.

We're tracking v4.9 stable for some of our products (i.e. Cisco Systems, Inc.) We noticed a speed degradation of roughly %30 on writes to a /dev/sdaX device over USB (no file system). We bisected the issue to this commit from Alan Stern. We also found a prior report of speed degradation on NTFS,

Quoted 5 lines

https://lore.kernel.org/linux-usb/[email protected]/T/

We have the patch reverted in our v4.9 tree on top of stable. It seems Alan was planning to remove these lines. If the lines are planned to be removed is there an reason why they haven't been ?

See https://marc.info/?l=linux-usb&m=157167288816325&w=2

Alan Stern

#2 lore raw
Quoted 11 lines · Alan Stern
Quoted 9 lines · Daniel Walker

Hi,

This is a stable defect report.

We're tracking v4.9 stable for some of our products (i.e. Cisco Systems, Inc.) We noticed a speed degradation of roughly %30 on writes to a /dev/sdaX device over USB (no file system). We bisected the issue to this commit from Alan Stern. We also found a prior report of speed degradation on NTFS,

Quoted 8 lines
Quoted 5 lines

https://lore.kernel.org/linux-usb/[email protected]/T/

We have the patch reverted in our v4.9 tree on top of stable. It seems Alan was planning to remove these lines. If the lines are planned to be removed is there an reason why they haven't been ?

See https://marc.info/?l=linux-usb&m=157167288816325&w=2

Ok .. Thanks.

Daniel