projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49b3a3c
)
cfq: fix the log message after dispatched a request
author
Shan Wei
<shanwei@cn.fujitsu.com>
Tue, 1 Sep 2009 08:06:42 +0000
(10:06 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 11 Sep 2009 12:34:33 +0000
(14:34 +0200)
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>
block/cfq-iosched.c
patch
|
blob
|
blame
|
history
diff --git
a/block/cfq-iosched.c
b/block/cfq-iosched.c
index f75a54bfc5473a2fa2f4064157807e87d81edfd7..a34686f091dbf1fedcf435ec19124405d422ac2a 100644
(file)
--- 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)
cfq_slice_expired(cfqd, 0);
}
- cfq_log
(cfqd
, "dispatched a request");
+ cfq_log
_cfqq(cfqd, cfqq
, "dispatched a request");
return 1;
}