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;