diff options
-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 6914f9bd470a..473ce4039060 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c | |||
@@ -190,6 +190,8 @@ static void blk_mq_rq_ctx_init(struct request_queue *q, struct blk_mq_ctx *ctx, | |||
190 | 190 | ||
191 | rq->mq_ctx = ctx; | 191 | rq->mq_ctx = ctx; |
192 | rq->cmd_flags = rw_flags; | 192 | rq->cmd_flags = rw_flags; |
193 | rq->start_time = jiffies; | ||
194 | set_start_time_ns(rq); | ||
193 | ctx->rq_dispatched[rw_is_sync(rw_flags)]++; | 195 | ctx->rq_dispatched[rw_is_sync(rw_flags)]++; |
194 | } | 196 | } |
195 | 197 | ||