projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Have the job set ->terminate when runtime is exceeded
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index bc33f4fea34cb7a0dc2d122208c21efdaf654136..b5f9abcef122f618f546540380f546d1f21db6af 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-17,7
+17,7
@@
#include "fio.h"
#include "parse.h"
#include "fio.h"
#include "parse.h"
-static char fio_version_string[] = "fio 1.15.
1
";
+static char fio_version_string[] = "fio 1.15.
2
";
#define FIO_RANDSEED (0xb1899bedUL)
#define FIO_RANDSEED (0xb1899bedUL)
@@
-274,6
+274,11
@@
static int fixup_options(struct thread_data *td)
return 1;
}
return 1;
}
+ if (!o->timeout && o->time_based) {
+ log_err("fio: time_based requires a runtime/timeout setting\n");
+ o->time_based = 0;
+ }
+
return 0;
}
return 0;
}