[Ocfs2-test-devel] [PATCH 02/59] ocfs2-test: fix run_fillverifyholes in single_run-WIP.sh

Junxiao Bi junxiao.bi at oracle.com
Sun Sep 13 19:43:48 PDT 2015


From: Tiger Yang <tiger.yang at oracle.com>

Change the file size no more than 2G when use mmap in test, because
fill_holes require the file to use mmap in test must < 2G.

Signed-off-by: Tiger Yang <tiger.yang at oracle.com>
Signed-off-by: Junxiao Bi <junxiao.bi at oracle.com>
---
 programs/python_common/single_run-WIP.sh |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/programs/python_common/single_run-WIP.sh b/programs/python_common/single_run-WIP.sh
index 0d248fd..5120493 100755
--- a/programs/python_common/single_run-WIP.sh
+++ b/programs/python_common/single_run-WIP.sh
@@ -459,14 +459,14 @@ run_fillverifyholes()
 
 	${CAT} > ${varfile} <<EOF
 2048	4096	nosparse,nounwritten,noinline-data	data=ordered	100000000	0	0
-2048	65536	sparse,unwritten,inline-data		data=writeback	5000000000	-M	-U
+2048	65536	sparse,unwritten,inline-data		data=writeback	2000000000	-M	-U
 4096	4096	sparse,unwritten,inline-data		data=ordered	5000000000	0	0
-4096	4096	sparse,unwritten,inline-data		data=ordered	5000000000	-M	0
+4096	4096	sparse,unwritten,inline-data		data=ordered	2000000000	-M	0
 4096	4096	sparse,unwritten,inline-data		data=ordered	5000000000	0	-U
-4096	4096	sparse,unwritten,inline-data		data=ordered	5000000000	-M	-U
+4096	4096	sparse,unwritten,inline-data		data=ordered	2000000000	-M	-U
 4096	8192	nosparse,nounwritten,noinline-data	data=writeback	100000000	0	0
 4096	131072	nosparse,nounwritten,noinline-data	data=ordered	100000000	-M	0
-4096	1048576	sparse,unwritten,inline-data		data=writeback	5000000000	-M	-U
+4096	1048576	sparse,unwritten,inline-data		data=writeback	2000000000	-M	-U
 EOF
 	if [ $? != 0 ]; then
 		${ECHO} "ERROR writing ${varfile}"
-- 
1.7.9.5




More information about the Ocfs2-test-devel mailing list