[U-Boot] [PATCH] fs: ext4: cache extent data

Tom Rini trini at konsulko.com
Thu Feb 21 23:38:49 UTC 2019


On Wed, Feb 20, 2019 at 02:37:39PM -0700, Stephen Warren wrote:
> On 1/30/19 12:58 PM, Stephen Warren wrote:
> >From: Stephen Warren <swarren at nvidia.com>
> >
> >When a file contains extents, U-Boot currently reads extent-related data
> >for each block in the file, even if that data is located in the same
> >block each time. This significantly slows down loading of files that use
> >extents. Implement a very dumb cache to prevent repeatedly reading the
> >same block. Files with extents now load as fast as files without.
> >
> >Note: There are many cases where read_allocated_block() is called. This
> >patch only addresses one of those places; all others still read redundant
> >data in any case they did before. This is a minimal patch to fix the
> >load command; other cases aren't fixed.
> 
> Any thoughts here? Thanks.

Seems better than today, was planning to grab this and the symlink stuff
for the next release.  Thanks!

-- 
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/20190221/b97f166e/attachment.sig>


More information about the U-Boot mailing list