Skip to contentSkip to conversation

generic/042: change the test file size from 25m to 26m.

PATCH New XiaoLi Feng 1 participant 1 message Nov 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 generic/042: change the test file size from 25m to 26m.

From: Xiaoli Feng <[email protected]>

When mkfs with "-d su=2m,sw=1" that DAX 2 MiB hugepage faults request, it need the multiples of 2 file size. So Change to 26M.

---

Hello Brian,

I'd like to change the test file size to 26M. Are there any special requirement for 25M file size?

Thanks.

 tests/generic/042 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/generic/042 +1 -1
index 5116183f..c583f0ae 100755
@@ -27,7 +27,7 @@ _crashtest()
 	img=$SCRATCH_MNT/$seq.img
 	mnt=$SCRATCH_MNT/$seq.mnt
 	file=$mnt/file
-	size=25M
+	size=26M
 
 	# 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
Signature · 1 line
2.39.1