projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix re-run issue when job size is set to "unknown"
[fio.git]
/
backend.c
diff --git
a/backend.c
b/backend.c
index e482fb846c8c4ebc2cee7c204b7e8b7dd23e6a0b..3567990b7e7e813ae1c1c0700cd8a8497d367ccf 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-1034,7
+1034,7
@@
static int keep_running(struct thread_data *td)
return 1;
}
- if (ddir_rw_sum(td->io_bytes) < td->o.size) {
+ if (
td->o.size != -1ULL &&
ddir_rw_sum(td->io_bytes) < td->o.size) {
uint64_t diff;
/*