From: Tom Rini Date: Mon, 14 May 2018 11:22:55 -0400 Subject: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache In-Reply-To: <622ce4c9-a0cb-82de-00e8-e456d904141f@gmail.com> References: <20180326230524.27388-1-evan.thompson@flukenetworks.com> <20180510220254.GC12235@bill-the-cat.ec.rr.com> <20180511171842.GB12235@bill-the-cat.ec.rr.com> <622ce4c9-a0cb-82de-00e8-e456d904141f@gmail.com> Message-ID: <20180514152255.GV12235@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 recall looking for ext4 fs speed up , but then > >> ultimately used CONFIG_BLOCK_CACHE which did it for me. > > > > I was unaware of the existence of CONFIG_BLOCK_CACHE - yes, that will > > solve the same problem by caching at the block level instead of the > > filesystem level. So my patch is redundant, and ext4 users should just > > be advised to turn on CONFIG_BLOCK_CACHE. > > Maybe this block cache should be default=y (if BLK is enabled?) or we > should advertise it more somehow. I ran into the exact same issue and > started looking into the ext4 patches myself only to find the block > cache later on. Agreed. I'm right now testing a patch or two to do that and see what the size cost is. Thanks all! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: