From: Marek Vasut Date: Mon, 14 May 2018 17:21:38 +0200 Subject: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache In-Reply-To: References: <20180326230524.27388-1-evan.thompson@flukenetworks.com> <20180510220254.GC12235@bill-the-cat.ec.rr.com> <20180511171842.GB12235@bill-the-cat.ec.rr.com> Message-ID: <622ce4c9-a0cb-82de-00e8-e456d904141f@gmail.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 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. -- Best regards, Marek Vasut