From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 15 Jan 2019 21:39:06 -0500 Subject: [U-Boot] [U-Boot,RFC] blk: Increase cache element size In-Reply-To: <20180808112029.3866-1-marex@denx.de> References: <20180808112029.3866-1-marex@denx.de> Message-ID: <20190116023906.GM27429@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 Wed, Aug 08, 2018 at 01:20:29PM +0200, Marek Vasut wrote: > Cache up to 4 kiB entries. 4 kiB is the default block size on ext4, yet > the underlying block layer devices usually report support for 512B . In > most cases, the 512B support is emulated (ie. SD cards, SSDs, USB sticks > etc.) and the real block size of those devices is much bigger. > > To avoid performance degradation with such devices and FS setup, bump > the maximum cache entry size to 4 kiB. > > Signed-off-by: Marek Vasut > Cc: Tom Rini > Cc: Simon Glass > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: