]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf7f6efd0bbf11a118352baf7097d5f2d96c48ba
tree41434a067bc340d8f20bdb90c127efa0df91bb14
parent8d6cd07f862cc209278bd1842e3d4ac0e3002fac
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