On Wed, Apr 06, 2016 at 11:11:56PM +0100, [email protected] wrote:
> From: Filipe Manana <[email protected]>
> 
> Test that if we create a hard link for a file F in some directory A,
> then move some directory or file B from its parent directory C into
> directory A, fsync file F, power fail and mount the filesystem, the
> directory/file B is located only at directory A and both links for
> file F exist.
> 
> This test is motivated by an issue found in btrfs which is fixed by the
> following patch for the linux kernel:
> 
>   Btrfs: fix for incorrect directory entries after fsync log replay
> 
> Tested against ext3/4, xfs, reiserfs and f2fs.
> 
> Signed-off-by: Filipe Manana <[email protected]>

Looks good to me. Test passed with ext3/4 and xfs, failed with btrfs as
expected.

Reviewed-by: Eryu Guan <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to