mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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>
This commit is contained in:
committed by
Dave Chinner
parent
036a163772
commit
e020a49a70
@@ -0,0 +1,10 @@
|
||||
QA output created by 066
|
||||
xattr names and values after first fsync log replay:
|
||||
# file: SCRATCH_MNT/foobar
|
||||
user.attr1="val1"
|
||||
user.attr3="val3"
|
||||
|
||||
xattr names and values after second fsync log replay:
|
||||
# file: SCRATCH_MNT/foobar
|
||||
user.attr3="val3"
|
||||
|
||||
Reference in New Issue
Block a user