mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
5652a4880c
Test that if we clone part of an extent from a file to itself at a different offset, fsync it, rewrite (COW) part of the extent from the former offset, fsync it again, power fail and then mount the filesystem, we are able to read the whole file and it has the correct data. This is motivated by a bug found in btrfs which is fixed by a kernel patch that has the following subject: "Btrfs: fix missing data checksums after replaying a log tree" Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
14 lines
545 B
Plaintext
14 lines
545 B
Plaintext
QA output created by 588
|
|
wrote 262144/262144 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 262144/262144 bytes at offset 262144
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
linked 65536/65536 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
wrote 65536/65536 bytes at offset 262144
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
File digest before power failure:
|
|
b92c7b6e89d6f466cffba1f6e6193e5d
|
|
File digest after mount:
|
|
b92c7b6e89d6f466cffba1f6e6193e5d
|