dax,ext2: replace the XIP page fault handler with the DAX page fault handler
authorMatthew Wilcox <[email protected]>
Mon, 16 Feb 2015 23:59:02 +0000 (15:59 -0800)
committerLinus Torvalds <[email protected]>
Tue, 17 Feb 2015 01:56:03 +0000 (17:56 -0800)
commitf7ca90b160307d63aaedab8bd451c24a182db20f
tree687eb94acbc8ebfab6d5e12a57dc336ce21b7c64
parent289c6aedac981533331428bc933fff21ae332c9e
dax,ext2: replace the XIP page fault handler with the DAX page fault handler

Instead of calling aops->get_xip_mem from the fault handler, the
filesystem passes a get_block_t that is used to find the appropriate
blocks.

This requires that all architectures implement copy_user_page().  At the
time of writing, mips and arm do not.  Patches exist and are in progress.

[[email protected]: remap_file_pages went away]
Signed-off-by: Matthew Wilcox <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Cc: Andreas Dilger <[email protected]>
Cc: Boaz Harrosh <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Ross Zwisler <[email protected]>
Cc: Theodore Ts'o <[email protected]>
Cc: Russell King <[email protected]>
Cc: Ralf Baechle <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/dax.c
fs/ext2/file.c
include/linux/fs.h
mm/filemap_xip.c