Revert "blk-mq: initialize req->q in allocation"
authorJens Axboe <axboe@fb.com>
Thu, 24 Apr 2014 14:50:38 +0000 (08:50 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:46 +0000 (12:54 -0600)
commit13c6dad7ba47680c639186b44e57009b906e86c4
tree22efd63335f51b6b37f299a837647fc708925e6d
parent682ca198be8a41bfb6d2b76a0ce1b562d4b8e94c
Revert "blk-mq: initialize req->q in allocation"

This reverts commit 6a3c8a3ac0e68dcfc2a01f4aa1ca0edd1a1701eb.

We need selective clearing of the request to make the init-at-free
time completely safe. Otherwise we end up stomping on
rq->atomic_flags, which we don't want to do.
block/blk-mq.c