Skip to content

RFC xprtrdma: Client Fast Memory Registration Support

Tom Tucker linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xprtrdma: Add data types to support FRMRinclude/linux/sunrpc/xprtrdma.h net/sunrpc/xprtrdma/xprt_rdma.h+10 -10 replies
2/2xprtrdma: Update the RPC memory registration to use FRMRnet/sunrpc/xprtrdma/verbs.c+263 -334 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH,RFC 00/02] xprtrdma: Client Fast Memory Registration Support

This set of patches implements support for Fast Memory Registration in the NFS client. Fast Memory Registration is enabled by writing 6 to the rdma_memreg_strategy proc file as follows:

# echo 6 > /proc/sys/sunrpc/rdma_memreg_strategy

If Fast Memory Registration is not supported by the device, the memory registration strategy reverts to a global default that is supported by all RDMA adapters.

This patches are also available here:
git://git.linux-nfs.org/projects/tomtucker/xprt-switch-2.6.git

[PATCH 01/02] xprtrdma: Add data types to support FRMR

 include/linux/sunrpc/xprtrdma.h |    1 +
 net/sunrpc/xprtrdma/xprt_rdma.h |   10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletions(-)

[PATCH 02/02] xprtrdma: Update the RPC memory registration to use FRMR

 net/sunrpc/xprtrdma/verbs.c |  296 ++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 263 insertions(+), 33 deletions(-)