linux/drivers/mtd/ubi
Kevin Cernekee 98fb1ffd81 UBI: block: Add missing cache flushes
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 2d4dc890b5
("block: add helpers to run flush_dcache_page() against a bio and a
request's pages").

Fixes: 9d54c8a33e ("UBI: R/O block driver on top of UBI volumes")
Signed-off-by: Kevin Cernekee <cernekee@chromium.org>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2015-05-06 22:52:22 +02:00
..
Kconfig
Makefile
attach.c
block.c
build.c
cdev.c
debug.c
debug.h
eba.c
fastmap-wl.c
fastmap.c
gluebi.c
io.c
kapi.c
misc.c
ubi-media.h
ubi.h
upd.c
vmt.c
vtbl.c
wl.c
wl.h