From 39c3462872dc3fb7935edd282901a55c13218034 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Sat, 16 Jul 2022 14:36:12 -0400 Subject: [PATCH] nfs.man: adding new mount option max_connect (bz 2106848) Signed-off-by: Steve Dickson Resolves: bz2106848 --- nfs-utils-2.5.4-nfsman-maxconnect.patch | 37 +++++++++++++++++++++++++ nfs-utils.spec | 8 ++++++ 2 files changed, 45 insertions(+) create mode 100644 nfs-utils-2.5.4-nfsman-maxconnect.patch diff --git a/nfs-utils-2.5.4-nfsman-maxconnect.patch b/nfs-utils-2.5.4-nfsman-maxconnect.patch new file mode 100644 index 0000000..3aab8a0 --- /dev/null +++ b/nfs-utils-2.5.4-nfsman-maxconnect.patch @@ -0,0 +1,37 @@ +commit 28deb4f398363e4e75ea41ff0fe604b11f6ee91a +Author: Olga Kornievskaia +Date: Tue Sep 21 13:00:12 2021 -0400 + + nfs.man: adding new mount option max_connect + + When client discovers trunkable servers, instead of dropping newly + created trunkable connections, add this connection to the existing + RPC client. + + Signed-off-by: Olga Kornievskaia + Signed-off-by: Steve Dickson + +diff --git a/utils/mount/nfs.man b/utils/mount/nfs.man +index f1b76936..57a693fd 100644 +--- a/utils/mount/nfs.man ++++ b/utils/mount/nfs.man +@@ -416,6 +416,19 @@ Note that the + option may also be used by some pNFS drivers to decide how many + connections to set up to the data servers. + .TP 1.5i ++.BR max_connect= n ++While ++.BR nconnect ++option sets a limit on the number of connections that can be established ++to a given server IP, ++.BR max_connect ++option allows the user to specify maximum number of connections to different ++server IPs that belong to the same NFSv4.1+ server (session trunkable ++connections) up to a limit of 16. When client discovers that it established ++a client ID to an already existing server, instead of dropping the newly ++created network transport, the client will add this new connection to the ++list of available transports for that RPC client. ++.TP 1.5i + .BR rdirplus " / " nordirplus + Selects whether to use NFS v3 or v4 READDIRPLUS requests. + If this option is not specified, the NFS client uses READDIRPLUS requests diff --git a/nfs-utils.spec b/nfs-utils.spec index c55c633..0e0763b 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -24,6 +24,11 @@ Patch004: nfs-utils-2.5.4-mount-nov2.patch Patch005: nfs-utils-2.5.4-gssd-debug-msg.patch Patch006: nfs-utils-2.5.4-rpcctl.patch +# +# RHEL9.1 +# +Patch007: nfs-utils-2.5.4-nfsman-maxconnect.patch + Patch100: nfs-utils-1.2.1-statdpath-man.patch Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch Patch102: nfs-utils-1.2.5-idmap-errmsg.patch @@ -454,6 +459,9 @@ fi %{_mandir}/*/nfsiostat.8.gz %changelog +* Wed Jul 13 2022 Steve Dickson 2.5.4-11 +- nfs.man: adding new mount option max_connect (bz 2106848) + * Mon Feb 28 2022 Steve Dickson 2.5.4-10 - Added the rpcctl command (bz 2059245)