xfs: add DAX file operations support
authorDave Chinner <dchinner@redhat.com>
Wed, 3 Jun 2015 23:18:53 +0000 (09:18 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 3 Jun 2015 23:18:53 +0000 (09:18 +1000)
commit6b698edeeef00c127d73501b386590299f01327a
treebf4fea128ac87d2c8f50b3b215ac18ad82fb2238
parentce5c5d554dc47a4fb4360c84b72231fea081e7a0
xfs: add DAX file operations support

Add the initial support for DAX file operations to XFS. This
includes the necessary block allocation and mmap page fault hooks
for DAX to function.

Note that there are changes to the splice interfaces to ensure that
for DAX splice avoids direct page cache manipulations and instead
takes the DAX IO paths for read/write operations.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_aops.c
fs/xfs/xfs_aops.h
fs/xfs/xfs_file.c