* [PATCH]cfq: fix the log message after dispatched a request
@ 2009-09-01 8:01 Shan Wei
2009-09-01 8:06 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Shan Wei @ 2009-09-01 8:01 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-kernel
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>
---
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 fd7080e..150c9dd 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -1362,7 +1362,7 @@ static int cfq_dispatch_requests(struct request_queue *q, int force)
cfq_slice_expired(cfqd, 0);
}
- cfq_log(cfqd, "dispatched a request");
+ cfq_log_cfqq(cfqd, cfqq, "dispatched a request");
return 1;
}
--
1.6.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-01 8:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-01 8:01 [PATCH]cfq: fix the log message after dispatched a request Shan Wei
2009-09-01 8:06 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox