On Thu, Jul 08, 2004 at 11:16:25AM -0400, Alan Stern wrote:
> On Thu, 8 Jul 2004, Alexandre Aractingi wrote:
> 
> > ... and this indeed made my Genesys-based USB-to-IDE converter work with
> > 2.6.7, both for write and read commands. I transferred over 14G of data
> > with no problem. Only after some operations the drive became
> > write-protected, I had to unmount / remount it, but otherwise everything
> > was fine.
> > 
> > I experienced upload rates from 6 to 20 MBps (but the FAT partition on
> > the drive might cause problems too, it's an old, messy one).
> > 
> > Somehow I lost my network when using this config, but I seem to recall a
> > thread about that too, I'll dig into that later.
> > 
> > Thanks to everyone who made it possible! Of course I'm available to test
> > any change/enhancement that you guys would want to add...
> 
> This is great!
> 
> As a test, see what happens when you don't use the first part of the 
> patch.  That is, keep max_sectors set to 128 instead of reducing it to 64.  
> If that doesn't work and the drive locks up, try setting max_sectors to 
> 120.  Generally speaking, larger values mean higher throughput -- up to 
> the point where the drive stops working!  We already know that Genesys 
> devices can't handle max_sectors larger than 128.

I'm seriously tempted not to mess with this.  We have the 'official answer'
from the vendor -- lord knows if there is some sort of race condition which
is less common (but could occur) between 64 and 120.

Let's just take the 'official' number and be done with it.  Maybe include a
comment that says "it might work with a larger number -- go tune it at
runtime via sysfs if you want".

Matt

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

IT KEEPS ASKING ME WHERE I WANT TO GO TODAY! I DONT WANT TO GO ANYWHERE!
                                        -- Greg
User Friendly, 11/28/97

Attachment: pgpc2W6xM1pSk.pgp
Description: PGP signature

Reply via email to