summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-01-12 08:59:12 +0100
committerJens Axboe <jaxboe@fusionio.com>2011-01-12 08:59:12 +0100
commit4aae38a645f3315ca2f8cc57a7ec4110ba7d8319 (patch)
tree54a86b934b33d657dbef8fa6d2ca7da9c2b30eaf
parentc50ca7bd6d5b84e24e9ddcdb1765fb4070804503 (diff)
downloadfio-4aae38a645f3315ca2f8cc57a7ec4110ba7d8319.tar.gz
fio-4aae38a645f3315ca2f8cc57a7ec4110ba7d8319.tar.bz2
Ensure that random_seed is also added to dummy io_buf for dumping
Now everything verifies correctly. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r--verify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/verify.c b/verify.c
index 01e25426..b0599942 100644
--- a/verify.c
+++ b/verify.c
@@ -254,6 +254,7 @@ static void dump_verify_buffers(struct verify_header *hdr, struct vcont *vc)
buf = malloc(io_u->buflen);
dummy = *io_u;
dummy.buf = buf;
+ dummy.rand_seed = hdr->rand_seed;
fill_pattern_headers(td, &dummy, hdr->rand_seed, 1);