mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
fd0607faf2
Test that xattrs are not lost after calling fsync multiple times with a filesystem commit in between the fsync calls. This test is motivated by a bug found in btrfs which is fixed by a patch for the linux kernel titled: Btrfs: fix xattr loss after power failure Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
12 lines
240 B
Plaintext
12 lines
240 B
Plaintext
QA output created by 489
|
|
File xattrs after power failure:
|
|
# file: SCRATCH_MNT/foobar
|
|
user.xa1="qwerty"
|
|
user.xa2="hello world"
|
|
user.xa3="test"
|
|
|
|
File data after power failure:
|
|
0000000 ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea ea
|
|
*
|
|
0200000
|