Re: [PATCH 2/2] blk-mq: fix schedule from atomic context
From: Jens Axboe
Date: Mon Jun 02 2014 - 11:20:01 EST
On 2014-05-31 10:43, Ming Lei wrote:
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.
Thanks, I've applied these to for post-merge integration. I do think we
can clean up further around 'data' for bt_get(), for instance, and
possibly in other places too.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/