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

Tom Rini trini at konsulko.com
Mon May 14 15:22:55 UTC 2018


On Mon, May 14, 2018 at 05:21:38PM +0200, Marek Vasut wrote:

> On 05/14/2018 05:14 PM, Evan Thompson wrote:
> > On Sun, May 13, 2018 at 12:03 PM, Marek Vasut <marek.vasut at gmail.com> wrote:
> >>
> >> 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.
> > 
> > I was unaware of the existence of CONFIG_BLOCK_CACHE - yes, that will
> > solve the same problem by caching at the block level instead of the
> > filesystem level. So my patch is redundant, and ext4 users should just
> > be advised to turn on CONFIG_BLOCK_CACHE.
> 
> Maybe this block cache should be default=y (if BLK is enabled?) or we
> should advertise it more somehow. I ran into the exact same issue and
> started looking into the ext4 patches myself only to find the block
> cache later on.

Agreed.  I'm right now testing a patch or two to do that and see what
the size cost is.  Thanks all!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180514/7feb2a05/attachment.sig>


More information about the U-Boot mailing list