[U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

Marek Vasut marek.vasut at gmail.com
Sun May 13 19:03:06 UTC 2018


On 05/11/2018 07:53 PM, Evan Thompson wrote:
> On Fri, May 11, 2018 at 10:18 AM, Tom Rini <trini at konsulko.com> 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 <trini at konsulko.com> 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


More information about the U-Boot mailing list