The AGFL reservation patches increase the amount of reserved space that this test needs in order to succeed. Modify the resblks xfs_io call to account for the increased per-AG reservation. Without this change, the dd in the test gets an ENOSPC in the path where a delalloc is converted to a real allocation. This results in the test spinning in the dd command and generating endless xfs_discard_folio warnings. Since resblks is supposed to prevent the filesystem from getting empty enough to hit a case like this, increase it slightly to account for the modified per-ag reservation size. Signed-off-by: Krister Johansen <kjlx@xxxxxxxxxxxxxxxxxx> --- tests/xfs/306 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xfs/306 b/tests/xfs/306 index e21a5622..9acace85 100755 --- a/tests/xfs/306 +++ b/tests/xfs/306 @@ -47,7 +47,7 @@ for i in $(seq 0 3); do done # consume and fragment free space -$XFS_IO_PROG -xc "resblks 16" $SCRATCH_MNT >> $seqres.full 2>&1 +$XFS_IO_PROG -xc "resblks 17" $SCRATCH_MNT >> $seqres.full 2>&1 dd if=/dev/zero of=$SCRATCH_MNT/file bs=4k >> $seqres.full 2>&1 $XFS_IO_PROG -c "fsync" $SCRATCH_MNT/file >> $seqres.full 2>&1 $here/src/punch-alternating $SCRATCH_MNT/file -- 2.25.1