return add_dir_files(td, td->o.opendir);
}
-static int str_verify_offset_cb(void *data, unsigned long long *off)
-{
- struct thread_data *td = data;
-
- if (*off && *off < sizeof(struct verify_header)) {
- log_err("fio: verify_offset too small\n");
- return 1;
- }
-
- td->o.verify_offset = *off;
- return 0;
-}
-
static int str_verify_pattern_cb(void *data, const char *input)
{
struct thread_data *td = data;
.help = "Offset verify header location by N bytes",
.off1 = td_var_offset(verify_offset),
.minval = sizeof(struct verify_header),
- .cb = str_verify_offset_cb,
.parent = "verify",
.hide = 1,
.category = FIO_OPT_C_IO,
.lname = "I/O nice priority",
.type = FIO_OPT_INT,
.cb = str_prio_cb,
- .off1 = td_var_offset(ioprio),
.help = "Set job IO priority value",
.minval = 0,
.maxval = 7,
.lname = "I/O nice priority class",
.type = FIO_OPT_INT,
.cb = str_prioclass_cb,
- .off1 = td_var_offset(ioprio_class),
.help = "Set job IO priority class",
.minval = 0,
.maxval = 3,