X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Fposixaio.c;h=71601fdd31c8df937cc08498c04d308875135d5e;hp=ef4d78ebe8a58c03465eb33cdc58aa7f90b52d7c;hb=cec6b55da1c282b5b91ad346c7804171fccf151e;hpb=2fc2698113c087352c1851bf5ebfcad6adb53932 diff --git a/engines/posixaio.c b/engines/posixaio.c index ef4d78eb..71601fdd 100644 --- a/engines/posixaio.c +++ b/engines/posixaio.c @@ -67,8 +67,8 @@ static int fio_posixaio_prep(struct thread_data fio_unused *td, struct fio_file *f = io_u->file; aiocb->aio_fildes = f->fd; - aiocb->aio_buf = io_u->buf; - aiocb->aio_nbytes = io_u->buflen; + aiocb->aio_buf = io_u->xfer_buf; + aiocb->aio_nbytes = io_u->xfer_buflen; aiocb->aio_offset = io_u->offset; io_u->seen = 0;