projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6a16ece
)
options: warn if we exceed the supported number of split entries
author
Jens Axboe
<axboe@kernel.dk>
Fri, 1 Dec 2017 04:29:32 +0000
(21:29 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 1 Dec 2017 04:29:32 +0000
(21:29 -0700)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
options.c
patch
|
blob
|
blame
|
history
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;