Skip to content

Commit

Permalink
cfq-iosched: log responsible 'cfqq' in idle timer arm
Browse files Browse the repository at this point in the history
Makes it easier to read the traces.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
  • Loading branch information
Jens Axboe committed Apr 15, 2009
1 parent 2d87072 commit 9481ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block/cfq-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/*
Expand Down

0 comments on commit 9481ffd

Please sign in to comment.