commit | 841bac2c87fc21c3ecf3bc3354855921735aeec1 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Wed Sep 21 10:08:43 2016 -0600 |
committer | Jens Axboe <axboe@fb.com> | Thu Sep 22 09:39:53 2016 -0600 |
tree | 950195b86586bf2aee0fc21229d083a5b139b1b6 | |
parent | 491221f88d00651e449c9caf7415b6453c8a77b7 [diff] |
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> Reviewed-by: Christoph Hellwig <hch@lst.de>