diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2009-09-01 04:06:42 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-09-11 08:34:33 -0400 |
commit | b217a903ab6581cba04f88c44284dcdd2a752561 (patch) | |
tree | 4cb565ead13823c45ed325b20b83ecd78f52a565 /block | |
parent | 49b3a3cbc0311f8f809183696b1f2ab824b18a51 (diff) |
cfq: fix the log message after dispatched a request
The blktrace tools can show process id when cfq dispatched a request,
using cfq_log_cfqq() instead of cfq_log().
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/cfq-iosched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index f75a54bfc547..a34686f091db 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c | |||
@@ -1349,7 +1349,7 @@ static int cfq_dispatch_requests(struct request_queue *q, int force) | |||
1349 | cfq_slice_expired(cfqd, 0); | 1349 | cfq_slice_expired(cfqd, 0); |
1350 | } | 1350 | } |
1351 | 1351 | ||
1352 | cfq_log(cfqd, "dispatched a request"); | 1352 | cfq_log_cfqq(cfqd, cfqq, "dispatched a request"); |
1353 | return 1; | 1353 | return 1; |
1354 | } | 1354 | } |
1355 | 1355 | ||