commit | b892a699cecc36ca373def4bc5ddc5fa3d46ba3b | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Fri Mar 04 11:28:01 2016 -0500 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Mon Mar 14 14:55:55 2016 -0400 |
tree | 8f3b5c57ab41ac027b90a9d6f0bbb63b810fdd22 | |
parent | 821c791a0bde997499384733fc98dba76baac41e [diff] |
xprtrdma: Do not wait if ib_post_send() fails If ib_post_send() in ro_unmap_sync() fails, the WRs have not been posted, no completions will fire, and wait_for_completion() will wait forever. Skip the wait in that case. To ensure the MRs are invalid, disconnect. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>