Re: [U-Boot] [U-Boot-Users] [PATCH] Optimize ext2fs read functions

Dear Ryan,
In message 00b001c901aa$56c5c700$30065e0a@SHZ.ST.COM you wrote:
I'm sorry that I can't send patch mail by git-send-mail because I'm in ST internal network. I just post the whole output by git-format-patch tool.
That's OK.
If it's buggy, please let me know.
Not really buggy, but:
From 0a08bfe1f0fc864a9920501a825e6698d082f231 Mon Sep 17 00:00:00 2001
From: Ryan Chen ryan.chen@st.com Date: Tue, 19 Aug 2008 07:11:23 -0400 Subject: [PATCH] Optimize ext2fs read functions
Your Signed-off-by: line is missing here.
And there were a few white space errors in your code:
.dotest/patch:94: trailing whitespace. while(((inode->b.blocks.dir_blocks[fileblock + 1] - .dotest/patch:174: trailing whitespace. blknr = blknr << log2blocksize; .dotest/patch:175: trailing whitespace.
.dotest/patch:181: trailing whitespace.
.dotest/patch:186: trailing whitespace.
warning: squelched 2 whitespace errors warning: 7 lines applied after fixing whitespace errors.
I can confirm that the code indeed improves read performance; in my tests (reading a file of 1580 KiB from a PCMCIA attached harddisk ona MPC855P at 66 MHz) I measured an improvement of about 2.8, i. . the read time for this fil went down from 7.2 to 2.6 seconds.
Please clean up and resubmit. Thanks in advance.
Best regards,
Wolfgang Denk
participants (1)
-
Wolfgang Denk