X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=ioengine.h;h=044c4da1a150af8ce239cd0bc57ca14a75ef0c6a;hp=48a042bdcb6dc81c64fb9da5ed75c8ce203e69fc;hb=e97c14423a5688d7adfb342c16363c263cb741f9;hpb=03e20d687566753b90383571e5e152c5142bdffd diff --git a/ioengine.h b/ioengine.h index 48a042bd..044c4da1 100644 --- a/ioengine.h +++ b/ioengine.h @@ -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