backend: fix a case where we complain about no IO being done
authorJens Axboe <axboe@kernel.dk>
Thu, 28 Sep 2017 12:58:23 +0000 (06:58 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 28 Sep 2017 12:58:23 +0000 (06:58 -0600)
commitc16035aadd600a3a4c4b241339e3d3099f56c4b2
tree9952dd4a5fb866f2e2bc2895a9745df7d69490a5
parentb6b662b64c70bf043bbafd654f9bf98513ea5dc9
backend: fix a case where we complain about no IO being done

If we're just doing a read phase verify, then we clear
bytes_done before we can check it at the end. Ensure that we
always notice if we did IO, so we don't spew this warning:

job_0: No I/O performed by libaio, perhaps try --debug=io option for details?

when we actually did do exactly what we had to.

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