From: Alan D. Brunelle Date: Tue, 27 May 2008 12:55:00 +0000 (+0200) Subject: Added in elevator switch message to blktrace stream X-Git-Tag: v2.6.26-rc5~43^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4722dc52a891ab6cb2d637ddb87233e0ce277827;p=linux-2.6-omap-h63xx.git Added in elevator switch message to blktrace stream Signed-off-by: Alan D. Brunelle Signed-off-by: Jens Axboe --- diff --git a/block/elevator.c b/block/elevator.c index 980f8ae147b..902dd1344d5 100644 --- 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: