It is much more complicated than that. Requests for block data coming from two different applications all go through the same filesystem and block-caching code. That code is what generates actual read/write requests to the device, and merging is done at that level to optimize operations.
Once optimized, commands are processed one-at-a-time, which is the only way they can be processed. Any given read/write command may be processing data from one or both applications. Any given command will attempt to queue up as many URBs as is required to transfer all the data as fast as possible. Matt On Wed, Jul 02, 2003 at 09:38:35AM +0800, AlexHuang wrote: > > Dear All, > While two applications will access the same usb storage device (ex. USB > flash rom), the usb storage driver will service two requests at the same > time , or it will service one first then the other one. In the OHCI driver, > will the usb storage driver link the TD's of the each requests to the same > ED at the same time or driver will server one first ?? > > Thx > Alex > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-users -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver How would you like this tie wrapped around your hairy round head? -- Greg User Friendly, 9/2/1998
pgp00000.pgp
Description: PGP signature
