diff options
author | Ming Lei <tom.leiming@gmail.com> | 2014-05-31 20:43:37 +0400 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-06-04 07:04:39 +0400 |
commit | cb96a42cc1f50ba1c7b1e9b2343bec80b926107f (patch) | |
tree | c69f953fcd7d04288903abe73a0f92f155882bfd /samples | |
parent | 1aecfe4887713838c79bc52f774609a57db4f988 (diff) | |
download | linux-cb96a42cc1f50ba1c7b1e9b2343bec80b926107f.tar.xz |
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 'samples')
0 files changed, 0 insertions, 0 deletions