fix ramp_in
authorSigned-off-by Steven Pratt <slpratt@austin.ibm.com>
Tue, 14 Dec 2010 07:31:36 +0000 (08:31 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 14 Dec 2010 07:31:36 +0000 (08:31 +0100)
commitcda99fa0fcca41fc0d54ecaa2fd600162a8de5d3
treefb2e7135ca89456e0bfdcee90df2cb94c88d88d5
parentee72ca09d4657f6a805c113d9bc43428f4b28a89
fix ramp_in

There are a couple of problems with the relatively new ramp_in feature
of fio.  First, the estimated time to completion did not correctly take
it into account and bounces around.  Second and more importantly, the
runtime was including ramp in time in throughput calculations even
though the IO done during that time was ignored, thus making throughput
metrics incorrect. This patch fixes both.

Signed-off-by Steven Pratt <slpratt@austin.ibm.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
eta.c
fio.c
fio.h
stat.c