what is the best way to do bulk read and write if I
need to transfer more than 4k bytes?

There's no limit as far as USB is concerned.
But there's no way to allocate more than 128KB in one chunk.
Depends what you mean by "chunk"; scatterlists easily
handle more than 128K per "chunk" handed between layers.

That happens through the new usb_sg_submit() call,
which takes scatterlists and turns them to I/O.  And
yes, usb-storage makes good use of those, it's easy to
see requests of bigger than 128K (in 4K or 8K framents)
by looking at the "async" schedule (sysfs file).

- Dave








-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to