projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ea6209a
)
rdma: fixup compile issue
author
Jens Axboe
<axboe@kernel.dk>
Wed, 24 Oct 2012 12:06:35 +0000
(14:06 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 24 Oct 2012 12:06:35 +0000
(14:06 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/rdma.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/rdma.c
b/engines/rdma.c
index 87b061a2e61788563fff7ac05d69e06b1b8e3f29..4d81c7da65004f0b0eb2afa00ec5087eb103221f 100644
(file)
--- a/
engines/rdma.c
+++ b/
engines/rdma.c
@@
-46,6
+46,7
@@
#include <inttypes.h>
#include "../fio.h"
#include <inttypes.h>
#include "../fio.h"
+#include "../hash.h"
#ifdef FIO_HAVE_RDMA
#ifdef FIO_HAVE_RDMA
@@
-1212,7
+1213,7
@@
static int fio_rdmaio_setup(struct thread_data *td)
rd = malloc(sizeof(*rd));;
memset(rd, 0, sizeof(*rd));
rd = malloc(sizeof(*rd));;
memset(rd, 0, sizeof(*rd));
- init_rand_seed(&rd->rand_state, GOLDEN_RATIO_PRIME);
+ init_rand_seed(&rd->rand_state,
(unsigned int)
GOLDEN_RATIO_PRIME);
td->io_ops->data = rd;
}
td->io_ops->data = rd;
}