d5aee659f2
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> |
||
---|---|---|
.. | ||
crc16.c | ||
crc16.h | ||
dev.c | ||
ext4_common.c | ||
ext4_common.h | ||
ext4_journal.c | ||
ext4_journal.h | ||
ext4_write.c | ||
ext4fs.c | ||
Kconfig | ||
Makefile |