Otherwise it's easy to screw up because fio will have ignored
a number of options. This has happened to me with bad pasting
of job files before, missing the starting '[' bracket.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
break;
strip_blank_front(&p);
break;
strip_blank_front(&p);
if (is_empty_or_comment(p))
continue;
if (is_empty_or_comment(p))
continue;
- if (sscanf(p, "[%255s]", name) != 1)
+ if (sscanf(p, "[%255s]", name) != 1) {
+ log_err("fio: option <%s> outside of job section\n", p);
global = !strncmp(name, "global", 6);
global = !strncmp(name, "global", 6);