]> Pileus Git - ~andy/linux/commit
rbd: flush dcache after zeroing page data
authorAlex Elder <elder@inktank.com>
Thu, 23 May 2013 01:54:25 +0000 (20:54 -0500)
committerSage Weil <sage@inktank.com>
Wed, 3 Jul 2013 22:32:37 +0000 (15:32 -0700)
commite215605417b87732c6debf65da6d953016a1e5bc
tree7dac549a47e7263d68d7351d38cebb7b3a861e35
parent96e4dac66f69d28af2b736e723364efbbdf9fdee
rbd: flush dcache after zeroing page data

Neither zero_bio_chain() nor zero_pages() contains a call to flush
caches after zeroing a portion of a page.  This can cause problems
on architectures that have caches that allow virtual address
aliasing.

This resolves:
    http://tracker.ceph.com/issues/4777

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c