summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2005-12-07 11:25:42 +0100
committerJens Axboe <axboe@suse.de>2005-12-07 11:25:42 +0100
commit90a3db332526ca8f1757708c783cce9a7da25a12 (patch)
tree3a02f0f652d90a429c579218d22612706bb915d3
parent762d05adb45588b056f29b0e4aaf6402e88ba62e (diff)
[PATCH] fio: remember to update counters on signal quit
-rw-r--r--fio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fio.c b/fio.c
index 11a0668..1ed7b48 100644
--- a/fio.c
+++ b/fio.c
@@ -1654,12 +1654,12 @@ static void *thread_main(void *data)
do_io(td);
- if (td->error || td->terminate)
- break;
-
td->runtime += mtime_since_now(&td->start);
update_rusage_stat(td);
+ if (td->error || td->terminate)
+ break;
+
if (td->verify == VERIFY_NONE)
continue;