projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better management of open files
[fio.git]
/
parse.c
diff --git
a/parse.c
b/parse.c
index 0e8cd5ff1454f53309cc260019d7b3d27e898a7e..d13a60331db7629b2cc3892fa357edd031d35b4a 100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-363,7
+363,9
@@
static int handle_option(struct fio_option *o, const char *ptr, void *data)
* Do this before parsing the first round, to check if we should
* copy set 1 options to set 2.
*/
* Do this before parsing the first round, to check if we should
* copy set 1 options to set 2.
*/
- if (ptr && (o->type != FIO_OPT_STR_STORE)) {
+ if (ptr &&
+ (o->type != FIO_OPT_STR_STORE) &&
+ (o->type != FIO_OPT_STR)) {
ptr2 = strchr(ptr, ',');
if (!ptr2)
ptr2 = strchr(ptr, ':');
ptr2 = strchr(ptr, ',');
if (!ptr2)
ptr2 = strchr(ptr, ':');