Files
apfstests/tests/generic/568.out
T
Max Reitz c599af2ca6 generic: fallocate two bytes at block boundary
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>
2019-10-02 16:54:45 +08:00

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.