commit | 4722dc52a891ab6cb2d637ddb87233e0ce277827 | [log] [tgz] |
---|---|---|
author | Alan D. Brunelle <Alan.Brunelle@hp.com> | Tue May 27 14:55:00 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed May 28 14:49:27 2008 +0200 |
tree | c5cd2a670edcedf5a8f35028509ab7fd841e2029 | |
parent | 9d5f09a424a67ddb959829894efb4c71cbf6d600 [diff] [blame] |
Added in elevator switch message to blktrace stream Signed-off-by: Alan D. Brunelle <alan.brunelle@hp.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/block/elevator.c b/block/elevator.c index 980f8ae..902dd13 100644 --- a/block/elevator.c +++ b/block/elevator.c
@@ -1110,6 +1110,8 @@ 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: