projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f02b9ac
)
blk-mq: add blktrace insert event trace
author
Jens Axboe
<axboe@kernel.dk>
Wed, 20 Nov 2013 01:59:10 +0000
(18:59 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 20 Nov 2013 02:00:45 +0000
(19:00 -0700)
We need it to make 'btt' from blktrace happy, otherwise
we are missing one state transition.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
patch
|
blob
|
blame
|
history
diff --git
a/block/blk-mq.c
b/block/blk-mq.c
index 32593dba4684476b1350f49a35e146b4ecc737dc..cdc629cf075b74f27f7801565ec3d90f3e299ce0 100644
(file)
--- 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);