RDMA IO engine
[fio.git] / ioengine.h
index 48a042bdcb6dc81c64fb9da5ed75c8ce203e69fc..75c2c1ad222687f928e9c46fc5103d5c859035be 100644 (file)
@@ -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