From cb96a42cc1f50ba1c7b1e9b2343bec80b926107f Mon Sep 17 00:00:00 2001 From: Ming Lei Date: Sun, 1 Jun 2014 00:43:37 +0800 Subject: [PATCH] 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-format-patch failed