projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure that buffer contents are random across jobs as well
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 16c98b1f454869c43e4862b91c57b1278898de28..a87c58e32791e35cfbb770c705a2c34c9b41ee17 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-1450,7
+1450,7
@@
void io_u_fill_buffer(struct thread_data *td, struct io_u *io_u,
io_u->buf_filled_len = 0;
if (!td->o.zero_buffers)
- fill_random_buf(io_u->buf, max_bs);
+ fill_random_buf(
&td->buf_state,
io_u->buf, max_bs);
else
memset(io_u->buf, 0, max_bs);
}