From: Olga Kornievskaia <olga.kornievskaia@gmail.com>
To: trond.myklebust@hammerspace.com, anna.schumaker@netapp.com
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH v3 0/6] do not collapse trunkable transports
Date: Tue, 15 Jun 2021 21:10:07 -0400 [thread overview]
Message-ID: <20210616011013.50547-1-olga.kornievskaia@gmail.com> (raw)
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.
v3:
-- add a new counter to xprt_switch to keep track of transports with
unique addresses
-- control of enforcing the limit is moved into the sunrpc layer
into the function rpc_clnt_test_and_add_xprt
-- after a trunking transport is created if mount request asked for
nconnect connections, create as many as the original/first mount had
Olga Kornievskaia (6):
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 add network transport when session trunking is detected
NFSv4 allow for nconnect value of trunkable transport
fs/nfs/client.c | 2 ++
fs/nfs/fs_context.c | 7 ++++
fs/nfs/internal.h | 2 ++
fs/nfs/nfs4client.c | 50 ++++++++++++++++++++++++++--
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, 84 insertions(+), 4 deletions(-)
--
2.27.0
next reply other threads:[~2021-06-16 1:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-16 1:10 Olga Kornievskaia [this message]
2021-06-16 1:10 ` [PATCH v3 1/6] SUNRPC keep track of number of transports to unique addresses Olga Kornievskaia
2021-06-16 1:10 ` [PATCH v3 2/6] SUNRPC add xps_nunique_destaddr_xprts to xprt_switch_info in sysfs Olga Kornievskaia
2021-06-16 1:10 ` [PATCH v3 3/6] NFSv4 introduce max_connect mount options Olga Kornievskaia
2021-06-16 1:10 ` [PATCH v3 4/6] SUNRPC enforce creation of no more than max_connect xprts Olga Kornievskaia
2021-06-16 1:10 ` [PATCH v3 5/6] NFSv4 add network transport when session trunking is detected Olga Kornievskaia
2021-06-16 1:10 ` [PATCH v3 6/6] NFSv4 allow for nconnect value of trunkable transport Olga Kornievskaia
2021-08-06 20:12 ` Olga Kornievskaia
2021-07-09 14:24 ` [PATCH v3 0/6] do not collapse trunkable transports Olga Kornievskaia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210616011013.50547-1-olga.kornievskaia@gmail.com \
--to=olga.kornievskaia@gmail.com \
--cc=anna.schumaker@netapp.com \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@hammerspace.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.