mbox series

[v5,0/5] do not collapse trunkable transports

Message ID 20210827183719.41057-1-olga.kornievskaia@gmail.com (mailing list archive)
Headers show
Series do not collapse trunkable transports | expand

Message

Olga Kornievskaia Aug. 27, 2021, 6:37 p.m. UTC
From: Olga Kornievskaia <kolga@netapp.com>

This patch series attempts to allow for new mounts that are to the
same server (ie nfsv4.1+ session trunkable servers) but different
network addresses to use connections associated with those mounts
but still use the same client structure.

A new mount options, "max_connect", controls how many extra transports
can be added to an existing client, with maximum of 16 such transports.

v5: fix compile warning

v4:
no change to 5 patches were made.
patch 6 dropped.
man page patch added

Olga Kornievskaia (5):
  SUNRPC keep track of number of transports to unique addresses
  SUNRPC add xps_nunique_destaddr_xprts to xprt_switch_info in sysfs
  NFSv4 introduce max_connect mount options
  SUNRPC enforce creation of no more than max_connect xprts
  NFSv4.1 add network transport when session trunking is detected

 fs/nfs/client.c                      |  2 ++
 fs/nfs/fs_context.c                  |  7 +++++
 fs/nfs/internal.h                    |  2 ++
 fs/nfs/nfs4client.c                  | 41 ++++++++++++++++++++++++++--
 fs/nfs/super.c                       |  2 ++
 include/linux/nfs_fs.h               |  5 ++++
 include/linux/nfs_fs_sb.h            |  1 +
 include/linux/sunrpc/clnt.h          |  2 ++
 include/linux/sunrpc/xprtmultipath.h |  1 +
 net/sunrpc/clnt.c                    | 11 +++++++-
 net/sunrpc/sysfs.c                   |  4 ++-
 net/sunrpc/xprtmultipath.c           |  1 +
 12 files changed, 75 insertions(+), 4 deletions(-)