commit | cb96a42cc1f50ba1c7b1e9b2343bec80b926107f | [log] [tgz] |
---|---|---|
author | Ming Lei <tom.leiming@gmail.com> | Sun Jun 01 00:43:37 2014 +0800 |
committer | Jens Axboe <axboe@fb.com> | Tue Jun 03 21:04:39 2014 -0600 |
tree | c69f953fcd7d04288903abe73a0f92f155882bfd | |
parent | 1aecfe4887713838c79bc52f774609a57db4f988 [diff] |
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 <tom.leiming@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>