verify: use log_verify_failure() for pattern verifies
authorJens Axboe <axboe@fb.com>
Thu, 5 Jan 2017 16:38:50 +0000 (09:38 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 5 Jan 2017 16:38:50 +0000 (09:38 -0700)
Similar to the other verify types, otherwise we don't get
the absolute offset logged.

Signed-off-by: Jens Axboe <axboe@fb.com>
verify.c

index 8733febc7a545b3a51c9ee722fb9b872e77e736d..e63a8392cdebc713991af1b44ab66ad56b38c8c8 100644 (file)
--- a/verify.c
+++ b/verify.c
@@ -393,7 +393,7 @@ static int verify_io_u_pattern(struct verify_header *hdr, struct vcont *vc)
                                (unsigned char)pattern[mod],
                                bits);
                        log_err("fio: bad pattern block offset %u\n", i);
                                (unsigned char)pattern[mod],
                                bits);
                        log_err("fio: bad pattern block offset %u\n", i);
-                       dump_verify_buffers(hdr, vc);
+                       log_verify_failure(hdr, vc);
                        return EILSEQ;
                }
                mod++;
                        return EILSEQ;
                }
                mod++;