Skip to content

NFSv3 client RDMA multipath enhancements

Dan Aloni linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5sunrpc: Allow specifying a vector of IP addresses for nconnectinclude/linux/sunrpc/clnt.h net/sunrpc/clnt.c+56 -00 replies
2/5xprtrdma: Bind to a local address if requestednet/sunrpc/xprtrdma/transport.c net/sunrpc/xprtrdma/verbs.c net/sunrpc/xprtrdma/xprt_rdma.h+23 -10 replies
3/5nfs: Extend nconnect with remoteports and localports mount paramsfs/nfs/client.c fs/nfs/fs_context.c fs/nfs/internal.h +1 more+201 -00 replies
4/5sunrpc: Add srcaddr to xprt sysfs debuginclude/linux/sunrpc/xprt.h net/sunrpc/debugfs.c net/sunrpc/xprtrdma/svc_rdma_backchannel.c +3 more+48 -250 replies
5/5nfs: Increase NFS_MAX_CONNECTIONSfs/nfs/fs_context.c+1 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v1 0/5] NFSv3 client RDMA multipath enhancements

Hi,

The purpose of the following changes is to allow specifying multiple target IP addresses in a single mount. Combining this with nconnect and servers that support exposing multiple ports, we can achieve load balancing and much greater throughput, especially on RDMA setups, even with the older NFSv3 protocol.

The changes allow specifing a new remoteports=<IP-addresses-ranges> mount option providing a group of IP addresses, from which nconnect at sunrpc scope picks target transport address in round-robin. There's also an accompanying localports parameter that allows local address bind so that the source port is better controlled in a way to ensure that transports are not hogging a single local interface.

This patchset targets the linux-next tree.

Dan Aloni (5):
sunrpc: Allow specifying a vector of IP addresses for nconnect
xprtrdma: Bind to a local address if requested
nfs: Extend nconnect with remoteports and localports mount params
sunrpc: Add srcaddr to xprt sysfs debug
nfs: Increase NFS_MAX_CONNECTIONS

 fs/nfs/client.c                            |  24 +++
 fs/nfs/fs_context.c                        | 173 ++++++++++++++++++++-
 fs/nfs/internal.h                          |   4 +
 include/linux/nfs_fs_sb.h                  |   2 +
 include/linux/sunrpc/clnt.h                |   9 ++
 include/linux/sunrpc/xprt.h                |   1 +
 net/sunrpc/clnt.c                          |  47 ++++++
 net/sunrpc/debugfs.c                       |   8 +-
 net/sunrpc/xprtrdma/svc_rdma_backchannel.c |   2 +-
 net/sunrpc/xprtrdma/transport.c            |  17 +-
 net/sunrpc/xprtrdma/verbs.c                |  15 +-
 net/sunrpc/xprtrdma/xprt_rdma.h            |   5 +-
 net/sunrpc/xprtsock.c                      |  49 +++---
 13 files changed, 329 insertions(+), 27 deletions(-)
Signature · 1 line
2.26.2