projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add ->done variable to force exit when we know we are done
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index 16e19c8fa8e080511c6e07c96691c809e8955b0a..bc837c444b91c7b8ad3c6c4a56317856f9bdf1ff 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-724,6
+724,8
@@
static int keep_running(struct thread_data *td)
{
unsigned long long io_done;
+ if (td->done)
+ return 0;
if (td->o.time_based)
return 1;
if (td->o.loops) {