Re: ehci memory allocation question

Matthew Dharm <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization One Eyed Alien Networks
Message-ID <[email protected]>
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

-------------------------------------------------------------------------
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/

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGcreLHL9iwnUZqnkRAiwCAJ0SmJh2K8JOS6GZ40ZVCyHZevh44ACfaBkE
49j09Nsw0/wNbEoJTWADQXc=
=g7CW
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.