Re: [PATCH] Offset verification header by a user-specified distance

From: Jens Axboe <>
Date: Sat, 28 Jul 2007 21:34:40 +0200

On Fri, Jul 27 2007, Shawn Lewis wrote:
> Offset verification header by user specified distance.
> - Implementation is somewhat simple and probably not ideal but it works. The
> header is just swapped with the bytes at offset after the chunk has been
> filled during populate. Everything is swapped back before verify.
> - Also fixes a bug where we were relying on a moving pointer for increment
> size in populate_verify_io_u (which was working until this patch).
> - Also cleans up a couple smalls things from the header_interval patch.

Thanks Shawn, I applied this and the previous. I changed a few things in
later commits, the primary one being setting a valid low value for
header_interval. If you set eg 8 which is smaller than the verify_header
structure, fio would segfault. Plus the value isn't really legal, you
have to leave room for actual dat.

Jens Axboe
Received on Sat Jul 28 2007 - 21:34:40 CEST

This archive was generated by hypermail 2.2.0 : Sat Jul 28 2007 - 22:00:01 CEST