From: Darrick J. Wong Date: Mon, 21 Dec 2015 07:08:12 +0000 (+1100) Subject: xfs/128: allow larger margin for disk space usage X-Git-Tag: v2022.05.01~2701 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e4375bf33e1adaa0cc815f1b8b9cc5ab7528a224;p=users%2Fhch%2Fxfstests-dev.git xfs/128: allow larger margin for disk space usage The free blocks count can vary from our calculations by up to 8% on a 1k-block filesystem, so permit that. Signed-off-by: Darrick J. Wong Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/tests/xfs/128 b/tests/xfs/128 index 49652cb32..f461c1a1a 100755 --- a/tests/xfs/128 +++ b/tests/xfs/128 @@ -59,7 +59,7 @@ FREE_BLOCKS0=$(stat -f "$TESTDIR" -c '%f') echo "Create the original file and reflink to file2, file3" BLKS=2000 -MARGIN=100 +MARGIN=160 BLKSZ=65536 REAL_BLKSZ="$(stat -f $TESTDIR -c '%S')" BLKSZ_FACTOR=$((BLKSZ / REAL_BLKSZ))