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)
commit70c6807675291c2c5ccb38cc9c81b45bcaed0ce1
tree70ad296d2b5fc5c57de96fccc689cdca27a1de21
parentba1891d26c7b5de23564aa55bf7e1c273afe040f
backend: count iterative bytes for progress

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>
backend.c