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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4722dc52a891ab6cb2d637ddb87233e0ce277827;p=linux-beck.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 980f8ae147b4..902dd1344d56 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: