Fix verify_only option not working properly
authorPuthikorn Voravootivat <puthik@chromium.org>
Mon, 3 Mar 2014 23:33:32 +0000 (15:33 -0800)
committerJens Axboe <axboe@fb.com>
Mon, 3 Mar 2014 23:48:13 +0000 (15:48 -0800)
commit2e63e96b79c5153a32bec2d442f1c9a5790c17f5
tree9c773f08160b081d88e406392cb52c46e079342a
parenta2879fea33ee8c701da766e2def867f7fb2d052e
Fix verify_only option not working properly

In commit c4b6117, we changed the place to call log_io_piece but
the new place won't be reached when using verify_only option so
that when we run with the verify_only option, fio won't verify
anything at all.

This patch fix that by also call the log_io_piece in the do_dry_run
function for the verify_only code path.

Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
backend.c