From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 21 Feb 2019 18:38:49 -0500 Subject: [U-Boot] [PATCH] fs: ext4: cache extent data In-Reply-To: <8c2194bd-116d-b0bc-33f2-bbc98615260a@wwwdotorg.org> References: <20190130195805.9647-1-swarren@wwwdotorg.org> <8c2194bd-116d-b0bc-33f2-bbc98615260a@wwwdotorg.org> Message-ID: <20190221233849.GK12379@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > > >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: