projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fio 1.59
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index f55e5d71b3abcdfd6c03a3a0d0ff5bffdab62cc3..0435dd02fa197a9731d5c123432bba54cd606152 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-22,13
+22,14
@@
#include "lib/getopt.h"
#include "lib/getopt.h"
-static char fio_version_string[] = "fio 1.5
7
";
+static char fio_version_string[] = "fio 1.5
9
";
#define FIO_RANDSEED (0xb1899bedUL)
static char **ini_file;
static int max_jobs = FIO_MAX_JOBS;
static int dump_cmdline;
#define FIO_RANDSEED (0xb1899bedUL)
static char **ini_file;
static int max_jobs = FIO_MAX_JOBS;
static int dump_cmdline;
+static int def_timeout;
static struct thread_data def_thread;
struct thread_data *threads = NULL;
static struct thread_data def_thread;
struct thread_data *threads = NULL;
@@
-959,6
+960,7
@@
static int fill_def_thread(void)
memset(&def_thread, 0, sizeof(def_thread));
fio_getaffinity(getpid(), &def_thread.o.cpumask);
memset(&def_thread, 0, sizeof(def_thread));
fio_getaffinity(getpid(), &def_thread.o.cpumask);
+ def_thread.o.timeout = def_timeout;
/*
* fill default options
/*
* fill default options
@@
-1173,7
+1175,7
@@
static int parse_cmd_line(int argc, char *argv[])
smalloc_pool_size = atoi(optarg);
break;
case 't':
smalloc_pool_size = atoi(optarg);
break;
case 't':
- def_t
hread.o.t
imeout = atoi(optarg);
+ def_timeout = atoi(optarg);
break;
case 'l':
write_lat_log = 1;
break;
case 'l':
write_lat_log = 1;