From: Shaohua Li Date: Mon, 1 Dec 2014 00:00:58 +0000 (-0800) Subject: blk-mq: move the kdump check to blk_mq_alloc_tag_set X-Git-Tag: omap-for-v3.20/drop-legacy-3517~92^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6637fadf25657e619a50fde5ff3ae09a98d20eb5;p=pandora-kernel.git blk-mq: move the kdump check to blk_mq_alloc_tag_set We call blk_mq_alloc_tag_set() first then blk_mq_init_queue(). The requests are allocated in the former function. So the kdump check should be moved to there to really save memory. Signed-off-by: Shaohua Li Signed-off-by: Jens Axboe --- Reading git-diff-tree failed