blk-mq: remove extra requeue trace
authorJens Axboe <axboe@fb.com>
Fri, 2 May 2014 17:24:48 +0000 (11:24 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 2 May 2014 17:24:48 +0000 (11:24 -0600)
We already issue a blktrace requeue event in
__blk_mq_requeue_request(), don't do it from the original caller
as well.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c

index ca51ee4aa4851cf7b9d235d498bd86accf970c98..0d379830a278130adf4d316e8cae141599dd39b4 100644 (file)
@@ -427,13 +427,9 @@ static void __blk_mq_requeue_request(struct request *rq)
 
 void blk_mq_requeue_request(struct request *rq)
 {
-       struct request_queue *q = rq->q;
-
        __blk_mq_requeue_request(rq);
        blk_clear_rq_complete(rq);
 
-       trace_block_rq_requeue(q, rq);
-
        BUG_ON(blk_queued_rq(rq));
        blk_mq_insert_request(rq, true, true, false);
 }