From 78217dfa392a6a39f018722e91bc179e9d5443df Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 23 Feb 2007 11:18:30 +0100 Subject: [PATCH] IO engine callback need not dump possible values The parser will do this now. Also don't dump the worthless "job dropped" message. Signed-off-by: Jens Axboe --- init.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/init.c b/init.c index 557382b6..5588c852 100644 --- a/init.c +++ b/init.c @@ -991,8 +991,6 @@ static int str_ioengine_cb(void *data, const char *str) if (td->io_ops) return 0; - log_err("fio: ioengine= libaio, posixaio, sync, syslet-rw, mmap, sgio, splice, cpu, null\n"); - log_err("fio: or specify path to dynamic ioengine module\n"); return 1; } @@ -1217,10 +1215,8 @@ static int parse_cmd_line(int argc, char *argv[]) } ret = parse_cmd_option(opt, val, options, td); - if (ret) { + if (ret) dont_add_job = 1; - log_err("fio: job dropped\n"); - } break; } default: -- 2.25.1