Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent cache for read operations

2014-01-24 Thread Ionut Nicu
Hi, On 21.01.2014 10:58, Ionut Nicu wrote: > > +static int __ext4fs_build_extent_cache(struct ext2_data *data, > + struct ext4_extent_header *ext_block) > { > + int blksz = EXT2_BLOCK_SIZE(data); > + int log2_blksz = LOG2_BLOCK_SIZE(data) > + - get_fs()->dev_desc-

[U-Boot] [PATCH] ext4fs: Add ext4 extent cache for read operations

2014-01-21 Thread Ionut Nicu
In an ext4 filesystem, the inode corresponding to a file has a 60-byte area which contains an extent header structure and up to 4 extent structures (5 x 12 bytes). For files that need more than 4 extents to be represented (either files larger than 4 x 128MB = 512MB or smaller files but very fragm