[PATCH 04/11] xfs/128: allow larger margin for disk space usage
Darrick J. Wong
darrick.wong at oracle.com
Sat Dec 19 03:11:18 CST 2015
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 <darrick.wong at oracle.com>
---
tests/xfs/128 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/xfs/128 b/tests/xfs/128
index 49652cb..f461c1a 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))
More information about the xfs
mailing list