commit | 6637fadf25657e619a50fde5ff3ae09a98d20eb5 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@kernel.org> | Sun Nov 30 16:00:58 2014 -0800 |
committer | Jens Axboe <axboe@fb.com> | Sun Nov 30 18:35:39 2014 -0700 |
tree | d9d58e0931b82844bcf6783522c02064b8165ca5 | |
parent | 70114c393ccaa43ca38e6b36b9469ed2c35acc49 [diff] |
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 <shli@fb.com> Signed-off-by: Jens Axboe <axboe@fb.com>