summaryrefslogtreecommitdiff
path: root/btt/trace_complete.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-04-19 19:15:27 +0200
committerJens Axboe <jens.axboe@oracle.com>2010-04-19 19:15:27 +0200
commit014b0ea19762341e217d463308710c3662d50e9c (patch)
treead4cf6beb6c3dfe3f5b0a0b207747646cf9fa835 /btt/trace_complete.c
parenta2b1f3550a0bd4ab9e351bd2881fab1f1340bf1e (diff)
parent6abaea7a340536c6afa5944e3fa63831729dfed3 (diff)
downloadblktrace-014b0ea19762341e217d463308710c3662d50e9c.tar.gz
blktrace-014b0ea19762341e217d463308710c3662d50e9c.tar.bz2
Merge branch 'master' of ssh://router.home.kernel.dk/data/git/blktrace
Diffstat (limited to 'btt/trace_complete.c')
-rw-r--r--btt/trace_complete.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/btt/trace_complete.c b/btt/trace_complete.c
index d34fbd0..44732c5 100644
--- a/btt/trace_complete.c
+++ b/btt/trace_complete.c
@@ -78,6 +78,7 @@ static void handle_complete(struct io *c_iop)
if (q_iop->d_time != (__u64)-1) {
__u64 d2c = tdelta(q_iop->d_time, c_iop->t.time);
+ p_live_add(q_iop->dip, q_iop->d_time, c_iop->t.time);
update_d2c(q_iop, d2c);
latency_d2c(q_iop->dip, c_iop->t.time, d2c);
iostat_complete(q_iop, c_iop);