The following changes since commit d09dddd5c45d5056bd101ae0c4e9acacce2ee56b: Fio 2.1.1 (2013-06-05 16:55:53 +0200) are available in the git repository at: git://git.kernel.dk/fio.git master Josef Bacik (2): Make sure io_u->buflen is aligned to the verify_interval Init buflen for our dummy buffer io_u.c | 4 ++++ verify.c | 1 + 2 files changed, 5 insertions(+), 0 deletions(-) --- Diff of recent changes: diff --git a/io_u.c b/io_u.c index 11672cf..865c582 100644 --- a/io_u.c +++ b/io_u.c @@ -459,6 +459,10 @@ static unsigned int __get_next_buflen(struct thread_data *td, struct io_u *io_u) } } + if (td->o.do_verify && td->o.verify != VERIFY_NONE) + buflen = (buflen + td->o.verify_interval - 1) & + ~(td->o.verify_interval - 1); + if (!td->o.bs_unaligned && is_power_of_2(minbs)) buflen = (buflen + minbs - 1) & ~(minbs - 1); diff --git a/verify.c b/verify.c index b3cd402..9e88d61 100644 --- a/verify.c +++ b/verify.c @@ -273,6 +273,7 @@ static void dump_verify_buffers(struct verify_header *hdr, struct vcont *vc) dummy.buf = buf; dummy.rand_seed = hdr->rand_seed; dummy.buf_filled_len = 0; + dummy.buflen = io_u->buflen; fill_pattern_headers(td, &dummy, hdr->rand_seed, 1); -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html