Files
apfstests/tests/xfs/531.out
T
Chandan Babu R 9ffcdd4c78 xfs: Check for extent overflow when punching a hole
This test verifies that XFS does not cause inode fork's extent count to
overflow when punching out an extent.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Signed-off-by: Chandan Babu R <chandanrlinux@gmail.com>
2021-03-21 21:47:14 +08:00

20 lines
476 B
Plaintext

QA output created by 531
Format and mount fs
Inject reduce_max_iextents error tag
* fpunch regular file
Create $testfile
fpunch alternating blocks
Verify $testfile's extent count
* finsert regular file
Create $testfile
finsert alternating blocks
Verify $testfile's extent count
* fcollapse regular file
Create $testfile
fcollapse alternating blocks
Verify $testfile's extent count
* fzero regular file
Create $testfile
fzero alternating blocks
Verify $testfile's extent count