projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
parse: fix bssplit option
[fio.git]
/
parse.c
diff --git
a/parse.c
b/parse.c
index 194ad594779a59a6de8104939fd5b7ef5dc1f69a..952118c6036ddf7fc6fd9cf49a3d13350920c976 100644
(file)
--- a/
parse.c
+++ b/
parse.c
@@
-959,6
+959,7
@@
static int handle_option(const struct fio_option *o, const char *__ptr,
if (ptr &&
(o->type != FIO_OPT_STR_STORE) &&
(o->type != FIO_OPT_STR) &&
if (ptr &&
(o->type != FIO_OPT_STR_STORE) &&
(o->type != FIO_OPT_STR) &&
+ (o->type != FIO_OPT_STR_ULL) &&
(o->type != FIO_OPT_FLOAT_LIST)) {
ptr2 = strchr(ptr, ',');
if (ptr2 && *(ptr2 + 1) == '\0')
(o->type != FIO_OPT_FLOAT_LIST)) {
ptr2 = strchr(ptr, ',');
if (ptr2 && *(ptr2 + 1) == '\0')
@@
-1372,9
+1373,6
@@
static void option_init(struct fio_option *o)
o->category = FIO_OPT_C_GENERAL;
o->group = FIO_OPT_G_INVALID;
}
o->category = FIO_OPT_C_GENERAL;
o->group = FIO_OPT_G_INVALID;
}
- if (o->type == FIO_OPT_STR || o->type == FIO_OPT_STR_STORE ||
- o->type == FIO_OPT_STR_MULTI)
- return;
}
/*
}
/*