log: fix missing entries
authorJens Axboe <axboe@fb.com>
Fri, 22 Jul 2016 18:34:53 +0000 (12:34 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 22 Jul 2016 18:34:53 +0000 (12:34 -0600)
commitd454a205f81e1b122020cb4fb469c5a0c9d3195f
treee2d805790fb33f08130b24d6aab80a4d7520daae
parent78abcf9b17b56997cdfa75af79cbcf468276e4f9
log: fix missing entries

If the timing is just off, we could miss adding entries to
an averaged iops or bandwidth log. Allow a bit of slack for
that, similarly to what we do elsewhere.

Fixes: a47591e4923f ("Improve logging accuracy")
Signed-off-by: Jens Axboe <axboe@fb.com>
stat.c