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>
Thu, 24 Apr 2014 14:50:38 +0000 (08:50 -0600)
commit70ab0b2d51f84fc7d9eb6ed81c3986595efaa33d
treeed51da2f84f01b6b76f7c5a0163e1f18ffd12318
parent981bd189f80f34c07ac0d87e4760d09bcda5f4cb
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