]> 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)
commitf0b0879e259f745444b20e1701f459f7b20c9c02
tree37f65ae1ac5073f4bf3d31b94b1bc5fc7c706072
parent752a3bafd4b04087b64fb2d1e87a4851d7093fd7
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