diff options
-rw-r--r-- | Documentation/filesystems/dax.txt | 3 | ||||
-rw-r--r-- | fs/Kconfig | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/filesystems/dax.txt b/Documentation/filesystems/dax.txt index be376d91d058..baf41118660d 100644 --- a/Documentation/filesystems/dax.txt +++ b/Documentation/filesystems/dax.txt | |||
@@ -82,6 +82,9 @@ Shortcomings | |||
82 | Even if the kernel or its modules are stored on a filesystem that supports | 82 | Even if the kernel or its modules are stored on a filesystem that supports |
83 | DAX on a block device that supports DAX, they will still be copied into RAM. | 83 | DAX on a block device that supports DAX, they will still be copied into RAM. |
84 | 84 | ||
85 | The DAX code does not work correctly on architectures which have virtually | ||
86 | mapped caches such as ARM, MIPS and SPARC. | ||
87 | |||
85 | Calling get_user_pages() on a range of user memory that has been mmaped | 88 | Calling get_user_pages() on a range of user memory that has been mmaped |
86 | from a DAX file will fail as there are no 'struct page' to describe | 89 | from a DAX file will fail as there are no 'struct page' to describe |
87 | those pages. This problem is being worked on. That means that O_DIRECT | 90 | those pages. This problem is being worked on. That means that O_DIRECT |
diff --git a/fs/Kconfig b/fs/Kconfig index 5331497d5b25..ec35851e5b71 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -36,6 +36,7 @@ source "fs/nilfs2/Kconfig" | |||
36 | config FS_DAX | 36 | config FS_DAX |
37 | bool "Direct Access (DAX) support" | 37 | bool "Direct Access (DAX) support" |
38 | depends on MMU | 38 | depends on MMU |
39 | depends on !(ARM || MIPS || SPARC) | ||
39 | help | 40 | help |
40 | Direct Access (DAX) can be used on memory-backed block devices. | 41 | Direct Access (DAX) can be used on memory-backed block devices. |
41 | If the block device supports DAX and the filesystem supports DAX, | 42 | If the block device supports DAX and the filesystem supports DAX, |