On Sat, May 21, 2005 at 11:42:59AM -0700, Pete Zaitcev wrote:
> On Sat, 21 May 2005 06:13:13 -0400, Glenn Maynard <[EMAIL PROTECTED]> wrote:
> 
> > If I format the filesystem with a 4k block size, it reads at the higher
> > speed, but Windows will only format the device (a 128mb pen drive) with a
> > 512 byte block size, and the hardware is out of my control.  Are there
> > any known workarounds?
> 
> Not at this time, sorry. I started to work on this problem. It needs
> a surgery in drivers/usb/core/message.c. But it was just not fun, so
> I did not finish it. I'll see what I can do to about it.

By the way, I've found a temporary workaround, in case anyone needs it:
mount the filesystem through a loop device (-o loop), and BLKBSZSET the
underlying uba partition to 4k; this brings speed back up to 400k/sec.

(Unfortunately, -o loop is incompatible with umount -l, which I'm
depending on, so it's time for some hackery ...)

-- 
Glenn Maynard


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to