Re: [PATCH] generic: add test for fsync of directory after creating hard link

2018-06-12 Thread Eryu Guan
On Mon, Jun 11, 2018 at 07:24:35PM +0100, fdman...@kernel.org wrote: > From: Filipe Manana > > Test that if we create a new hard link for a file which was previously > fsync'ed, fsync a parent directory of the new hard link and power fail, > the parent directory exists after mounting the

[PATCH] generic: add test for fsync of directory after creating hard link

2018-06-11 Thread fdmanana
From: Filipe Manana Test that if we create a new hard link for a file which was previously fsync'ed, fsync a parent directory of the new hard link and power fail, the parent directory exists after mounting the filesystem again. The parent directory must be a new directory, not yet persisted.