From e35082e8f739c065afc88907389c01a4d699d6b7 Mon Sep 17 00:00:00 2001
From: Alberto Bertogli <albertito@blitiri.com.ar>
Date: Sat, 11 Apr 2009 01:22:39 -0300
Subject: [PATCH 15/38] 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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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)
-- 
1.6.2.2.646.gb214


