Fix aiocb compile warnings on HPUX
[fio.git] / ioengine.h
index 48a042bdcb6dc81c64fb9da5ed75c8ce203e69fc..044c4da1a150af8ce239cd0bc57ca14a75ef0c6a 100644 (file)
@@ -22,7 +22,7 @@ struct io_u {
                struct iocb iocb;
 #endif
 #ifdef FIO_HAVE_POSIXAIO
-               struct aiocb aiocb;
+               os_aiocb_t aiocb;
 #endif
 #ifdef FIO_HAVE_SGIO
                struct sg_io_hdr hdr;
@@ -35,6 +35,9 @@ struct io_u {
 #endif
 #ifdef FIO_HAVE_BINJECT
                struct b_user_cmd buc;
+#endif
+#ifdef FIO_HAVE_RDMA
+               struct ibv_mr *mr;
 #endif
                void *mmap_data;
        };
@@ -48,6 +51,11 @@ struct io_u {
        unsigned long buflen;
        unsigned long long offset;
 
+       /*
+        * Initial seed for generating the buffer contents
+        */
+       unsigned long rand_seed;
+
        /*
         * IO engine state, may be different from above when we get
         * partial transfers / residual data counts