[PATCH] UBI: block: Add missing cache flushes

Richard Weinberger richard at nod.at
Wed May 6 13:57:47 PDT 2015


Am 22.04.2015 um 14:30 schrieb Ezequiel Garcia:
> From: Kevin Cernekee <cernekee at chromium.org>
> 
> Block drivers are responsible for calling flush_dcache_page() on each
> BIO request. This operation keeps the I$ coherent with the D$ on
> architectures that don't have hardware coherency support. Without this
> flush, random crashes are seen when executing user programs from an ext4
> filesystem backed by a ubiblock device.
> 
> This patch is based on the change implemented in commit 2d4dc890b5c8
> ("block: add helpers to run flush_dcache_page() against a bio and a
> request's pages").
> 
> Fixes: 9d54c8a33eec ("UBI: R/O block driver on top of UBI volumes")
> Signed-off-by: Kevin Cernekee <cernekee at chromium.org>
> Signed-off-by: Ezequiel Garcia <ezequiel.garcia at imgtec.com>

Applied to linux-ubifs.git/master.

Thanks a lot Kevin and Ezequiel!
//richard



More information about the linux-mtd mailing list