I noticed that a job of:
[sequential write at 1k block size.]
Gets reported as "sequentia".
I think we need to use %255[^\n] in sscanf instead.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
{
if (td == &def_thread)
return;
-
+
profile_td_exit(td);
if (td->error)
if (is_empty_or_comment(p))
continue;
- if (sscanf(p, "[%255s]", name) != 1) {
+ if (sscanf(p, "[%255[^\n]]", name) != 1) {
if (inside_skip)
continue;
log_err("fio: option <%s> outside of [] job section\n",