summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2005-12-07 12:09:53 +0100
committerJens Axboe <axboe@suse.de>2005-12-07 12:09:53 +0100
commitaeb68a7acb8ecb4166b44f4c951a9a09268758d5 (patch)
tree372009c9a5de097bdecf597247e370babcba9842
parent643e4039452ee151f27a1407a4277cc864b776f2 (diff)
[PATCH] fio: thread in TD_VERIFYING state is also running
-rw-r--r--fio.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/fio.c b/fio.c
index 1a9f052..d7fa0d1 100644
--- a/fio.c
+++ b/fio.c
@@ -1827,12 +1827,16 @@ static void print_thread_status(void)
for (i = 0; i < thread_number; i++) {
struct thread_data *td = &threads[i];
- if (td->runstate == TD_RUNNING) {
+ if (td->runstate == TD_RUNNING || td->runstate == TD_VERIFYING){
nr_running++;
t_rate += td->rate;
m_rate += td->ratemin;
}
+ /*
+ * doesn't quite work for verify, as it doesn't bump the
+ * io counters. will fix that later.
+ */
bytes_total += td->total_io_size;
bytes_done += td->io_bytes;