On Fri, Jun 15, 2007 at 04:08:57PM +0200, Oliver Neukum wrote:
> Am Freitag, 15. Juni 2007 schrieb Alan Stern:
> > But you're much better off avoiding partially executed requests if you 
> > can avoid it.  It would be preferable to transmit the data one packet 
> > at a time: slower but more likely to succeed.
> 
> Why is that better? The problem is unlikely to be unique to USB
> and should therefore be handled in common code if possible.

Actually, it seems that the opposite is true.  The SCSI layer seems to make
some implicit assumptions that HCDs generally pre-allocate their overhead
memory.

I'm pretty sure the sbp2 folks (SCSI over IEEE1394) had to go through a
similar exercise to what we're doing now in order to make it robust.

Matt

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

It was a new hope.
                                        -- Dust Puppy
User Friendly, 12/25/1998

Attachment: pgpO2YJLt1Rxu.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