aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/blk-mq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 5455ed19de1c..658428a28faf 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -353,6 +353,8 @@ static void blk_mq_start_request(struct request *rq, bool last)
353 353
354 trace_block_rq_issue(q, rq); 354 trace_block_rq_issue(q, rq);
355 355
356 rq->resid_len = blk_rq_bytes(rq);
357
356 /* 358 /*
357 * Just mark start time and set the started bit. Due to memory 359 * Just mark start time and set the started bit. Due to memory
358 * ordering, we know we'll see the correct deadline as long as 360 * ordering, we know we'll see the correct deadline as long as