]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq-sched: don't run the queue async from blk_mq_try_issue_directly()
authorJens Axboe <axboe@fb.com>
Tue, 14 Mar 2017 17:51:59 +0000 (11:51 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 14 Mar 2017 17:51:59 +0000 (11:51 -0600)
commit5166b999e9a1657c0abbce35ec12de3949ba1383
tree37f65ae1ac5073f4bf3d31b94b1bc5fc7c706072
parent3002df5616613ec66b8f72be1d62e6b92944bc1c
blk-mq-sched: don't run the queue async from blk_mq_try_issue_directly()

If we have scheduling enabled, we jump directly to insert-and-run.
That's fine, but we run the queue async and we don't pass in information
on whether we can block from this context or not. Fixup both these
cases.

Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c