]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstest: add configurable load factors
authorDmitry Monakhov <dmonakhov@openvz.org>
Wed, 20 Feb 2013 10:42:07 +0000 (10:42 +0000)
committerRich Johnston <rjohnston@sgi.com>
Fri, 1 Mar 2013 16:09:07 +0000 (10:09 -0600)
commit66a98478e3cffecfbd62d3a124b626ddda447c57
treee37d58c25138833abff035f422a6e3809ad253a6
parentb3db6021fc2df4e99c9e098612446f4c86e70766
xfstest: add configurable load factors

Most stress test has probable behavior, the longer test run the
larger corner cases will be cover. It is reasonable to allow
user to provide some sort of system load factor.
This patch introduce two global variables
LOAD_FACTOR: Usually means factor number of running tasks
TIME_FACTOR: Usually means factor of run time, or number of operations
If not specified both variables defined to 1, so original behavior
preserved.

TODO: Change all stress tests to use this variables

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
common.config
group