X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=options.c;h=9e3e960c831e29860d11126e82c8f84310d5452e;hp=2a530226f399b21585fc345b2a9766f05220a838;hb=3154f1ed3e8c42f9fc68b2e58451812ba09a8c43;hpb=9d8fc5e4351ba93617db379d30482bdc7deea3b8 diff --git a/options.c b/options.c index 2a530226..9e3e960c 100644 --- a/options.c +++ b/options.c @@ -1127,9 +1127,9 @@ static int str_steadystate_cb(void *data, const char *str) if (parse_dryrun()) return 0; - td->o.ss_state |= __FIO_SS_PCT; + td->o.ss_state |= FIO_SS_PCT; td->o.ss_limit.u.f = val; - } else if (td->o.ss_state & __FIO_SS_IOPS) { + } else if (td->o.ss_state & FIO_SS_IOPS) { if (!str_to_float(nr, &val, 0)) { log_err("fio: steadystate IOPS threshold postfix parsing failed\n"); free(nr); @@ -3458,8 +3458,8 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { }, { .name = "max_latency", - .lname = "Max Latency", - .type = FIO_OPT_INT, + .lname = "Max Latency (usec)", + .type = FIO_OPT_STR_VAL_TIME, .off1 = offsetof(struct thread_options, max_latency), .help = "Maximum tolerated IO latency (usec)", .is_time = 1,