Re: [PATCH 5/9] fs/ext4: Update ext4_should_use_dax()

2020-05-13 Thread Jan Kara
On Tue 12-05-20 22:43:20, ira.we...@intel.com wrote: > From: Ira Weiny > > S_DAX should only be enabled when the underlying block device supports > dax. > > Change ext4_should_use_dax() to check for device support prior to the > over riding mount option. > > While we are at it change the

[PATCH 5/9] fs/ext4: Update ext4_should_use_dax()

2020-05-12 Thread ira . weiny
From: Ira Weiny S_DAX should only be enabled when the underlying block device supports dax. Change ext4_should_use_dax() to check for device support prior to the over riding mount option. While we are at it change the function to ext4_should_enable_dax() as this better reflects the ask as well