The patch titled D-cache aliasing issue in __block_prepare_write has been added to the -mm tree. Its filename is d-cache-aliasing-issue-in-__block_prepare_write.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: D-cache aliasing issue in __block_prepare_write From: Monakhov Dmitriy <dmonakhov@xxxxxxxxxx> A coupld of flush_dcache_page()s are missing on the I/O-error paths. Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/buffer.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN fs/buffer.c~d-cache-aliasing-issue-in-__block_prepare_write fs/buffer.c --- a/fs/buffer.c~d-cache-aliasing-issue-in-__block_prepare_write +++ a/fs/buffer.c @@ -1834,6 +1834,7 @@ static int __block_prepare_write(struct clear_buffer_new(bh); kaddr = kmap_atomic(page, KM_USER0); memset(kaddr+block_start, 0, bh->b_size); + flush_dcache_page(page); kunmap_atomic(kaddr, KM_USER0); set_buffer_uptodate(bh); mark_buffer_dirty(bh); @@ -2340,6 +2341,7 @@ failed: */ kaddr = kmap_atomic(page, KM_USER0); memset(kaddr, 0, PAGE_CACHE_SIZE); + flush_dcache_page(page); kunmap_atomic(kaddr, KM_USER0); SetPageUptodate(page); set_page_dirty(page); _ Patches currently in -mm which might be from dmonakhov@xxxxxxxxxx are d-cache-aliasing-issue-in-__block_prepare_write.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html