From: Jens Axboe Date: Thu, 30 Nov 2017 05:11:09 +0000 (-0700) Subject: options: correct parser type for max_latency X-Git-Tag: fio-3.3~49 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=6c3fb04c80c3c241162e743a54761e5e896d4ba2;p=fio.git options: correct parser type for max_latency It's a 64-bit type now, use the proper time conversion type. Fixes: c3a32714 ("Change latency targets to be in nsec values internally") Signed-off-by: Jens Axboe --- diff --git a/options.c b/options.c index 6c6dba01..a224e7bd 100644 --- a/options.c +++ b/options.c @@ -3459,7 +3459,7 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { { .name = "max_latency", .lname = "Max Latency (usec)", - .type = FIO_OPT_INT, + .type = FIO_OPT_STR_VAL_TIME, .off1 = offsetof(struct thread_options, max_latency), .help = "Maximum tolerated IO latency (usec)", .is_time = 1,