git » libjio » commit f30c385

tests/stress: When using autosync, sync every 10Mb

author Alberto Bertogli
2009-07-10 18:34:41 UTC
committer Alberto Bertogli
2009-07-10 18:39:36 UTC
parent a587895744134232d2938ee6397b042c8a3f0d67

tests/stress: When using autosync, sync every 10Mb

Syncing every 2Mb is too unrealistic, so this patch changes it to 10Mb
instead, which might be low for common scenarios but it's more reasonable
for a stress test.

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

tests/stress/jiostress +1 -1

diff --git a/tests/stress/jiostress b/tests/stress/jiostress
index ac9ade4..7f9fb90 100755
--- a/tests/stress/jiostress
+++ b/tests/stress/jiostress
@@ -67,7 +67,7 @@ class Stresser:
 		self.jf.truncate(fsize)
 
 		if use_as:
-			self.jf.autosync_start(5, 2 * 1024 * 1024)
+			self.jf.autosync_start(5, 10 * 1024 * 1024)
 
 		# data used for consistency checks
 		self.current_range = (0, 0)