while (flist_empty(&td->verify_list) &&
!td->verify_thread_exit) {
- ret = pthread_cond_wait(&td->verify_cond, &td->io_u_lock);
+ ret = pthread_cond_wait(&td->verify_cond,
+ &td->io_u_lock);
if (ret) {
pthread_mutex_unlock(&td->io_u_lock);
break;
}
if (i != td->o.verify_async) {
+ log_err("fio: only %d verify threads started, exiting\n", i);
td->verify_thread_exit = 1;
write_barrier();
pthread_cond_broadcast(&td->verify_cond);