Re: [PATCH V1 7/9] fs/ext4: Make DAX mount option a tri-state

2020-05-14 Thread Ira Weiny
On Thu, May 14, 2020 at 08:08:39AM -0700, Darrick J. Wong wrote: > On Wed, May 13, 2020 at 11:53:13PM -0700, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > We add 'always', 'never', and 'inode' (default). '-o dax' continue to > > operate the same. > > > > Specifically we introduce a

Re: [PATCH V1 7/9] fs/ext4: Make DAX mount option a tri-state

2020-05-14 Thread Darrick J. Wong
On Wed, May 13, 2020 at 11:53:13PM -0700, ira.we...@intel.com wrote: > From: Ira Weiny > > We add 'always', 'never', and 'inode' (default). '-o dax' continue to > operate the same. > > Specifically we introduce a 2nd DAX mount flag EXT4_MOUNT2_DAX_NEVER and set > it and EXT4_MOUNT_DAX_ALWAYS

Re: [PATCH V1 7/9] fs/ext4: Make DAX mount option a tri-state

2020-05-14 Thread Ira Weiny
On Thu, May 14, 2020 at 01:25:53PM +0200, Jan Kara wrote: > On Wed 13-05-20 23:53:13, ira.we...@intel.com wrote: > > From: Ira Weiny > > > > We add 'always', 'never', and 'inode' (default). '-o dax' continue to > > operate the same. > > > > Specifically we introduce a 2nd DAX mount flag

Re: [PATCH V1 7/9] fs/ext4: Make DAX mount option a tri-state

2020-05-14 Thread Jan Kara
On Wed 13-05-20 23:53:13, ira.we...@intel.com wrote: > From: Ira Weiny > > We add 'always', 'never', and 'inode' (default). '-o dax' continue to > operate the same. > > Specifically we introduce a 2nd DAX mount flag EXT4_MOUNT2_DAX_NEVER and set > it and EXT4_MOUNT_DAX_ALWAYS appropriately. >

[PATCH V1 7/9] fs/ext4: Make DAX mount option a tri-state

2020-05-14 Thread ira . weiny
From: Ira Weiny We add 'always', 'never', and 'inode' (default). '-o dax' continue to operate the same. Specifically we introduce a 2nd DAX mount flag EXT4_MOUNT2_DAX_NEVER and set it and EXT4_MOUNT_DAX_ALWAYS appropriately. We also force EXT4_MOUNT2_DAX_NEVER if !CONFIG_FS_DAX.