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: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
176167ad9e
commit
74814b1c55
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue