[PATCH] Kill old libaio/posixaio checks
authorJens Axboe <jens.axboe@oracle.com>
Fri, 3 Nov 2006 12:48:49 +0000 (13:48 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 3 Nov 2006 12:48:49 +0000 (13:48 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
init.c

diff --git a/init.c b/init.c
index 689c495b6ac648059a513c325d92620b7bd82beb..7b2b5121f193bf17bacc228fddaeb6953ec8b364 100644 (file)
--- a/init.c
+++ b/init.c
@@ -543,19 +543,6 @@ static int add_job(struct thread_data *td, const char *jobname, int job_add_num)
        int numjobs, ddir, i;
        struct fio_file *f;
 
-#ifndef FIO_HAVE_LIBAIO
-       if (td->io_engine == FIO_LIBAIO) {
-               log_err("Linux libaio not available\n");
-               return 1;
-       }
-#endif
-#ifndef FIO_HAVE_POSIXAIO
-       if (td->io_engine == FIO_POSIXAIO) {
-               log_err("posix aio not available\n");
-               return 1;
-       }
-#endif
-
        /*
         * the def_thread is just for options, it's not a real job
         */