|author||Matthew Wilcox <firstname.lastname@example.org>||2015-02-16 15:59:44 -0800|
|committer||Linus Torvalds <email@example.com>||2015-02-16 17:56:04 -0800|
dax: does not work correctly with virtual aliasing caches
The DAX code accesses the underlying storage through the kernel's linear mapping, which may not be cache-coherent with user mappings on ARM, MIPS or SPARC. Temporarily disable the DAX code until this problem is resolved. The original XIP code also had this problem, but it was never noticed. Signed-off-by: Matthew Wilcox <firstname.lastname@example.org> Cc: Andreas Dilger <email@example.com> Cc: Boaz Harrosh <firstname.lastname@example.org> Cc: Christoph Hellwig <email@example.com> Cc: Dave Chinner <firstname.lastname@example.org> Cc: Jan Kara <email@example.com> Cc: Jens Axboe <firstname.lastname@example.org> Cc: Kirill A. Shutemov <email@example.com> Cc: Mathieu Desnoyers <firstname.lastname@example.org> Cc: Randy Dunlap <email@example.com> Cc: Ross Zwisler <firstname.lastname@example.org> Cc: Theodore Ts'o <email@example.com> Cc: Ralf Baechle <firstname.lastname@example.org> Cc: Russell King <email@example.com> Signed-off-by: Andrew Morton <firstname.lastname@example.org> Signed-off-by: Linus Torvalds <email@example.com>
Diffstat (limited to 'Documentation')
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/filesystems/dax.txt b/Documentation/filesystems/dax.txt
index be376d91d058..baf41118660d 100644
@@ -82,6 +82,9 @@ Shortcomings
Even if the kernel or its modules are stored on a filesystem that supports
DAX on a block device that supports DAX, they will still be copied into RAM.
+The DAX code does not work correctly on architectures which have virtually
+mapped caches such as ARM, MIPS and SPARC.
Calling get_user_pages() on a range of user memory that has been mmaped
from a DAX file will fail as there are no 'struct page' to describe
those pages. This problem is being worked on. That means that O_DIRECT