commit | fdf58e02adecbef4c7cbb2073d8ea225e6fd5f26 | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagi@grimberg.me> | Thu Oct 22 10:15:23 2020 +0800 |
committer | Christoph Hellwig <hch@lst.de> | Tue Nov 03 10:26:02 2020 +0100 |
tree | eb032fc5a131694d1f17c870cb9be4eebbcf9d6e | |
parent | d6f66210f4b1aa2f5944f0e34e0f8db44f499f92 [diff] |
nvme-rdma: avoid repeated request completion The request may be executed asynchronously, and rq->state may be changed to IDLE. To avoid repeated request completion, only MQ_RQ_COMPLETE of rq->state is checked in nvme_rdma_complete_timed_out. It is not safe, so need adding check IDLE for rq->state. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Chao Leng <lengchao@huawei.com> Signed-off-by: Christoph Hellwig <hch@lst.de>