linux-stable/net/sunrpc/xprtrdma
Chuck Lever b7ff0185e9 xprtrdma: Destroy reps from previous connection instance
To safely get rid of all rpcrdma_reps from a particular connection
instance, xprtrdma has to wait until each of those reps is finished
being used. A rep may be backing the rq_rcv_buf of an RPC that has
just completed, for example.

Since it is safe to invoke rpcrdma_rep_destroy() only in the Receive
completion handler, simply mark reps remaining in the rb_all_reps
list after the transport is drained. These will then be deleted as
rpcrdma_post_recvs pulls them off the rep free list.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2020-01-15 10:54:32 -05:00
..
backchannel.c xprtrdma: Allocate and map transport header buffers at connect time 2020-01-15 10:54:32 -05:00
frwr_ops.c xprtrdma: Refactor frwr_is_supported 2020-01-15 10:54:32 -05:00
Makefile xprtrdma: Remove support for FMR memory registration 2019-01-02 12:05:17 -05:00
module.c NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00
rpc_rdma.c xprtrdma: Allocate and map transport header buffers at connect time 2020-01-15 10:54:32 -05:00
svc_rdma.c svcrdma: Remove svc_rdma_wq 2019-08-19 10:59:28 -04:00
svc_rdma_backchannel.c SUNRPC: Fix backchannel latency metrics 2019-11-21 17:05:14 -05:00
svc_rdma_recvfrom.c svcrdma: Use llist for managing cache of recv_ctxts 2019-08-19 10:59:28 -04:00
svc_rdma_rw.c scsi: lib/sg_pool.c: improve APIs for allocating sg pool 2019-06-20 15:21:33 -04:00
svc_rdma_sendto.c svcrdma: Improve DMA mapping trace points 2019-10-08 16:01:33 -04:00
svc_rdma_transport.c Highlights: 2019-09-27 17:00:27 -07:00
transport.c xprtrdma: Eliminate per-transport "max pages" 2020-01-15 10:54:32 -05:00
verbs.c xprtrdma: Destroy reps from previous connection instance 2020-01-15 10:54:32 -05:00
xprt_rdma.h xprtrdma: Allocate and map transport header buffers at connect time 2020-01-15 10:54:32 -05:00