commit | 3545a109a2cfe5ab22969ef453dc049db47f0b68 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jaxboe@fusionio.com> | Wed Aug 31 15:20:15 2011 -0600 |
committer | Jens Axboe <jaxboe@fusionio.com> | Wed Aug 31 15:20:15 2011 -0600 |
tree | 09a870c6f5fcbf631e079026a791c8905e2b610f | |
parent | ce952ab65a46f728ffada9613bb50ace7aeaa7c8 [diff] [blame] |
Ensure that buffer contents are random across jobs as well Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
diff --git a/io_u.c b/io_u.c index 16c98b1..a87c58e 100644 --- a/io_u.c +++ b/io_u.c
@@ -1450,7 +1450,7 @@ 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); }