Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-05-14 Thread Tom Rini
On Mon, May 14, 2018 at 05:21:38PM +0200, Marek Vasut wrote: > On 05/14/2018 05:14 PM, Evan Thompson wrote: > > On Sun, May 13, 2018 at 12:03 PM, Marek Vasut wrote: > >> > >> btw doesn't CONFIG_BLOCK_CACHE offer similar service, but for everyone > >> and on block level ? I

Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-05-14 Thread Marek Vasut
On 05/14/2018 05:14 PM, Evan Thompson wrote: > On Sun, May 13, 2018 at 12:03 PM, Marek Vasut wrote: >> >> btw doesn't CONFIG_BLOCK_CACHE offer similar service, but for everyone >> and on block level ? I recall looking for ext4 fs speed up , but then >> ultimately used

Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-05-14 Thread Evan Thompson
On Sun, May 13, 2018 at 12:03 PM, Marek Vasut wrote: > > btw doesn't CONFIG_BLOCK_CACHE offer similar service, but for everyone > and on block level ? I recall looking for ext4 fs speed up , but then > ultimately used CONFIG_BLOCK_CACHE which did it for me. I was unaware

Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-05-13 Thread Marek Vasut
On 05/11/2018 07:53 PM, Evan Thompson wrote: > On Fri, May 11, 2018 at 10:18 AM, Tom Rini wrote: >> On Fri, May 11, 2018 at 10:14:38AM -0700, Evan Thompson wrote: >>> On Thu, May 10, 2018 at 3:02 PM, Tom Rini wrote: On Mon, Mar 26, 2018 at 04:05:24PM

Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-05-11 Thread Evan Thompson
On Fri, May 11, 2018 at 10:18 AM, Tom Rini wrote: > On Fri, May 11, 2018 at 10:14:38AM -0700, Evan Thompson wrote: >> On Thu, May 10, 2018 at 3:02 PM, Tom Rini wrote: >> > On Mon, Mar 26, 2018 at 04:05:24PM -0700, evan.g.thomp...@gmail.com wrote: >> > >>

Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-05-11 Thread Tom Rini
On Fri, May 11, 2018 at 10:14:38AM -0700, Evan Thompson wrote: > On Thu, May 10, 2018 at 3:02 PM, Tom Rini wrote: > > On Mon, Mar 26, 2018 at 04:05:24PM -0700, evan.g.thomp...@gmail.com wrote: > > > >> + > >> +#ifndef CONFIG_EXT4_EXTENT_CACHE_SIZE > >> +#define

Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-05-11 Thread Evan Thompson
On Thu, May 10, 2018 at 3:02 PM, Tom Rini wrote: > On Mon, Mar 26, 2018 at 04:05:24PM -0700, evan.g.thomp...@gmail.com wrote: > >> + >> +#ifndef CONFIG_EXT4_EXTENT_CACHE_SIZE >> +#define CONFIG_EXT4_EXTENT_CACHE_SIZE 5 >> +#endif > > This needs to be done in Kconfig. Ok, I'll

Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-05-10 Thread Tom Rini
On Mon, Mar 26, 2018 at 04:05:24PM -0700, evan.g.thomp...@gmail.com wrote: > From: Evan Thompson > > In ext4, the file inode can store up to 4 extents. If a file requires > more (due to size or fragmentation), an extent index tree is used. > > Currently, u-boot

[U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-03-27 Thread evan . g . thompson
From: Evan Thompson In ext4, the file inode can store up to 4 extents. If a file requires more (due to size or fragmentation), an extent index tree is used. Currently, u-boot reads a node from each level of the extent tree for every block read, which is very