commit | cf4464ca60ce75ac241c621bc70a2500beeb782f | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Tue Apr 17 20:14:42 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Apr 17 20:14:42 2007 +0200 |
tree | 0fd9eac63824354930e1f390c12bc40f76321eed | |
parent | 210f43b3ebb754d911b90ac18005720125c71760 [diff] [blame] |
Add time_based option This allows fio to keep running, even if the workload has completed. It will simply restart the workload over and over, for as long as the runtime setting allows. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/init.c b/init.c index 09bbce4..b5f9abc 100644 --- a/init.c +++ b/init.c
@@ -274,6 +274,11 @@ 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; }