commit | 742ee69b92d9559e968f70cf0a49157866f8fbef | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Apr 14 10:30:06 2014 +0200 |
committer | Jens Axboe <axboe@fb.com> | Tue Apr 15 14:03:02 2014 -0600 |
tree | b3db69eba9482e09ee9a9e8226d59ddf861ddad5 | |
parent | b4f42e2831ff9b9fa19252265d7c8985d47eefb9 [diff] [blame] |
blk-mq: initialize resid_len Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/block/blk-mq.c b/block/blk-mq.c index 5455ed1..658428a 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c
@@ -353,6 +353,8 @@ trace_block_rq_issue(q, rq); + rq->resid_len = blk_rq_bytes(rq); + /* * Just mark start time and set the started bit. Due to memory * ordering, we know we'll see the correct deadline as long as