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 579f318224693bcb6a68fb4e8e90364dec31f69a..090a4ee75b9d4c6064faab0f8ba5372ae23406be 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);
 }
 
 /*