]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libata: don't flush dcache on slab pages
authorSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Sun, 21 Mar 2010 21:52:23 +0000 (22:52 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:21:56 +0000 (11:21 -0700)
commit968ada73731c432d54d0d273bc2a82aceb06deea
tree350aa8399fd3514d404168a9c2f471edb7d95ac1
parentf7039e09cba9c057a3097eb421616ce8906c0ce1
libata: don't flush dcache on slab pages

commit 3842e835490cdf17013b30a788f6311bdcfd0571 upstream.

page_mapping() check this via VM_BUG_ON(PageSlab(page)) so we bug here
with the according debuging turned on.

Future TODO: replace this with a flush_dcache_page_for_pio() API

Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/libata-sff.c