commit | e1ede312f17e96a9c5cda9aaa1cdcf442c1a5da8 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Tue Apr 09 17:04:09 2019 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Thu Apr 11 15:23:48 2019 -0400 |
tree | 5b392c34b573400b3077934c78c7b575a5bec41d | |
parent | 29e7ca715f2a0b6c0a99b1aec1b0956d1f271955 [diff] |
xprtrdma: Fix helper that drains the transport We want to drain only the RQ first. Otherwise the transport can deadlock on ->close if there are outstanding Send completions. Fixes: 6d2d0ee27c7a ("xprtrdma: Replace rpcrdma_receive_wq ... ") Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: stable@vger.kernel.org # v5.0+ Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>