Ilya Loginov
2d4dc890b5
block: add helpers to run flush_dcache_page() against a bio and a request's pages
...
Mtdblock driver doesn't call flush_dcache_page for pages in request. So,
this causes problems on architectures where the icache doesn't fill from
the dcache or with dcache aliases. The patch fixes this.
The ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE symbol was introduced to avoid
pointless empty cache-thrashing loops on architectures for which
flush_dcache_page() is a no-op. Every architecture was provided with this
flush pages on architectires where ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE is
equal 1 or do nothing otherwise.
See "fix mtd_blkdevs problem with caches on some architectures" discussion
on LKML for more information.
Signed-off-by: Ilya Loginov <isloginov@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Peter Horton <phorton@bitbox.co.uk>
Cc: "Ed L. Cashin" <ecashin@coraid.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-11-26 09:16:19 +01:00
..
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:48:08 -04:00
2009-11-26 09:16:19 +01:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-09-16 22:10:52 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:40:58 -04:00
2009-06-22 21:15:53 -04:00
2009-09-16 21:28:30 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:48:01 -04:00
2009-06-22 21:15:53 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2009-06-22 21:16:12 -04:00
2009-06-22 21:16:07 -04:00
2009-06-18 21:41:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:40:58 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2009-06-18 21:41:13 -04:00
2009-10-08 00:58:15 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:40:58 -04:00
2009-06-18 21:41:13 -04:00
2009-06-18 21:41:13 -04:00
2009-06-18 21:40:58 -04:00
2009-06-18 21:40:58 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:08 -04:00
2009-06-18 21:41:08 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:17 -04:00
2009-06-18 21:41:17 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:42:30 -04:00
2009-06-18 21:41:13 -04:00
2009-10-07 04:36:26 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:42:24 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:42:30 -04:00
2009-06-18 21:41:22 -04:00
2009-10-07 04:36:26 -04:00
2009-06-18 21:41:03 -04:00