]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited7234578d2d76481c106dd3c7f8be27c5342dec
treeed51da2f84f01b6b76f7c5a0163e1f18ffd12318
parent7923d07d772ae9f7125e3b4d6be36e57fc55082d
Revert "blk-mq: initialize req->q in allocation"

This reverts commit cea3033e03662610f86dd538181ad5b0a4eba94c.

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