X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=io_u.c;h=da6fe8f3af0a55f2f0a26680f257b78f6996d0de;hp=5e53b81443cda688bdb42163dc2a5af4cc28fe04;hb=cec6b55da1c282b5b91ad346c7804171fccf151e;hpb=2fc2698113c087352c1851bf5ebfcad6adb53932;ds=sidebyside diff --git a/io_u.c b/io_u.c index 5e53b814..da6fe8f3 100644 --- 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; } + io_u->xfer_buf = io_u->buf; + io_u->xfer_buflen = io_u->buflen; fio_gettime(&io_u->start_time, NULL); return io_u; }