libaio engine: get rid of non-async behaviour with buffered IO
[fio.git] / engines / libaio.c
index 18dcf9ddfad59d753a2cf4b71061065dc6baf6fc..99170b5394f6952060626b1f55d4ed8db85e29a5 100644 (file)
@@ -186,14 +186,8 @@ static void fio_libaio_cleanup(struct thread_data *td)
 static int fio_libaio_init(struct thread_data *td)
 {
        struct libaio_data *ld = malloc(sizeof(*ld));
-       static int warn_print;
        int err;
 
-       if (td->o.iodepth > 1 && !td->o.odirect && !warn_print) {
-               log_info("fio: libaio engine is only async for non-buffered IO\n");
-               warn_print = 1;
-       }
-
        memset(ld, 0, sizeof(*ld));
 
        err = io_queue_init(td->o.iodepth, &ld->aio_ctx);