blk-mq: get rid of manual run of queue with __blk_mq_run_hw_queue()
authorJens Axboe <axboe@fb.com>
Wed, 21 Sep 2016 16:08:43 +0000 (10:08 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 21 Sep 2016 16:08:43 +0000 (10:08 -0600)
commitd174ea5d95d19b4149ec0f4f1d64a9dcc20eda2e
treef9ab6b783e9fcbad99dc78b6572ab8150ae5b0a2
parent1e3aeae4ea710023dda2a6b780183ee371d1a796
blk-mq: get rid of manual run of queue with __blk_mq_run_hw_queue()

Two cases:

1) blk_mq_alloc_request() needlessly re-runs the queue, after
   calling into the tag allocation without NOWAIT set. We don't
   need to do that.

2) blk_mq_map_request() should just use blk_mq_run_hw_queue() with
   the async flag set to false.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c