diff options
author | Ming Lei | 2014-05-31 18:43:37 +0200 |
---|---|---|
committer | Jens Axboe | 2014-06-04 05:04:39 +0200 |
commit | cb96a42cc1f50ba1c7b1e9b2343bec80b926107f (patch) | |
tree | c69f953fcd7d04288903abe73a0f92f155882bfd /lib/oid_registry.c | |
parent | blk-mq: move blk_mq_get_ctx/blk_mq_put_ctx to mq private header (diff) | |
download | kernel-qcow2-linux-cb96a42cc1f50ba1c7b1e9b2343bec80b926107f.tar.gz kernel-qcow2-linux-cb96a42cc1f50ba1c7b1e9b2343bec80b926107f.tar.xz kernel-qcow2-linux-cb96a42cc1f50ba1c7b1e9b2343bec80b926107f.zip |
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>
Diffstat (limited to 'lib/oid_registry.c')
0 files changed, 0 insertions, 0 deletions