git » libjio » commit e35082e

jiostress: Reduce the maximum operation length

author Alberto Bertogli
2009-04-11 04:22:39 UTC
committer Alberto Bertogli
2009-04-12 13:51:04 UTC
parent f19a5855098e11c3ad50051dca342b7e512cb871

jiostress: Reduce the maximum operation length

The max default operation was too big for a stress test.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

tests/stress/jiostress +2 -2

diff --git a/tests/stress/jiostress b/tests/stress/jiostress
index 35d3bb3..4472982 100755
--- a/tests/stress/jiostress
+++ b/tests/stress/jiostress
@@ -52,8 +52,8 @@ class Stresser:
 		self.nops = nops
 		self.use_fi = use_fi
 
-		self.maxoplen = min(int(self.fsize / 4),
-					5 * 1024 * 1024)
+		self.maxoplen = min(int(self.fsize / 256),
+					64 * 1024)
 
 		self.jf = libjio.open(fname,
 			libjio.O_RDWR | libjio.O_CREAT, 0o600)