• J
    blk-mq: don't overwrite rq->mq_ctx · e57690fe
    Jens Axboe 提交于
    We do this in a few places, if the CPU is offline. This isn't allowed,
    though, since on multi queue hardware, we can't just move a request
    from one software queue to another, if they map to different hardware
    queues. The request and tag isn't valid on another hardware queue.
    
    This can happen if plugging races with CPU offlining. But it does
    no harm, since it can only happen in the window where we are
    currently busy freezing the queue and flushing IO, in preparation
    for redoing the software <-> hardware queue mappings.
    Signed-off-by: NJens Axboe <axboe@fb.com>
    e57690fe
blk-mq.c 57.9 KB