From: Ming Lei Date: Wed, 3 Dec 2014 11:38:04 +0000 (+0800) Subject: blk-mq: prevent unmapped hw queue from being scheduled X-Git-Tag: omap-for-v3.19/fixes-rc1~95^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19c66e59ce57e7b181625cbb408d48eb10837763;p=pandora-kernel.git blk-mq: prevent unmapped hw queue from being scheduled When one hardware queue has no mapped software queues, it shouldn't have been scheduled. Otherwise WARNING or OOPS can triggered. blk_mq_hw_queue_mapped() helper is introduce for fixing the problem. Signed-off-by: Ming Lei Signed-off-by: Jens Axboe --- Reading git-diff-tree failed