From: Christoph Hellwig Date: Tue, 27 May 2014 18:59:48 +0000 (+0200) Subject: blk-mq: remove blk_mq_wait_for_tags X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~49^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3bd77567cae6af700dcd245148befc73fc89a50;p=pandora-kernel.git blk-mq: remove blk_mq_wait_for_tags The current logic for blocking tag allocation is rather confusing, as we first allocated and then free again a tag in blk_mq_wait_for_tags, just to attempt a non-blocking allocation and then repeat if someone else managed to grab the tag before us. Instead change blk_mq_alloc_request_pinned to simply do a blocking tag allocation itself and use the request we get back from it. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- Reading git-diff-tree failed