cfq-iosched: log responsible 'cfqq' in idle timer arm
authorJens Axboe <jens.axboe@oracle.com>
Wed, 15 Apr 2009 10:14:13 +0000 (12:14 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 15 Apr 2009 10:14:13 +0000 (12:14 +0200)
Makes it easier to read the traces.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c

index 579f318..090a4ee 100644 (file)
@@ -936,7 +936,7 @@ static void cfq_arm_slice_timer(struct cfq_data *cfqd)
                sl = min(sl, msecs_to_jiffies(CFQ_MIN_TT));
 
        mod_timer(&cfqd->idle_slice_timer, jiffies + sl);
-       cfq_log(cfqd, "arm_idle: %lu", sl);
+       cfq_log_cfqq(cfqd, cfqq, "arm_idle: %lu", sl);
 }
 
 /*