commit | 01b983c9fcfeea5774ca2df2e167b68c3c299278 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Nov 19 18:59:10 2013 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Nov 19 19:00:45 2013 -0700 |
tree | be2bdbbd77472f73ec758f69b5320216c101a90b | |
parent | f02b9ac35a47dff745c7637fbc095f01cc03646e [diff] [blame] |
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>
diff --git a/block/blk-mq.c b/block/blk-mq.c index 32593db..cdc629c 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c
@@ -721,6 +721,8 @@ { struct blk_mq_ctx *ctx = rq->mq_ctx; + trace_block_rq_insert(hctx->queue, rq); + list_add_tail(&rq->queuelist, &ctx->rq_list); blk_mq_hctx_mark_pending(hctx, ctx);