Log bad veify header location
Hi,
Can we please add the bad verify header location when the header MAGIC_NUMBER does not match.
Thanks
-radha
verify.c +1 -1
@@ -478,7 +478,8 @@ int verify_io_u(struct thread_data *td, struct io_u *io_u) hdr = p;if (hdr->fio_magic !=FIO_HDR_MAGIC ) { -log_err ("Bad verify header %x\n" , hdr->fio_magic); + log_err("Bad verify header %x at %llu\n",
hdr->fio_magic,
+ io_u->offset + hdr_num * hdr->len);
return EILSEQ;
}Quoted 3 lines · Radha Ramachandran
Hi,
Can we please add the bad verify header location when the headerMAGIC_NUMBERdoes not match.
Committed, thanks.
Signature · 1 line
Jens Axboe