Merge branch 'master' of ssh://brick.kernel.dk/data/git/fio
[fio.git] / verify.c
index f2ef10792a2c53969a894b94cccc3d8788ee9e07..6cbd0add35d2683186771a20f8b3079cb8079f5b 100644 (file)
--- a/verify.c
+++ b/verify.c
@@ -143,6 +143,12 @@ int get_next_verify(struct thread_data *td, struct io_u *io_u)
 {
        struct io_piece *ipo;
 
+       /*
+        * this io_u is from a requeue, we already filled the offsets
+        */
+       if (io_u->file)
+               return 0;
+
        if (!list_empty(&td->io_hist_list)) {
                ipo = list_entry(td->io_hist_list.next, struct io_piece, list);