Fix for hosed end-of-run log numbers
authorJens Axboe <axboe@kernel.dk>
Wed, 5 Oct 2011 12:07:07 +0000 (14:07 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 5 Oct 2011 12:07:07 +0000 (14:07 +0200)
commit5f03ff75ff84cd473ae7060415d5f85039f07ab7
treed84fb534b3a037db82fe700e4f31779c1fe4502e
parentd386ed1d0be7c99a4b63f43d9dc1a3f27907abf1
Fix for hosed end-of-run log numbers

For queued IO workloads, we complete the pending count in one
go at the end of the run. But the completion time isn't updated,
so we end up getting a lot of tail log entries that are identical
if the timing is against us.

Fix this by only accounting the first of the last batch of ios.

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