diff options
author | Alan D. Brunelle <Alan.Brunelle@hp.com> | 2008-05-27 14:55:00 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-05-28 14:49:27 +0200 |
commit | 4722dc52a891ab6cb2d637ddb87233e0ce277827 (patch) | |
tree | c5cd2a670edcedf5a8f35028509ab7fd841e2029 /block/elevator.c | |
parent | 9d5f09a424a67ddb959829894efb4c71cbf6d600 (diff) | |
download | linux-3.10-4722dc52a891ab6cb2d637ddb87233e0ce277827.tar.gz linux-3.10-4722dc52a891ab6cb2d637ddb87233e0ce277827.tar.bz2 linux-3.10-4722dc52a891ab6cb2d637ddb87233e0ce277827.zip |
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>
Diffstat (limited to 'block/elevator.c')
-rw-r--r-- | block/elevator.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |