Re: [PATCH v2 2/5] ext4: prevent data corruption with journaling + DAX

2017-10-12 Thread Theodore Ts'o
On Mon, Sep 11, 2017 at 11:05:23PM -0600, Ross Zwisler wrote: > The current code has the potential for data corruption when changing an > inode's journaling mode, as that can result in a subsequent unsafe change > in S_DAX. > > I've captured an instance of this data corruption in the following

Re: [PATCH v2 2/5] ext4: prevent data corruption with journaling + DAX

2017-09-12 Thread Jan Kara
On Mon 11-09-17 23:05:23, Ross Zwisler wrote: > The current code has the potential for data corruption when changing an > inode's journaling mode, as that can result in a subsequent unsafe change > in S_DAX. > > I've captured an instance of this data corruption in the following fstest: > >