Re: [PATCH 6/9] fs/ext4: Only change S_DAX on inode load

2020-05-13 Thread Jan Kara
On Tue 12-05-20 22:43:21, ira.we...@intel.com wrote: > From: Ira Weiny > > To prevent complications with in memory inodes we only set S_DAX on > inode load. FS_XFLAG_DAX can be changed at any time and S_DAX will > change after inode eviction and reload. > > Add init bool to

[PATCH 6/9] fs/ext4: Only change S_DAX on inode load

2020-05-12 Thread ira . weiny
From: Ira Weiny To prevent complications with in memory inodes we only set S_DAX on inode load. FS_XFLAG_DAX can be changed at any time and S_DAX will change after inode eviction and reload. Add init bool to ext4_set_inode_flags() to indicate if the inode is being newly initialized. Assert