• J
    blk-mq: blk_mq_try_issue_directly() should lookup hardware queue · 066a4a73
    Jens Axboe 提交于
    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: NJens Axboe <axboe@fb.com>
    066a4a73
blk-mq.c 59.0 KB