projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
options: warn if we exceed the supported number of split entries
[fio.git]
/
options.c
diff --git
a/options.c
b/options.c
index 30f796238f22038d60e43b419fb9e79d76a1ce23..3fa646c0f364c97c3671cb676e8f5ec830ac3a89 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-110,8
+110,10
@@
static int split_parse_ddir(struct thread_options *o, struct split *split,
split->val1[i] = val;
split->val2[i] = perc;
i++;
- if (i == max_splits)
+ if (i == max_splits) {
+ log_err("fio: hit max of %d split entries\n", i);
break;
+ }
}
split->nr = i;