[PATCH] Support residual io counts from io engines
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 5e53b81443cda688bdb42163dc2a5af4cc28fe04..da6fe8f3af0a55f2f0a26680f257b78f6996d0de 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -322,6 +322,8 @@ struct io_u *get_io_u(struct thread_data *td, struct fio_file *f)
                return NULL;
        }
 
                return NULL;
        }
 
+       io_u->xfer_buf = io_u->buf;
+       io_u->xfer_buflen = io_u->buflen;
        fio_gettime(&io_u->start_time, NULL);
        return io_u;
 }
        fio_gettime(&io_u->start_time, NULL);
        return io_u;
 }