Add checksum to verify_header
authorJens Axboe <axboe@kernel.dk>
Wed, 22 Feb 2012 19:11:57 +0000 (20:11 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Feb 2012 19:11:57 +0000 (20:11 +0100)
commitf65d1c2663ac6007eac1a2063fe25b4275d013e4
tree87c254b56c1c0c45cbc3c4381cb3a32e67910064
parent8e8b225d177c8e824785a87a1116309049a27a7c
Add checksum to verify_header

Currently we don't know if the verify_header itself is
valid when pulled off a disk. While it will fail verify
if it is, fio might then confuse the 'expected' and
'received' data since it re-generates the corrupted
crc with the seed stored. But if the seed is corrupt,
then we fail.

So checksum the verify header, so that we know for a fact
whether the header is valid or not.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
verify.c
verify.h