summaryrefslogtreecommitdiff
path: root/fio.h
diff options
context:
space:
mode:
authorJiri Horky <jiri.horky@gmail.com>2014-07-25 09:55:03 +0200
committerMohamad Ayyash <mkayyash@google.com>2015-03-06 17:57:13 -0800
commit5a65b4e4ce51be2144abaf47635e20a0ebf684ec (patch)
tree2e4acf60e7f89094cdf0e37e9d0e29c961738a03 /fio.h
parent2e627243f7877cefb3606ef99ec24debe32ac98c (diff)
downloadfio-5a65b4e4ce51be2144abaf47635e20a0ebf684ec.tar.gz
Allow reset of offset_increment counter
Reset offset_increment only within a sub-group of jobs, eg when numjobs=x is used to automatically group jobs together. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fio.h')
-rw-r--r--fio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fio.h b/fio.h
index c694f2cf..dfbad6d6 100644
--- a/fio.h
+++ b/fio.h
@@ -102,6 +102,7 @@ struct thread_data {
char verror[FIO_VERROR_SIZE];
pthread_t thread;
unsigned int thread_number;
+ unsigned int subjob_number;
unsigned int groupid;
struct thread_stat ts;