Re: [PATCH 2/2] blk-mq: fix schedule from atomic context

Jens Axboe
2014-06-02T15:19:58Z

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