commit | 6a3c8a3ac0e68dcfc2a01f4aa1ca0edd1a1701eb | [log] [tgz] |
---|---|---|
author | Ming Lei <tom.leiming@gmail.com> | Sat Apr 19 18:00:19 2014 +0800 |
committer | Jens Axboe <axboe@fb.com> | Mon Apr 21 10:38:39 2014 -0600 |
tree | b3735b853db300ba05524362eba756626a411019 | |
parent | 4ca085009f447abc1c818f8802e908e9afdd77fa [diff] |
blk-mq: initialize req->q in allocation The patch basically reverts the patch of(blk-mq: initialize request on allocation) in Jens's tree(already in -next), and only initialize req->q in allocation for two reasons: - presumed cache hotness on completion - blk_rq_tagged(rq) depends on reset of req->mq_ctx Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>