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
..
2008-11-06 10:25:09 -08:00
2009-06-11 21:02:17 +02:00
2008-11-06 10:25:09 -08:00
2009-01-07 11:56:29 -08:00
2009-06-11 21:02:14 +02:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-01-14 19:56:50 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-11-26 09:16:19 +01:00
2009-05-11 21:48:23 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-04-02 23:41:50 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-04-02 23:41:29 -07:00
2009-03-02 16:49:37 -05:00
2008-11-06 10:25:09 -08:00
2009-06-22 02:37:26 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-04-02 23:41:50 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-06-22 02:36:59 -07:00
2009-01-14 19:56:50 -08:00
2008-11-06 10:25:09 -08:00
2009-06-16 19:47:51 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-09-22 07:17:41 -07:00
2009-04-02 23:41:50 -07:00
2009-04-02 23:41:50 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-04-02 23:41:50 -07:00
2009-04-02 23:41:50 -07:00
2009-06-11 21:02:17 +02:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-04-02 23:41:50 -07:00
2009-04-02 23:45:07 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-04-02 23:41:50 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-08-05 13:02:57 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-02-01 11:01:30 +05:30
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2009-07-10 14:24:05 -07:00
2009-05-11 22:00:11 -07:00
2009-07-27 12:10:38 -07:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-11 06:14:10 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00
2008-11-06 10:25:09 -08:00