aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@linux.intel.com>2015-09-08 17:58:57 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-09-08 18:35:28 -0400
commit844f35db1088dd1a9de37b53d4d823626232bd19 (patch)
tree69eed4135e8653b5304e211ee8734ee73639b28e /Documentation/filesystems
parent5cad465d7fa646bad3d677df276bfc8e2ad709e3 (diff)
dax: add huge page fault support
This is the support code for DAX-enabled filesystems to allow them to provide huge pages in response to faults. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Cc: Hillf Danton <dhillf@gmail.com> Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Cc: Theodore Ts'o <tytso@mit.edu> Cc: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r--Documentation/filesystems/dax.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/filesystems/dax.txt b/Documentation/filesystems/dax.txt
index 7af2851d667c..7bde64014a89 100644
--- a/Documentation/filesystems/dax.txt
+++ b/Documentation/filesystems/dax.txt
@@ -60,9 +60,10 @@ Filesystem support consists of
60- implementing the direct_IO address space operation, and calling 60- implementing the direct_IO address space operation, and calling
61 dax_do_io() instead of blockdev_direct_IO() if S_DAX is set 61 dax_do_io() instead of blockdev_direct_IO() if S_DAX is set
62- implementing an mmap file operation for DAX files which sets the 62- implementing an mmap file operation for DAX files which sets the
63 VM_MIXEDMAP flag on the VMA, and setting the vm_ops to include handlers 63 VM_MIXEDMAP and VM_HUGEPAGE flags on the VMA, and setting the vm_ops to
64 for fault and page_mkwrite (which should probably call dax_fault() and 64 include handlers for fault, pmd_fault and page_mkwrite (which should
65 dax_mkwrite(), passing the appropriate get_block() callback) 65 probably call dax_fault(), dax_pmd_fault() and dax_mkwrite(), passing the
66 appropriate get_block() callback)
66- calling dax_truncate_page() instead of block_truncate_page() for DAX files 67- calling dax_truncate_page() instead of block_truncate_page() for DAX files
67- calling dax_zero_page_range() instead of zero_user() for DAX files 68- calling dax_zero_page_range() instead of zero_user() for DAX files
68- ensuring that there is sufficient locking between reads, writes, 69- ensuring that there is sufficient locking between reads, writes,