From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sun, 29 Jul 2012 03:38:55 +0200 Subject: [U-Boot] usb_stor_BBB_transport 5 ms delay - performance In-Reply-To: <943730195.759658.1343525508215.JavaMail.root@advansee.com> References: <943730195.759658.1343525508215.JavaMail.root@advansee.com> Message-ID: <201207290338.55329.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Beno?t Th?baudeau, > Dear Marek, > > On Fri, Jul 27, 2012 at 07:44:04 PM, Marek Vasut wrote: > > > I did see a flags field but thought having a new one was > > > conservative (I > > > had no real reason to have a new field). As for the typecasts I > > > was > > > following the API which tests for device ready (Monkey See Monkey > > > Do). > > > > Ouch, the API seems so broken then :-( > > There is already a local ss variable defined for that purpose anyway, so > duplicating this typecast can be avoided. > > > > Also I have no compelling reason to need a "setter function" > > > either. I > > > have no compelling feelings towards the implementation other than > > > the 5ms > > > adds an unnecessary delay when the device is already known to be > > > ready, and > > > this delay accumulates to a very poor performance for large files. > > > > Correct! > > > > > Thanks for working on this! > > > > No, thank you! > > I'll try to do that on Monday. That will make many changes to the patch, so > I'll add my SoB after Jim's, saying what I did. Thanks, will look forward to it. > Best regards, > Beno?t Best regards, Marek Vasut