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;
memset(&def_thread, 0, sizeof(def_thread));
fio_getaffinity(getpid(), &def_thread.o.cpumask);
+ def_thread.o.timeout = def_timeout;
/*
* fill default options
break;
case 't':
fio_client_add_cmd_option(cur_client, argv[optind-1]);
- def_thread.o.timeout = atoi(optarg);
+ def_timeout = atoi(optarg);
break;
case 'l':
fio_client_add_cmd_option(cur_client, argv[optind-1]);