linux_dsm_epyc7002/net/sunrpc/xprtrdma
Chuck Lever 96ceddea37 xprtrdma: Remove usage of "mw"
Clean up: struct rpcrdma_mw was named after Memory Windows, but
xprtrdma no longer supports a Memory Window registration mode.
Rename rpcrdma_mw and its fields to reduce confusion and make
the code more sensible to read.

Renaming "mw" was suggested by Tom Talpey, the author of the
original xprtrdma implementation. It's a good idea, but I haven't
done this until now because it's a huge diffstat for no benefit
other than code readability.

However, I'm about to introduce static trace points that expose
a few of xprtrdma's internal data structures. They should make sense
in the trace report, and it's reasonable to treat trace points as a
kernel API contract which might be difficult to change later.

While I'm churning things up, two additional changes:
- rename variables unhelpfully called "r" to "mr", to improve code
  clarity, and
- rename the MR-related helper functions using the form
  "rpcrdma_mr_<verb>", to be consistent with other areas of the
  code.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2018-01-16 11:19:51 -05:00
..
backchannel.c xprtrdma: Don't clear RPC_BC_PA_IN_USE on pre-allocated rpc_rqst's 2018-01-16 11:19:49 -05:00
fmr_ops.c xprtrdma: Remove usage of "mw" 2018-01-16 11:19:51 -05:00
frwr_ops.c xprtrdma: Remove usage of "mw" 2018-01-16 11:19:51 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
module.c rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
rpc_rdma.c xprtrdma: Remove usage of "mw" 2018-01-16 11:19:51 -05:00
svc_rdma_backchannel.c Lots of good bugfixes, including: 2017-11-18 11:22:04 -08:00
svc_rdma_recvfrom.c svcrdma: Properly compute .len and .buflen for received RPC Calls 2017-07-12 15:54:57 -04:00
svc_rdma_rw.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
svc_rdma_sendto.c svcrdma: fix an incorrect check on -E2BIG and -EINVAL 2017-07-13 14:18:47 -04:00
svc_rdma_transport.c svcrdma: Enqueue after setting XPT_CLOSE in completion handlers 2017-11-07 16:44:02 -05:00
svc_rdma.c svcrdma: Reduce size of sge array in struct svc_rdma_op_ctxt 2017-04-25 17:25:55 -04:00
transport.c xprtrdma: Replace all usage of "frmr" with "frwr" 2018-01-16 11:19:50 -05:00
verbs.c xprtrdma: Remove usage of "mw" 2018-01-16 11:19:51 -05:00
xprt_rdma.h xprtrdma: Remove usage of "mw" 2018-01-16 11:19:51 -05:00