backend: only terminate multiple loops if we did no IO
authorJens Axboe <axboe@fb.com>
Mon, 21 Dec 2015 17:01:40 +0000 (10:01 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 21 Dec 2015 17:01:40 +0000 (10:01 -0700)
Commit 095196b1e76b introduced a stop point if do_io() returned
nothing, but that only counts writes and trims. Change that to
count all types of IO.

Fixes: 095196b1e76b ("backend: terminate loop if we didn't do IO")
Signed-off-by: Jens Axboe <axboe@fb.com>

No differences found