[PATCH 4/5] blk-mq: do not use blk_mq_alloc_request_pinned in blk_mq_map_request

2014-05-27 Thread Christoph Hellwig
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 --- block/blk-mq.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/block/blk-mq.c

[PATCH 4/5] blk-mq: do not use blk_mq_alloc_request_pinned in blk_mq_map_request

2014-05-27 Thread Christoph Hellwig
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 h...@lst.de --- block/blk-mq.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/block/blk-mq.c