Files
apfstests/tests/xfs/537.out
T
Chandan Babu R 200ee9e93b xfs: Check for extent overflow when swapping extents
This test verifies that XFS does not cause inode fork's extent count to
overflow when swapping forks across two files.

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

14 lines
448 B
Plaintext

QA output created by 537
* Swap extent forks
Format and mount fs
Create $donorfile having an extent of length 67 blocks
Fragment $donorfile
Create $srcfile having an extent of length 18 blocks
Fragment $srcfile
Collect $donorfile's extent count
Collect $srcfile's extent count
Inject reduce_max_iextents error tag
Swap $srcfile's and $donorfile's extent forks
Check for $donorfile's extent count overflow
Check for $srcfile's extent count overflow