xfs: add initial DAX support
Add initial DAX support to XFS. To do this we need a new mount option to turn DAX on filesystem, and we need to propagate this into the inode flags whenever an inode is instantiated so that the per-inode checks throughout the code Do The Right Thing. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:

committed by
Dave Chinner

parent
6e1ba0bcb8
commit
cbe4dab119
@@ -179,6 +179,8 @@ typedef struct xfs_mount {
|
||||
allocator */
|
||||
#define XFS_MOUNT_NOATTR2 (1ULL << 25) /* disable use of attr2 format */
|
||||
|
||||
#define XFS_MOUNT_DAX (1ULL << 62) /* TEST ONLY! */
|
||||
|
||||
|
||||
/*
|
||||
* Default minimum read and write sizes.
|
||||
|
Reference in New Issue
Block a user