.group = FIO_OPT_G_INVALID,
},
#else
+ {
.name = "fadvise_stream",
.lname = "Fadvise stream",
.type = FIO_OPT_UNSUPPORTED,
.group = FIO_OPT_G_INVALID,
},
#else
+ {
.name = "sync_file_range",
.lname = "Sync file range",
.type = FIO_OPT_UNSUPPORTED,
.name = "verify_async_cpus",
.lname = "Async verify CPUs",
.type = FIO_OPT_UNSUPPORTED,
- .help "Your platform does not support CPU affinities",
+ .help = "Your platform does not support CPU affinities",
},
#endif
{
.type = FIO_OPT_INT,
.off1 = td_var_offset(ioprio),
.help = "Set job IO priority value",
- .minval = 0,
- .maxval = 7,
+ .minval = IOPRIO_MIN_PRIO,
+ .maxval = IOPRIO_MAX_PRIO,
.interval = 1,
.category = FIO_OPT_C_GENERAL,
.group = FIO_OPT_G_CRED,
.type = FIO_OPT_INT,
.off1 = td_var_offset(ioprio_class),
.help = "Set job IO priority class",
- .minval = 0,
- .maxval = 3,
+ .minval = IOPRIO_MIN_PRIO_CLASS,
+ .maxval = IOPRIO_MAX_PRIO_CLASS,
.interval = 1,
.category = FIO_OPT_C_GENERAL,
.group = FIO_OPT_G_CRED,