From: Jens Axboe Date: Wed, 20 Nov 2013 01:59:10 +0000 (-0700) Subject: blk-mq: add blktrace insert event trace X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=01b983c9fcfeea5774ca2df2e167b68c3c299278;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 --- 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, { 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);