]> 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)
commita28919928e3b17e810973600aa8f75eb96ea5deb
tree03512fdd3c26e9a7b24890beb84a99b2bc7cd77d
parent920bb0500374d33ed701828a7b9eb6785b7c7356
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