summaryrefslogtreecommitdiff
path: root/drivers/mmc/sti_sdhci.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2018-08-08 13:20:29 +0200
committerTom Rini <trini@konsulko.com>2019-01-15 15:28:53 -0500
commit2e89bbefdc9c1d2ec03e2a5320a56fb1129da916 (patch)
tree8b6aa84c8825d20e7edeeb97e10b34682989fb39 /drivers/mmc/sti_sdhci.c
parent45297e2ab2172470b0b04e1ae728a31ab7321601 (diff)
blk: Increase cache element size
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 <marex@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mmc/sti_sdhci.c')
0 files changed, 0 insertions, 0 deletions