fstests: generic test for fsync after removing xattrs
authorFilipe Manana <fdmanana@suse.com>
Wed, 25 Feb 2015 04:38:26 +0000 (15:38 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 25 Feb 2015 04:38:26 +0000 (15:38 +1100)
commite020a49a70b39aff224fb5bc0b2ef4e98697087c
tree0b943eab7a7ddeaaac4e2ca6324cd3fb37c3ffce
parent036a163772697950bad537e4b7267cb9d3754147
fstests: generic test for fsync after removing xattrs

This test is motivated by an fsync issue discovered in btrfs.
The issue was that the fsync log replay code did not remove xattrs that
were deleted before the inode was fsynced. The result was unexpected
and differed from xfs and ext3/4 for example.

The btrfs issue was fixed by the following linux kernel patch:

   Btrfs: remove deleted xattrs on fsync log replay

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/generic/066 [new file with mode: 0755]
tests/generic/066.out [new file with mode: 0644]
tests/generic/group