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>
Wed, 28 May 2014 15:49:25 +0000 (09:49 -0600)
commit793597a6a95675f4f85671cf747c1d92e7dbc295
tree03512fdd3c26e9a7b24890beb84a99b2bc7cd77d
parenta3bd77567cae6af700dcd245148befc73fc89a50
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