On Mon, Jul 02, 2007 at 09:15:03AM +0200, Oliver Neukum wrote:
> Am Montag, 2. Juli 2007 schrieb Alan Stern:
> > If you look at usbmon logs of real usb-storage data transfers you'll
> > see that multi-page sg elements occur quite frequently.  (Of course,
> > that doesn't prevent us from transferring only one page per URB.)
> 
> OK, but the storage driver allocates the URBs on the fly. If we change
> that to preallocation we need to have enough URBs for the worst case.

Of course, in the storage case we control the worst-case.  By adjusting the
parameter which controls how long a sg list the SCSI core will send us, we
can effectively limit the worst-case number of URBs needed.

Matt

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

I want my GPFs!!!
                                        -- Stef
User Friendly, 11/9/1998

Attachment: pgphApX1ILhNk.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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