projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
client/server: request ETA instead of having the server send it automatically
[fio.git]
/
ioengine.h
diff --git
a/ioengine.h
b/ioengine.h
index 48a042bdcb6dc81c64fb9da5ed75c8ce203e69fc..044c4da1a150af8ce239cd0bc57ca14a75ef0c6a 100644
(file)
--- a/
ioengine.h
+++ b/
ioengine.h
@@
-22,7
+22,7
@@
struct io_u {
struct iocb iocb;
#endif
#ifdef FIO_HAVE_POSIXAIO
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;
#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_BINJECT
struct b_user_cmd buc;
+#endif
+#ifdef FIO_HAVE_RDMA
+ struct ibv_mr *mr;
#endif
void *mmap_data;
};
#endif
void *mmap_data;
};
@@
-48,6
+51,11
@@
struct io_u {
unsigned long buflen;
unsigned long long offset;
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
/*
* IO engine state, may be different from above when we get
* partial transfers / residual data counts