eta: ETA bandwidth was off by 1.024
authorJens Axboe <axboe@kernel.dk>
Fri, 11 May 2012 18:33:02 +0000 (20:33 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 11 May 2012 18:33:02 +0000 (20:33 +0200)
commitb7f05eb03c84bdc1259d1bb1c348328b16164430
treea8bf1a5ad24ac951fc70a9489ea3e8afa5c737e9
parente01e9745a693f08172105ec0b677e0c1187eb123
eta: ETA bandwidth was off by 1.024

Same fix as 033bbb51 essentially. Since mtime is a 1000th of a second,
for the usual option of having 1024 be the KB base, we end up being
off by 1.024 if we don't multiply by 1000 before dividing by the
runtime (and then dividing by 1024 to get to next power-of-2).

Signed-off-by: Jens Axboe <axboe@kernel.dk>
client.c
eta.c
server.c
server.h
stat.h