Commit 74814b1c authored by Jens Axboe's avatar Jens Axboe

blk-mq: remove extra requeue trace

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: default avatarJens Axboe <axboe@fb.com>
parent 176167ad
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment