From: Darrick J. Wong <djwong@xxxxxxxxxx> Now that _scratch_mkfs_xfs_sized accepts arbitrary mkfs arguments, this test doesn't need to open-code the helper just to add the dir block and log size arguments. Clean this up, which will also help us to avoid problems with rtrmap if the rt devices is large enough to cause format failures with the 133M data device size. Signed-off-by: "Darrick J. Wong" <djwong@xxxxxxxxxx> --- tests/xfs/291 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xfs/291 b/tests/xfs/291 index 777968a9240df6..1a8cda4efb3357 100755 --- a/tests/xfs/291 +++ b/tests/xfs/291 @@ -26,7 +26,7 @@ _xfs_setup_verify_metadump _require_scratch logblks=$(_scratch_find_xfs_min_logblocks -n size=16k -d size=133m) -_scratch_mkfs_xfs -n size=16k -l size=${logblks}b -d size=133m >> $seqres.full 2>&1 +_scratch_mkfs_sized $((133 * 1048576)) '' -n size=16k -l size=${logblks}b >> $seqres.full 2>&1 _scratch_mount # First we cause very badly fragmented freespace, then