From 6c3fb04c80c3c241162e743a54761e5e896d4ba2 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 29 Nov 2017 22:11:09 -0700 Subject: [PATCH] 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 --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.25.1