diff options
author | Jens Axboe <axboe@fb.com> | 2016-11-11 12:24:46 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-11-11 12:24:46 -0700 |
commit | 066a4a73cee9a44a906b98825e70c47de5bd8b5c (patch) | |
tree | 046df5fb6e86118cb69dbb7207f2877ae9916080 /fs/hostfs | |
parent | 87760e5eef359788047d6fd54fc12eec74ce0d27 (diff) | |
download | linux-066a4a73cee9a44a906b98825e70c47de5bd8b5c.tar.gz linux-066a4a73cee9a44a906b98825e70c47de5bd8b5c.tar.bz2 linux-066a4a73cee9a44a906b98825e70c47de5bd8b5c.zip |
blk-mq: blk_mq_try_issue_directly() should lookup hardware queue
A previous commit changed this to pass in the hardware queue, but
it was using the wrong hardware queue. Hence a request that was
allocated on one hardware queue ended up being issued on another
one, and that caused IO timeouts and oopses on some drivers. Since
the request holds hardware queue private resources, like a tag,
we can't just issue it on a different hardware queue.
Fixes: 2253efc850c4 ("blk-mq: Move more code into blk_mq_direct_issue_request()")
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/hostfs')
0 files changed, 0 insertions, 0 deletions