Files
apfstests/tests/generic/707.out
T
Darrick J. Wong 45da5f51d4 block: test fallocate for block devices
Now that we're wiring up fallocate's PUNCH_HOLE and ZERO_RANGE
features for block devices, add some tests to make sure they
work correctly.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2016-05-09 10:49:50 +10:00

33 lines
892 B
Plaintext

QA output created by 707
Create and format
Regular fallocate
fallocate: Operation not supported
Insert range
fallocate: Operation not supported
Collapse range
fallocate: Operation not supported
Unaligned zero range
fallocate: Invalid argument
Unaligned punch
fallocate: Invalid argument
Zero range past MAX_LFS_FILESIZE keep size
fallocate: File too large
Zero range past MAX_LFS_FILESIZE
fallocate: File too large
Zero range to MAX_LFS_FILESIZE fail w/o keepsize
fallocate: Invalid argument
Zero range starts past EOD
fallocate: Invalid argument
Punch starts past EOD
fallocate: Invalid argument
Check contents
b83f9394092e15bdcda585cd8e776dc6 SCSI_DEBUG_DEV
Destroy device
Create w/o unmap or writesame and format
Zero punch, no fallback available
fallocate: Operation not supported
Zero range, write fallback
Check contents
0fc6bc93cd0cd97e3cde5ea39ea1185d SCSI_DEBUG_DEV
Destroy device