mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
858c39281e
Test that fsync operations preserve extents allocated with fallocate(2) that are placed beyond a file's size. This test is motivated by a bug found in btrfs where unwritten extents beyond the inode's i_size were not preserved after a fsync and power failure. The btrfs bug is fixed by the following patch for the linux kernel: "Btrfs: fix loss of prealloc extents past i_size after fsync log replay" 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
205 B
Plaintext
14 lines
205 B
Plaintext
QA output created by 483
|
|
File foo fiemap:
|
|
0: [0..2559]: extent
|
|
File foo size:
|
|
262144
|
|
File bar fiemap:
|
|
0: [0..2559]: extent
|
|
File bar size:
|
|
262144
|
|
File baz fiemap:
|
|
0: [0..6143]: extent
|
|
File baz size:
|
|
262144
|