linux/net/sunrpc/xprtrdma
Chuck Lever 9d2da4ff00 xprtrdma: Manage MRs in context of a single connection
MRs are now allocated on demand so we can safely throw them away on
disconnect. This way an idle transport can disconnect and it won't
pin hardware MR resources.

Two additional changes:

- Now that all MRs are destroyed on disconnect, there's no need to
  check during header marshaling if a req has MRs to recycle. Each
  req is sent only once per connection, and now rl_registered is
  guaranteed to be empty when rpcrdma_marshal_req is invoked.

- Because MRs are now destroyed in a WQ_MEM_RECLAIM context, they
  also must be allocated in a WQ_MEM_RECLAIM context. This reduces
  the likelihood that device driver memory allocation will trigger
  memory reclaim during NFS writeback.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2019-10-24 10:30:40 -04:00
..
backchannel.c xprtrdma: Fix bc_max_slots return value 2019-08-21 14:35:49 -04:00
frwr_ops.c xprtrdma: Manage MRs in context of a single connection 2019-10-24 10:30:40 -04: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: Manage MRs in context of a single connection 2019-10-24 10:30:40 -04:00
svc_rdma_backchannel.c SUNRPC: Remove the bh-safe lock requirement on xprt->transport_lock 2019-07-06 14:54:48 -04: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: Remove syslog warnings in work completion handlers 2019-02-06 15:37:15 -05:00
svc_rdma_transport.c Highlights: 2019-09-27 17:00:27 -07:00
svc_rdma.c svcrdma: Remove svc_rdma_wq 2019-08-19 10:59:28 -04:00
transport.c xprtrdma: Initialize rb_credits in one place 2019-10-24 10:30:39 -04:00
verbs.c xprtrdma: Manage MRs in context of a single connection 2019-10-24 10:30:40 -04:00
xprt_rdma.h xprtrdma: Manage MRs in context of a single connection 2019-10-24 10:30:40 -04:00