projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove io_u->endpos
[fio.git]
/
options.c
diff --git
a/options.c
b/options.c
index 21de222ff7b7d5a2066d3d35fa4e7f63a6222180..a45d1af6b7d9f17c316def4b0bfa6d48b515763e 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-605,7
+605,7
@@
static struct fio_option options[] = {
.type = FIO_OPT_STR_STORE,
.off1 = td_var_offset(filename),
.cb = str_filename_cb,
.type = FIO_OPT_STR_STORE,
.off1 = td_var_offset(filename),
.cb = str_filename_cb,
- .prio =
1, /* must come before
"directory" */
+ .prio =
-1, /* must come after
"directory" */
.help = "File(s) to use for the workload",
},
{
.help = "File(s) to use for the workload",
},
{
@@
-1334,6
+1334,13
@@
static struct fio_option options[] = {
.help = "Create files when they are opened for IO",
.def = "0",
},
.help = "Create files when they are opened for IO",
.def = "0",
},
+ {
+ .name = "pre_read",
+ .type = FIO_OPT_BOOL,
+ .off1 = td_var_offset(pre_read),
+ .help = "Preread files before starting official testing",
+ .def = "0",
+ },
{
.name = "cpuload",
.type = FIO_OPT_INT,
{
.name = "cpuload",
.type = FIO_OPT_INT,