diff options
author | Dave Chinner <dchinner@redhat.com> | 2015-06-04 09:19:18 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-06-04 09:19:18 +1000 |
commit | cbe4dab119f211ff6642d617f541087894e99e4f (patch) | |
tree | 6751ee32423a7799e7ad31befc1c248365545030 /fs/xfs/xfs_mount.h | |
parent | 6e1ba0bcb84b3f97616feb07c27f974509ba57be (diff) |
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>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index 8c995a2ccb6f..cd44e88efa53 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h @@ -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. |