From: Ming Lei Date: Sat, 31 May 2014 16:43:37 +0000 (+0800) Subject: blk-mq: fix schedule from atomic context X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~19^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb96a42cc1f50ba1c7b1e9b2343bec80b926107f;p=pandora-kernel.git blk-mq: fix schedule from atomic context blk_mq_put_ctx() has to be called before io_schedule() in bt_get(). This patch fixes the problem by taking similar approach from percpu_ida allocation for the situation. Signed-off-by: Ming Lei Signed-off-by: Jens Axboe --- Reading git-diff-tree failed