fs/xfs: Make DAX mount option a tri-state
authorIra Weiny <ira.weiny@intel.com>
Thu, 30 Apr 2020 14:41:35 +0000 (07:41 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 30 May 2020 03:13:20 +0000 (20:13 -0700)
commit02beb2686ff964884756c581d513e103542dcc6a
treec20e19a9a33147e8aa99623458a4c08d24abed8a
parentfd58c62b65626934c5ac9f9a15e0a8d4bcf9ef47
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