projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2041bd3
)
engines/libaio: use maximum buffer size for fixed user bufs
author
Jens Axboe
<axboe@kernel.dk>
Wed, 28 Nov 2018 02:43:30 +0000
(19:43 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 28 Nov 2018 02:43:30 +0000
(19:43 -0700)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/libaio.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/libaio.c
b/engines/libaio.c
index e0a073bc29add192e1eb24618d8a8d536a40f81e..d386d144fe84448d4541c2340e7cb670cb28847a 100644
(file)
--- a/
engines/libaio.c
+++ b/
engines/libaio.c
@@
-467,7
+467,7
@@
static int fio_libaio_post_init(struct thread_data *td)
io_u = ld->io_u_index[i];
iocb = &ld->user_iocbs[i];
iocb->u.c.buf = io_u->buf;
- iocb->u.c.nbytes =
io_u->buflen
;
+ iocb->u.c.nbytes =
td_max_bs(td)
;
}
}