aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@chromium.org>2015-04-22 09:30:53 -0300
committerRichard Weinberger <richard@nod.at>2015-05-06 22:52:22 +0200
commit98fb1ffd8154890d7051750e61ff5548c3ee2ab2 (patch)
treef6e9baa451e99ed768ded0847d9005605ea2a4c9 /fs
parentLinux 4.1-rc2 (diff)
downloadlinux-dev-98fb1ffd8154890d7051750e61ff5548c3ee2ab2.tar.xz
linux-dev-98fb1ffd8154890d7051750e61ff5548c3ee2ab2.zip
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 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@chromium.org> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions