diff options
author | Ira Weiny <ira.weiny@intel.com> | 2020-05-04 18:02:42 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-05-04 18:03:43 +0200 |
commit | 8d6c3446ec23ecd97bc089ed224342baf9426c30 (patch) | |
tree | 73869412d0d5476fe94393ab9c5a3e1e2e35ebd6 /fs/xfs/xfs_mount.h | |
parent | fs/xfs: Change XFS_MOUNT_DAX to XFS_MOUNT_DAX_ALWAYS (diff) | |
download | linux-8d6c3446ec23ecd97bc089ed224342baf9426c30.tar.xz linux-8d6c3446ec23ecd97bc089ed224342baf9426c30.zip |
fs/xfs: Make DAX mount option a tri-state
As agreed upon[1]. We make the dax mount option a tri-state. '-o dax'
continues to operate the same. We add 'always', 'never', and 'inode'
(default).
[1] https://lore.kernel.org/lkml/20200405061945.GA94792@iweiny-DESK2.sc.intel.com/
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index f6123fb0113c..37bfb50db809 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h @@ -238,6 +238,7 @@ typedef struct xfs_mount { allocator */ #define XFS_MOUNT_NOATTR2 (1ULL << 25) /* disable use of attr2 format */ #define XFS_MOUNT_DAX_ALWAYS (1ULL << 26) +#define XFS_MOUNT_DAX_NEVER (1ULL << 27) /* * Max and min values for mount-option defined I/O |