]> git.ipfire.org Git - people/ms/linux.git/commit - fs/xfs/xfs_super.c
fs/xfs: Make DAX mount option a tri-state
authorIra Weiny <ira.weiny@intel.com>
Mon, 4 May 2020 16:02:42 +0000 (09:02 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 4 May 2020 16:03:43 +0000 (09:03 -0700)
commit8d6c3446ec23ecd97bc089ed224342baf9426c30
tree73869412d0d5476fe94393ab9c5a3e1e2e35ebd6
parent606723d982939ab138a05a8070b1ec48ed532234
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>
fs/xfs/xfs_mount.h
fs/xfs/xfs_super.c