Fix a few other static code checker spotted "issues"
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 8a033485e7cf9eee2adbb893ab2d13bd2695dde0..d794f011a28332bc96f9e85df16efca920e4f418 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -1375,7 +1375,8 @@ static void io_completed(struct thread_data *td, struct io_u *io_u,
                        }
                }
 
-               if (ramp_time_over(td) && td->runstate == TD_RUNNING) {
+               if (ramp_time_over(td) && (td->runstate == TD_RUNNING ||
+                                          td->runstate == TD_VERIFYING)) {
                        account_io_completion(td, io_u, icd, idx, bytes);
 
                        if (__should_check_rate(td, idx)) {