commit | 0f95549c0ea1e8075ae049202088b2c6a0cb40ad | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Wed Jan 17 11:25:56 2018 -0500 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jan 17 09:46:50 2018 -0700 |
tree | c1f1bf9a15df938a4ac525f7d02efd17f825a71a | |
parent | 7df938fbc4ee641e70e05002ac67c24b19e86e74 [diff] |
blk-mq: factor out a few helpers from __blk_mq_try_issue_directly No functional change. Just makes code flow more logically. In following commit, __blk_mq_try_issue_directly() will be used to return the dispatch result (blk_status_t) to DM. DM needs this information to improve IO merging. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>