IO engine callback need not dump possible values
authorJens Axboe <jens.axboe@oracle.com>
Fri, 23 Feb 2007 10:18:30 +0000 (11:18 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 23 Feb 2007 10:18:30 +0000 (11:18 +0100)
The parser will do this now. Also don't dump the worthless
"job dropped" message.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
init.c

diff --git a/init.c b/init.c
index 557382b6a1b8c2e25c4ff42aaf1ab85a1c0ff0fa..5588c852b9c828cc49b31c4ae4a43758efadd3dc 100644 (file)
--- 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;
 
        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;
 }
 
        return 1;
 }
 
@@ -1217,10 +1215,8 @@ static int parse_cmd_line(int argc, char *argv[])
                        }
 
                        ret = parse_cmd_option(opt, val, options, td);
                        }
 
                        ret = parse_cmd_option(opt, val, options, td);
-                       if (ret) {
+                       if (ret)
                                dont_add_job = 1;
                                dont_add_job = 1;
-                               log_err("fio: job dropped\n");
-                       }
                        break;
                }
                default:
                        break;
                }
                default: