]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce5e3de40d6381c7c3dadfe30627fad9257651db
tree03512fdd3c26e9a7b24890beb84a99b2bc7cd77d
parent782a219a1838515a938bdebce372aa89fc8d8065
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