diff options
author | Alan D. Brunelle <alan.brunelle@hp.com> | 2008-05-09 13:46:47 -0400 |
---|---|---|
committer | Alan D. Brunelle <alan.brunelle@hp.com> | 2008-05-09 13:46:47 -0400 |
commit | 354db430eeaced3b8234668e6527910875d54e50 (patch) | |
tree | 99576cf2e4861f7a4868501197b09465440dcb7d /btt/trace_queue.c | |
parent | f028c9584055737f429979e18ab7436583ed41b5 (diff) | |
download | blktrace-354db430eeaced3b8234668e6527910875d54e50.tar.gz blktrace-354db430eeaced3b8234668e6527910875d54e50.tar.bz2 |
Added S2G times + fixed up -X output to include X2X
Including Q2Q, Q2G, S2G, G2I, Q2M, I2D, M2D, D2C, Q2C.
S2G is part of Q2G, and shows the number of times we had to sleep to
get a request.
Ignored 0-byte I/Os - coming from barrier I/Os...
Diffstat (limited to 'btt/trace_queue.c')
-rw-r--r-- | btt/trace_queue.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/btt/trace_queue.c b/btt/trace_queue.c index 1237f34..82c5760 100644 --- a/btt/trace_queue.c +++ b/btt/trace_queue.c @@ -43,6 +43,9 @@ static void handle_queue(struct io *q_iop) void trace_queue(struct io *q_iop) { + if (q_iop->t.bytes == 0) + return; + if (io_setup(q_iop, IOP_Q)) handle_queue(q_iop); else |