Skip to contentSkip to conversation

xprtrdma: Client Fast Memory Registration Support

RFC PATCH In review Tom Tucker 1 participant 1 message Aug 13, 2008

Subsystems (2)
lore
Share & tools
lore

Tom Tucker

author
#0 lore raw

cover 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(-)