]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
blk-mq: initialize request on allocation
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Apr 2014 08:30:10 +0000 (10:30 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 15 Apr 2014 20:03:03 +0000 (14:03 -0600)
commited44832dea8a74f909e0187f350201402927f5e5
tree995f626a425e9daef055a540ea7e6ff8ed559959
parente9b267d91f6ddbc694cb40aa962b0b2cec03971d
blk-mq: initialize request on allocation

If we want to share tag and request allocation between queues we cannot
initialize the request at init/free time, but need to initialize it
at allocation time as it might get used for different queues over its
lifetime.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c