From 354db430eeaced3b8234668e6527910875d54e50 Mon Sep 17 00:00:00 2001 From: "Alan D. Brunelle" Date: Fri, 9 May 2008 13:46:47 -0400 Subject: 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... --- btt/trace_complete.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'btt/trace_complete.c') diff --git a/btt/trace_complete.c b/btt/trace_complete.c index 50f3cfa..41bcb7d 100644 --- a/btt/trace_complete.c +++ b/btt/trace_complete.c @@ -92,6 +92,9 @@ static void handle_complete(struct io *c_iop) void trace_complete(struct io *c_iop) { + if (c_iop->t.bytes == 0) + return; + if (io_setup(c_iop, IOP_C)) handle_complete(c_iop); -- cgit v1.2.3