From: Jens Axboe Date: Wed, 7 Dec 2005 11:09:53 +0000 (+0100) Subject: [PATCH] fio: thread in TD_VERIFYING state is also running X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=aeb68a7acb8ecb4166b44f4c951a9a09268758d5;p=disktools.git [PATCH] fio: thread in TD_VERIFYING state is also running --- 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;