summaryrefslogtreecommitdiff
path: root/btt/trace_complete.c
diff options
context:
space:
mode:
authorAlan D. Brunelle <alan.brunelle@hp.com>2008-10-16 10:53:07 -0400
committerAlan D. Brunelle <alan.brunelle@hp.com>2008-10-16 10:56:12 -0400
commit4ae2c3c6215de3f9016b5211ac83893cb061b1e1 (patch)
tree885595ee9490c469bd299b9e8a700924aafb004f /btt/trace_complete.c
parentc54b9dd9a993fc76f3649279e6a4295f6aba2054 (diff)
downloadblktrace-4ae2c3c6215de3f9016b5211ac83893cb061b1e1.tar.gz
blktrace-4ae2c3c6215de3f9016b5211ac83893cb061b1e1.tar.bz2
Added in -Q / --active-queue-depth option
This will output a data file containing the time stamp and number of I/Os issued to underlying drivers per device. It will give you an idea as to how many I/Os are being actively worked per device at any time during the run.
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 41bcb7d..e8773e3 100644
--- a/btt/trace_complete.c
+++ b/btt/trace_complete.c
@@ -59,6 +59,7 @@ static void handle_complete(struct io *c_iop)
update_cregion(&c_iop->dip->regions, c_iop->t.time);
if (c_iop->pip)
update_cregion(&c_iop->pip->regions, c_iop->t.time);
+ aqd_complete(c_iop->dip->aqd_handle, BIT_TIME(c_iop->t.time));
dip_foreach_list(c_iop, IOP_Q, &head);
list_for_each_safe(p, q, &head) {