xprtrdma: Put flushed Receives on free list instead of destroying them
authorChuck Lever <chuck.lever@oracle.com>
Mon, 19 Apr 2021 18:02:16 +0000 (14:02 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 26 Apr 2021 13:21:49 +0000 (09:21 -0400)
commit5030c9a938f875f31932928632e1597f03e79ace
tree41434a067bc340d8f20bdb90c127efa0df91bb14
parent15788d1d1077ebe029c48842c738876516d85076
xprtrdma: Put flushed Receives on free list instead of destroying them

Defer destruction of an rpcrdma_rep until transport tear-down to
preserve the rb_all_reps list while Receives flush.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Tom Talpey <tom@talpey.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xprtrdma/verbs.c