diff options
author | Jens Axboe <axboe@fb.com> | 2014-05-02 11:24:48 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-05-02 11:24:48 -0600 |
commit | 74814b1c5569f5503727cf3052a52e2349818409 (patch) | |
tree | 0c0ce85baec2a00058b45da116203d7d9d9568e2 | |
parent | 176167ad9e44df221454e65e2ea83c3079950073 (diff) | |
download | linux-stable-74814b1c5569f5503727cf3052a52e2349818409.tar.gz linux-stable-74814b1c5569f5503727cf3052a52e2349818409.tar.bz2 linux-stable-74814b1c5569f5503727cf3052a52e2349818409.zip |
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>
-rw-r--r-- | block/blk-mq.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index ca51ee4aa485..0d379830a278 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -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); } |