mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
71f68b47e1
Test that a file fsync works after punching a hole for the same file range multiple times, and that after log/journal replay the file's content and layout are correct. This test is motivated by a bug found in btrfs, which is fixed by the following linux kernel patch: "Btrfs: fix hole punching when using the no-holes feature" Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
14 lines
418 B
Plaintext
14 lines
418 B
Plaintext
QA output created by 177
|
|
wrote 131072/131072 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
File digest before power failure:
|
|
d26bbb9a8396a9c0dd76423471b72b15 SCRATCH_MNT/foobar
|
|
Fiemap before power failure:
|
|
0: [0..63]: data
|
|
1: [64..255]: hole
|
|
File digest after log replay:
|
|
d26bbb9a8396a9c0dd76423471b72b15 SCRATCH_MNT/foobar
|
|
Fiemap after log replay:
|
|
0: [0..63]: data
|
|
1: [64..255]: hole
|