All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [RFC][PATCH] block: Enable block cache by default
@ 2018-05-18  9:22 Marek Vasut
  2018-05-19 14:36 ` Simon Glass
  0 siblings, 1 reply; 9+ messages in thread
From: Marek Vasut @ 2018-05-18  9:22 UTC (permalink / raw)
  To: u-boot

The recent ext4 cache discussion would indicate that the block cache
is a desired feature, yet hidden and not enabled most of the time.
Enable the block cache by default since it provides significant block
device access performance improvement and if there are some users who
cannot enable it ie. due to size limitations, those should disable it
explicitly in their board config.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Tom Rini <trini@konsulko.com>
---
 drivers/block/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index 15fd1bcb2b..832d626bd4 100644
--- a/drivers/block/Kconfig
+++ b/drivers/block/Kconfig
@@ -29,7 +29,7 @@ config SPL_BLK
 
 config BLOCK_CACHE
 	bool "Use block device cache"
-	default n
+	default y
 	help
 	  This option enables a disk-block cache for all block devices.
 	  This is most useful when accessing filesystems under U-Boot since
-- 
2.16.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-05-21  2:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-18  9:22 [U-Boot] [RFC][PATCH] block: Enable block cache by default Marek Vasut
2018-05-19 14:36 ` Simon Glass
2018-05-19 18:20   ` Marek Vasut
2018-05-19 20:50     ` Tom Rini
2018-05-19 21:39       ` Marek Vasut
2018-05-19 22:29         ` Tom Rini
2018-05-19 23:39           ` Marek Vasut
2018-05-21  1:48             ` Tom Rini
2018-05-21  2:17               ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.