Add Solaris native aio engine
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index a155518160757bf16e3d9fb7210d51a4da4e130d..b1792abe46e4e9eb81898679a21a8c28bfd72536 100644 (file)
--- a/fio.h
+++ b/fio.h
 #include <guasi.h>
 #endif
 
+#ifdef FIO_HAVE_SOLARISAIO
+#include <sys/asynch.h>
+#endif
+
 enum fio_ddir {
        DDIR_READ = 0,
        DDIR_WRITE,
@@ -126,6 +130,9 @@ struct io_u {
 #endif
 #ifdef FIO_HAVE_GUASI
                guasi_req_t greq;
+#endif
+#ifdef FIO_HAVE_SOLARISAIO
+               aio_result_t resultp;
 #endif
        };
        struct timeval start_time;