X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Frdma.c;h=8d31ff307b6cfd21260bbd5b82013ed35a2e0bd7;hb=f5c3bcf2fd64d2e3e0869346a34e6627f177076f;hp=fbe8434406b72e37fd88cf20ca46114b0b001914;hpb=565e784df05c2529479eed8a38701a33b01894bd;p=fio.git diff --git a/engines/rdma.c b/engines/rdma.c index fbe84344..8d31ff30 100644 --- a/engines/rdma.c +++ b/engines/rdma.c @@ -802,7 +802,7 @@ static void fio_rdmaio_queued(struct thread_data *td, struct io_u **io_us, unsigned int nr) { struct rdmaio_data *rd = td->io_ops_data; - struct timeval now; + struct timespec now; unsigned int i; if (!fio_fill_issue_time(td)) @@ -881,7 +881,7 @@ static int fio_rdmaio_connect(struct thread_data *td, struct fio_file *f) rd->send_buf.nr = htonl(td->o.iodepth); if (ibv_post_send(rd->qp, &rd->sq_wr, &bad_wr) != 0) { - log_err("fio: ibv_post_send fail: %m"); + log_err("fio: ibv_post_send fail: %m\n"); return 1; } @@ -932,7 +932,7 @@ static int fio_rdmaio_accept(struct thread_data *td, struct fio_file *f) ret = rdma_poll_wait(td, IBV_WC_RECV) < 0; if (ibv_post_send(rd->qp, &rd->sq_wr, &bad_wr) != 0) { - log_err("fio: ibv_post_send fail: %m"); + log_err("fio: ibv_post_send fail: %m\n"); return 1; } @@ -965,7 +965,7 @@ static int fio_rdmaio_close_file(struct thread_data *td, struct fio_file *f) || (rd->rdma_protocol == FIO_RDMA_MEM_READ))) { if (ibv_post_send(rd->qp, &rd->sq_wr, &bad_wr) != 0) { - log_err("fio: ibv_post_send fail: %m"); + log_err("fio: ibv_post_send fail: %m\n"); return 1; }