projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d5f09a
)
Added in elevator switch message to blktrace stream
author
Alan D. Brunelle
<Alan.Brunelle@hp.com>
Tue, 27 May 2008 12:55:00 +0000
(14:55 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 28 May 2008 12:49:27 +0000
(14:49 +0200)
Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/elevator.c
patch
|
blob
|
blame
|
history
diff --git
a/block/elevator.c
b/block/elevator.c
index 980f8ae147b4c396b15886be25bd9b2342322472..902dd1344d56dfb9000ba5701dbb250bcf835d27 100644
(file)
--- a/
block/elevator.c
+++ b/
block/elevator.c
@@
-1110,6
+1110,8
@@
static int elevator_switch(struct request_queue *q, struct elevator_type *new_e)
queue_flag_clear(QUEUE_FLAG_ELVSWITCH, q);
spin_unlock_irq(q->queue_lock);
+ blk_add_trace_msg(q, "elv switch: %s", e->elevator_type->elevator_name);
+
return 1;
fail_register: