Skip to contentSkip to conversation

generic/042: make a bigger img for f2fs

PATCH Superseded Sun Ke 1 participant 1 message Jun 10, 2021

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Sun Ke

author
#0 lore raw

PATCH v2 1/1 generic/042: make a bigger img for f2fs

f2fs-utils 1.9.0 needs at least 38 MB space for f2fs image. However, f2fs-utils 1.14.0 needs at least 52 MB. Not sure if it will change again. So, just set it to 128M.

---
 tests/generic/042 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
tests/generic/042 +4 -2
index ee0e4b40..6437ef07 100755
@@ -43,9 +43,11 @@ _crashtest()
 	file=$mnt/file
 	size=25M
 
-	# 25M is too small for f2fs.
+	# f2fs-utils 1.9.0 needs at least 38 MB space for f2fs image. However,
+	# f2fs-utils 1.14.0 needs at least 52 MB. Not sure if it will change
+	# again. So just set it 128M.
 	if [ $FSTYP == "f2fs" ]; then
-		size=38M
+		size=128M
 	fi
 
 	# Create an fs on a small, initialized image. The pattern is written to
Signature · 1 line
2.13.6