backend: count iterative bytes for progress
authorJens Axboe <axboe@fb.com>
Sat, 19 Dec 2015 05:33:35 +0000 (22:33 -0700)
committerJens Axboe <axboe@fb.com>
Sat, 19 Dec 2015 05:33:35 +0000 (22:33 -0700)
Commit ac28d9053679 changed it so we don't clear ->bytes_done[]
necessarily for each loop. However, this introduced a busy loop
where we this we did IO and continue to loop, but we really
didn't.

Fixes: ac28d9053679 ("Fixup bw/iops logging for short runs")
Signed-off-by: Jens Axboe <axboe@fb.com>

No differences found