mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
c599af2ca6
Allocating two bytes at a block boundary with fallocate should allocate both blocks involved. Test this by writing data to both bytes afterwards and see whether the on-disk size increases (it should not). This is a regression test for the kernel patch "xfs: Fix tail rounding in xfs_alloc_file_space()". Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
5 lines
148 B
Plaintext
5 lines
148 B
Plaintext
QA output created by 568
|
|
wrote 2/2 bytes at offset block_size - 1
|
|
XXX Bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
OK: File did not grow.
|