mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
fcc3f3b9c3
Test that if we do a buffered write to a file, fsync it, clone a range from another file into our file that overlaps the previously written range, fsync the file again and then power fail, after we mount again the filesystem, no file data was lost or corrupted. This test is motivated by a bug found in btrfs, which is fixed by a patch for the linux kernel titled: "Btrfs: fix file data corruption after cloning a range and fsync" Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
6 lines
200 B
Plaintext
6 lines
200 B
Plaintext
QA output created by 501
|
|
File bar digest before power failure:
|
|
95a95813a8c2abc9aa75a6c2914a077e SCRATCH_MNT/bar
|
|
File bar digest after power failure:
|
|
95a95813a8c2abc9aa75a6c2914a077e SCRATCH_MNT/bar
|