Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-09-19 Thread Andrea Vai
Il giorno mer, 18/09/2019 alle 12.30 -0400, Alan Stern ha scritto: > On Wed, 18 Sep 2019, Andrea Vai wrote: > [...] > > BAD: > > Logs: log_10trials_50MB_BAD_NonCanc_64.txt, > > log_10trials_50MB_BAD_NonCanc_non64.txt > > 64: 34, 34, 35, 39, 37, 32, 42, 44, 43, 40 > > not64: 61, 71, 59, 71, 62

Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-09-19 Thread Damien Le Moal
On 2019/09/18 18:30, Alan Stern wrote: > On Wed, 18 Sep 2019, Andrea Vai wrote: > >>> Also, I wonder if the changing the size of the data transfers would >>> make any difference. This is easy to try; just write "64" to >>> /sys/block/sd?/queue/max_sectors_kb (where the ? is the appropriate >>> dr

Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-09-19 Thread Ming Lei
On Thu, Sep 19, 2019 at 08:26:32AM +, Damien Le Moal wrote: > On 2019/09/18 18:30, Alan Stern wrote: > > On Wed, 18 Sep 2019, Andrea Vai wrote: > > > >>> Also, I wonder if the changing the size of the data transfers would > >>> make any difference. This is easy to try; just write "64" to > >>

Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-09-19 Thread Damien Le Moal
On 2019/09/19 10:56, Ming Lei wrote: > On Thu, Sep 19, 2019 at 08:26:32AM +, Damien Le Moal wrote: >> On 2019/09/18 18:30, Alan Stern wrote: >>> On Wed, 18 Sep 2019, Andrea Vai wrote: >>> > Also, I wonder if the changing the size of the data transfers would > make any difference. This

Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-09-19 Thread Ming Lei
On Thu, Sep 19, 2019 at 09:09:33AM +, Damien Le Moal wrote: > On 2019/09/19 10:56, Ming Lei wrote: > > On Thu, Sep 19, 2019 at 08:26:32AM +, Damien Le Moal wrote: > >> On 2019/09/18 18:30, Alan Stern wrote: > >>> On Wed, 18 Sep 2019, Andrea Vai wrote: > >>> > > Also, I wonder if the cha

Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-09-19 Thread Alan Stern
On Thu, 19 Sep 2019, Damien Le Moal wrote: > > This is exactly the sort of difference one might expect to see from > > the commit f664a3cc17b7 ("scsi: kill off the legacy IO path") you > > identified as the cause of the problem. With multiqueue I/O, it's not > > surprising to see multiple sequen

Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-09-19 Thread Damien Le Moal
On 2019/09/19 16:01, Alan Stern wrote: > On Thu, 19 Sep 2019, Damien Le Moal wrote: > >>> This is exactly the sort of difference one might expect to see from >>> the commit f664a3cc17b7 ("scsi: kill off the legacy IO path") you >>> identified as the cause of the problem. With multiqueue I/O, it's

RE: [EXT] [PATCH v1] scsi: ufs: skip shutdown if hba is not powered

2019-09-19 Thread Bean Huo (beanhuo)
>To solve this issue, simply add checking to skip shutdown for above kind of >situation. > >Signed-off-by: Stanley Chu Acked-by: Bean Huo

Fwd: ASMEDIA ASM1351 Bridge - ATAPI support

2019-09-19 Thread Bernhard
https://bugzilla.kernel.org/show_bug.cgi?id=204905 kernel 5.2.14 , 4.19.73 ASMEDIA Bridge - ATAPI support Dear kernel developers, I have bought a SATA to USB3 Adapter by Delock, which supports optical drives (ATAPI support) , ASMEDIA Bridge. Chipset: Asmedia ASM1351 But it is not working wi

Re: Slow I/O on USB media after commit f664a3cc17b7d0a2bc3b3ab96181e1029b0ec0e6

2019-09-19 Thread Alan Stern
On Thu, 19 Sep 2019, Andrea Vai wrote: > BTW, another question: Alan refers to the slow media as a "consumer- > grade USB storage device". What could I do to identify and buy a "good > media"? Are there any features to look for? In general, USB flash drives should not be expected to work as well