mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
57914b8850
Test extent pre-allocation (using fallocate) into a region that already has a pre-allocated extent that ends beyond the file's size. Verify that if the fs is unmounted immediately after, the file's size and content are not lost. This is motivated by a minor issue found in btrfs where the second fallocate wouldn't update the inode's i_size on disk, fixed by the following btrfs patch: "Btrfs: add missing inode item update in fallocate()". Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
10 lines
274 B
Plaintext
10 lines
274 B
Plaintext
QA output created by 071
|
|
wrote 262144/262144 bytes at offset 0
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
File content after remount:
|
|
0000000 aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa
|
|
*
|
|
1000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
*
|
|
2000000
|