From 68d2ebf90d94da7d619d7556f4a5663bcca8c8f6 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Thu, 2 Nov 2017 21:28:02 -0700 Subject: [PATCH] xfs/020: check that we have enough space to write out a huge fs Make sure that we have enough free space on the test fs to create a 60t sparse filesystem. Signed-off-by: Darrick J. Wong Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- tests/xfs/020 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/xfs/020 b/tests/xfs/020 index 120492d4..b0373695 100755 --- a/tests/xfs/020 +++ b/tests/xfs/020 @@ -49,6 +49,10 @@ _supported_fs xfs _supported_os Linux _require_test +# Writing a 60t fs requires about 2GB of space, so make sure +# we have plenty of space to do that. +_require_fs_space $TEST_DIR 2500000 + echo "Silence is golden" fsfile=$TEST_DIR/fsfile.$seq -- 2.47.3