Changed triggering on INSERT to GETRQ (temporary?)

From:  Alan D. Brunelle <[EMAIL PROTECTED]>
Signed-off-by: Alan D. Brunelle <[EMAIL PROTECTED]

This is backwards compatible with previous versions, with the one
difference being that the Q2I information may be a bit shorter. 

The changes forthcoming with the explicit unplugging (2.6.20 + Jens'
unplag patches) require this. We may need to redefine and/or add a new
measurement once that settles down. When that happens, we'll most likely be
renaming things to better reflect GETRQ versus INSERT.

diff --git a/btt/trace.c b/btt/trace.c
index f9733bf..bca4161 100644
--- a/btt/trace.c
+++ b/btt/trace.c
@@ -99,7 +99,7 @@ #endif
        switch (iop->t.action & 0xffff) {
        case __BLK_TA_QUEUE:            trace_queue(iop); break;
        case __BLK_TA_REMAP:            trace_remap(iop); break;
-       case __BLK_TA_INSERT:           trace_insert(iop); break;
+       case __BLK_TA_GETRQ:            trace_insert(iop); break;
        case __BLK_TA_BACKMERGE:        trace_merge(iop); break;
        case __BLK_TA_FRONTMERGE:       trace_merge(iop); break;
        case __BLK_TA_REQUEUE:          trace_requeue(iop); break;

Reply via email to