Adds verify_only option
authorJuan Casse <jcasse@chromium.org>
Tue, 17 Sep 2013 21:06:13 +0000 (14:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Jan 2014 20:05:45 +0000 (12:05 -0800)
commit621677626f2551bedfdc4a5fc3b3e5f8492b94fa
tree117ebd0a1159b7c5bfff1fd576e013d7740d53f0
parentda0a7bd224bb9331f27bb4b20394dd5c8fa3acb0
Adds verify_only option

When this option is set, a dry run (no actual io is performed) of the
workload will be done in order to compute the numberio for each block
header without overwriting the data on disk. Then, do_verify() will be
effectively verifying data that was written in a previous fio run.
In the case that "loops" is set to more than 1, do_verify() will delay
the verification of numberio to the last iteration when the same
numberio state that would have been written to disk in a previous
fio run has been reached.

Signed-off-by: Juan Casse <jcasse@chromium.org>
Reviewed-by: Grant Grundler <grundler@chromium.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
HOWTO
backend.c
options.c
thread_options.h
verify.c