blk-mq: move the kdump check to blk_mq_alloc_tag_set
authorShaohua Li <shli@kernel.org>
Mon, 1 Dec 2014 00:00:58 +0000 (16:00 -0800)
committerJens Axboe <axboe@fb.com>
Mon, 1 Dec 2014 01:35:39 +0000 (18:35 -0700)
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 <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>

No differences found