• Chao Leng's avatar
    nvme-rdma: add clean action for failed reconnection · 958dc1d3
    Chao Leng authored
    A crash happens when inject failed reconnection.
    If reconnect failed after start io queues, the queues will be unquiesced
    and new requests continue to be delivered. Reconnection error handling
    process directly free queues without cancel suspend requests. The
    suppend request will time out, and then crash due to use the queue
    after free.
    
    Add sync queues and cancel suppend requests for reconnection error
    handling.
    Signed-off-by: default avatarChao Leng <lengchao@huawei.com>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    958dc1d3
rdma.c 65.2 KB