Re: [PATCH 2/2] fstests: generic test for fsync after renaming file

2016-03-30 Thread Eryu Guan
On Wed, Mar 30, 2016 at 10:39:10AM +0100, fdman...@kernel.org wrote: > From: Filipe Manana > > Test that if we rename a file, create a new file that has the old name > of the other file and is a child of the same parent directory, fsync the > new inode, power fail and mount the filesystem, we do

Re: [PATCH 2/2] fstests: generic test for fsync after renaming file

2016-03-30 Thread Filipe Manana
On Wed, Mar 30, 2016 at 10:39 AM, wrote: > From: Filipe Manana > > Test that if we rename a file, create a new file that has the old name > of the other file and is a child of the same parent directory, fsync the > new inode, power fail and mount the filesystem, we do not lose the first > file a

[PATCH 2/2] fstests: generic test for fsync after renaming file

2016-03-30 Thread fdmanana
From: Filipe Manana Test that if we rename a file, create a new file that has the old name of the other file and is a child of the same parent directory, fsync the new inode, power fail and mount the filesystem, we do not lose the first file and that file has the name it was renamed to. This tes