U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] fs: ext4: cache extent data
Date: Wed, 10 Apr 2019 08:19:12 -0400	[thread overview]
Message-ID: <20190410121912.GD4664@bill-the-cat> (raw)
In-Reply-To: <20190130195805.9647-1-swarren@wwwdotorg.org>

On Wed, Jan 30, 2019 at 12:58:05PM -0700, Stephen Warren wrote:

> From: Stephen Warren <swarren@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.
> 
> Signed-off-by: Stephen Warren <swarren@nvidia.com>

Applied to u-boot/master, 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/20190410/5f873a09/attachment.sig>

      parent reply	other threads:[~2019-04-10 12:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-30 19:58 [U-Boot] [PATCH] fs: ext4: cache extent data Stephen Warren
2019-02-20 21:37 ` Stephen Warren
2019-02-21 23:38   ` Tom Rini
2019-04-10 12:19 ` Tom Rini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190410121912.GD4664@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox