projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix header_interval minimum value
[fio.git]
/
options.c
diff --git
a/options.c
b/options.c
index 130dc8c784b5f6f0ae67fd60550cd944073f91ea..01d23865a968952606006e3a57dd3e3a21d323d5 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-618,8
+618,8
@@
static struct fio_option options[] = {
.name = "header_interval",
.type = FIO_OPT_STR_VAL_INT,
.off1 = td_var_offset(header_interval),
.name = "header_interval",
.type = FIO_OPT_STR_VAL_INT,
.off1 = td_var_offset(header_interval),
+ .minval = 2 * sizeof(struct verify_header),
.help = "Store buffer header every N bytes",
.help = "Store buffer header every N bytes",
- .def = "0",
},
{
.name = "header_offset",
},
{
.name = "header_offset",