blk-mq: do not use blk_mq_alloc_request_pinned in blk_mq_map_request
authorChristoph Hellwig <hch@lst.de>
Tue, 27 May 2014 18:59:49 +0000 (20:59 +0200)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:49 +0000 (12:54 -0600)
commitae3861de2af11b5516a2c53cbbe73e8ca8a86278
tree41e77cdf0446e8f3502698893ff98551f45eb954
parente55b6f5c50d2a47cbb98679eda9fb98f3a90f2c1
blk-mq: do not use blk_mq_alloc_request_pinned in blk_mq_map_request

We already do a non-blocking allocation in blk_mq_map_request, no need
to repeat it.  Just call __blk_mq_alloc_request to wait directly.

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