verify: use origina offset for verification
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 63a42f9f283fd4bd5777d835b4d8adab5cf2c0ab..d8d60e052327cb15771937ea7c5249c163be47c1 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -464,6 +464,7 @@ static int get_next_block(struct thread_data *td, struct io_u *io_u,
                        log_err("fio: bug in offset generation: offset=%llu, b=%llu\n", (unsigned long long) offset, (unsigned long long) b);
                        ret = 1;
                }
+               io_u->verify_offset = io_u->offset;
        }
 
        return ret;