• Jens Axboe's avatar
    blk-mq: blk_mq_try_issue_directly() should lookup hardware queue · 066a4a73
    Jens Axboe authored
    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: 2253efc8 ("blk-mq: Move more code into blk_mq_direct_issue_request()")
    Signed-off-by: default avatarJens Axboe <axboe@fb.com>
    066a4a73
blk-mq.c 59 KB