From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 10 Dec 2018 07:28:11 -0500 Subject: [U-Boot] [PATCH] drivers: block: Allow to cache 4K blocks by default In-Reply-To: <57c1b461-4663-2cf3-1415-af63bf2ed599@denx.de> References: <76d83c2b-fd2c-35c1-cfd9-883037167716@siemens.com> <57c1b461-4663-2cf3-1415-af63bf2ed599@denx.de> Message-ID: <20181210122811.GI8702@bill-the-cat> 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, Dec 10, 2018 at 05:13:58AM +0100, Marek Vasut wrote: > On 12/09/2018 09:55 AM, Jan Kiszka wrote: > > The default settings of the block cache so far only allow to hold single > > 1K blocks. However, larger filesystems tend to use 4K. Failing to cache > > those massively degrades access performance unless you manually tune the > > cache first. This is not desirable. > > > > Signed-off-by: Jan Kiszka > > I submitted the same patch before [1], oddly enough it was not picked by > Tom. > > [1] > http://u-boot.10912.n7.nabble.com/PATCH-RFC-blk-Increase-cache-element-size-td337975.html Based on a quick re-read, I had filed that patch as "Marek says he'll look into a more complex but general scheme". If that's not the case then yes, we can just do that. Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: