projects
/
platform
/
upstream
/
kernel-adaptation-pc.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
|
history
diff --git
a/block/elevator.c
b/block/elevator.c
index
980f8ae
..
902dd13
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: