From: Marek Vasut Date: Sun, 13 May 2018 21:03:06 +0200 Subject: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache In-Reply-To: References: <20180326230524.27388-1-evan.thompson@flukenetworks.com> <20180510220254.GC12235@bill-the-cat.ec.rr.com> <20180511171842.GB12235@bill-the-cat.ec.rr.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 05/11/2018 07:53 PM, Evan Thompson wrote: > On Fri, May 11, 2018 at 10:18 AM, Tom Rini wrote: >> On Fri, May 11, 2018 at 10:14:38AM -0700, Evan Thompson wrote: >>> On Thu, May 10, 2018 at 3:02 PM, Tom Rini wrote: >>>> On Mon, Mar 26, 2018 at 04:05:24PM -0700, evan.g.thompson at gmail.com wrote: >>>> >>>>> + >>>>> +#ifndef CONFIG_EXT4_EXTENT_CACHE_SIZE >>>>> +#define CONFIG_EXT4_EXTENT_CACHE_SIZE 5 >>>>> +#endif >>>> >>>> This needs to be done in Kconfig. >>> >>> Ok, I'll fix that. >>> >>>> Also, is there any sort of testing we could add to >>>> test/fs/fs-test.sh for this code? Thanks! >>> >>> I can't think of a straightforward way, as this patch just provides a >>> speedup for certain cases. The functionality of reading / writing >>> files is unchanged. >> >> OK. And the test suite passes as well as before, yes? > > Yes, I'm seeing the same passes and fails as before. btw doesn't CONFIG_BLOCK_CACHE offer similar service, but for everyone and on block level ? I recall looking for ext4 fs speed up , but then ultimately used CONFIG_BLOCK_CACHE which did it for me. -- Best regards, Marek Vasut