aoe: prevent cache aliases
authorPeter Horton <phorton@bitbox.co.uk>
Tue, 1 Dec 2009 21:17:46 +0000 (13:17 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Dec 2009 00:32:20 +0000 (16:32 -0800)
commit0a1f127a0594d62cb23c26732686d0e2b097b264
tree117efe6cf0cd6c090d5832dc9dfb117c77a3fa8b
parentca0297015d4f117005718e01aa368875abcccbc5
aoe: prevent cache aliases

Prevent the AoE block driver from creating cache aliases of page cache
pages on machines with virtually indexed caches.

Building kernels on an AT91SAM9G20 board without this patch fails with
segmentation faults after a couple of passes.

Signed-off-by: Peter Horton <zero@colonel-panic.org>
Cc: "Ed L. Cashin" <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/aoe/aoecmd.c