mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
c235b26103
Test a fallocate() zero range operation against a large file range for which there are many small extents allocated. Verify the operation does not fail and the respective range return zeroes on subsequent reads. This test is motivated by a bug found on btrfs. The patch that fixes the bug on btrfs has the following subject: "btrfs: fix metadata reservation for fallocate that leads to transaction aborts" Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
6 lines
134 B
Plaintext
6 lines
134 B
Plaintext
QA output created by 610
|
|
File content after zero range operation:
|
|
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
|
*
|
|
104857600
|