diff options
author | Jens Axboe <axboe@kernel.dk> | 2013-11-19 20:59:10 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-11-19 21:00:45 -0500 |
commit | 01b983c9fcfeea5774ca2df2e167b68c3c299278 (patch) | |
tree | be2bdbbd77472f73ec758f69b5320216c101a90b /block | |
parent | f02b9ac35a47dff745c7637fbc095f01cc03646e (diff) |
blk-mq: add blktrace insert event trace
We need it to make 'btt' from blktrace happy, otherwise
we are missing one state transition.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-mq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 32593dba4684..cdc629cf075b 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c | |||
@@ -721,6 +721,8 @@ static void __blk_mq_insert_request(struct blk_mq_hw_ctx *hctx, | |||
721 | { | 721 | { |
722 | struct blk_mq_ctx *ctx = rq->mq_ctx; | 722 | struct blk_mq_ctx *ctx = rq->mq_ctx; |
723 | 723 | ||
724 | trace_block_rq_insert(hctx->queue, rq); | ||
725 | |||
724 | list_add_tail(&rq->queuelist, &ctx->rq_list); | 726 | list_add_tail(&rq->queuelist, &ctx->rq_list); |
725 | blk_mq_hctx_mark_pending(hctx, ctx); | 727 | blk_mq_hctx_mark_pending(hctx, ctx); |
726 | 728 | ||