diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2016-10-28 17:20:02 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-11-02 12:50:19 -0600 |
commit | 2253efc850c4cf690516bbc07854eeb1077202ba (patch) | |
tree | 8e99571c3ce4bff1ca732820a55d0abea1824b41 /drivers/hwmon | |
parent | fd00144301d64f1742541a3c5e64cd1c51f39c55 (diff) | |
download | linux-2253efc850c4cf690516bbc07854eeb1077202ba.tar.gz |
blk-mq: Move more code into blk_mq_direct_issue_request()
Move the "hctx stopped" test and the insert request calls into blk_mq_direct_issue_request(). Rename that function into blk_mq_try_issue_directly() to reflect its new semantics. Pass the hctx pointer to that function instead of looking it up a second time. These changes avoid that code has to be duplicated in the next patch. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions