projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gfio: fill default options on new job
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index eccd3afedd87af446fd2de017234eba9667de2c9..0f992803729c92aac6844f89b6c220f5b3380f37 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-1708,3
+1708,8
@@
int parse_options(int argc, char *argv[])
return 0;
}
+
+void options_default_fill(struct thread_options *o)
+{
+ memcpy(o, &def_thread.o, sizeof(*o));
+}