summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtmultipath.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2017-12-15 02:57:55 +0100
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2018-01-16 17:19:51 +0100
commit96ceddea3710f61bb5a5f2af25e684b7e1466171 (patch)
treeec16ddc20df77c55f3e62a5dedb138a46cf7d586 /net/sunrpc/xprtmultipath.c
parentxprtrdma: Replace all usage of "frmr" with "frwr" (diff)
downloadlinux-96ceddea3710f61bb5a5f2af25e684b7e1466171.tar.xz
linux-96ceddea3710f61bb5a5f2af25e684b7e1466171.zip
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>
Diffstat (limited to 'net/sunrpc/xprtmultipath.c')
0 files changed, 0 insertions, 0 deletions