Files
apfstests/tests/xfs/536.out
T
Chandan Babu R 3ab311f592 xfs: Check for extent overflow when remapping an extent
This test verifies that XFS does not cause inode fork's extent count to
overflow when remapping extents from one file's inode fork to another.

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:51:17 +08:00

9 lines
297 B
Plaintext

QA output created by 536
* Reflink remap extents
Format and mount fs
Create $srcfile having an extent of length 15 blocks
Create $dstfile having an extent of length 15 blocks
Inject reduce_max_iextents error tag
Reflink every other block from $srcfile into $dstfile
Verify $dstfile's extent count