commit | 62eca39722fd997e3621fc903229917b9f0fb271 | [log] [tgz] |
---|---|---|
author | Chao Leng <lengchao@huawei.com> | Mon Feb 01 11:49:40 2021 +0800 |
committer | Christoph Hellwig <hch@lst.de> | Wed Feb 10 16:38:03 2021 +0100 |
tree | a0257d8e1f05bcd0017b39e040a1faf740baeb58 | |
parent | ea5e5f42cd2c80d19862dd63a2f3a4e7a99c6a20 [diff] |
nvme-rdma: handle nvme_rdma_post_send failures better nvme_rdma_post_send failing is a path related error and should bounce to another path when using nvme-multipath. Call nvme_host_path_error when nvme_rdma_post_send returns -EIO to ensure nvme_complete_rq gets invoked to fail over to another path if there is one. Signed-off-by: Chao Leng <lengchao@huawei.com> Signed-off-by: Christoph Hellwig <hch@lst.de>