All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] fstests: Run the NFS/RDMA section with NFSv4.1
@ 2024-10-13 15:30 cel
  2024-10-13 15:30 ` [PATCH 2/2] gitr: Update default git version to be cloned cel
  0 siblings, 1 reply; 2+ messages in thread
From: cel @ 2024-10-13 15:30 UTC (permalink / raw)
  To: kdevops; +Cc: Chuck Lever

From: Chuck Lever <chuck.lever@oracle.com>

Seeing some test hangs here that might be due to known bugs in
NFSv4.2. Force the NFS/RDMA test section to use NFSv4.1, not
the default NFS version (which on modern distros is NFSv4.2).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 playbooks/roles/fstests/templates/nfs/nfs.config | 4 ++--
 workflows/fstests/nfs/Kconfig                    | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/playbooks/roles/fstests/templates/nfs/nfs.config b/playbooks/roles/fstests/templates/nfs/nfs.config
index 00911af6437a..3605e582b2d7 100644
--- a/playbooks/roles/fstests/templates/nfs/nfs.config
+++ b/playbooks/roles/fstests/templates/nfs/nfs.config
@@ -22,14 +22,14 @@ MOUNT_OPTIONS="-o vers=4.1"
 # Test over RDMA
 [nfs_rdma]
 TEST_FS_MOUNT_OPTS="-o rdma"
-MOUNT_OPTIONS="-o rdma"
+MOUNT_OPTIONS="-o rdma,vers=4.1"
 {% endif %}
 {% if fstests_nfs_section_tls -%}
 
 # Test NFS with RPC over TLS
 [nfs_tls]
 TEST_FS_MOUNT_OPTS="-o xprtsec=mtls"
-MOUNT_OPTIONS="-o xprtsec=mtls"
+MOUNT_OPTIONS="-o xprtsec=mtls,vers=4.1"
 {% endif %}
 {% if fstests_nfs_section_nfsd -%}
 
diff --git a/workflows/fstests/nfs/Kconfig b/workflows/fstests/nfs/Kconfig
index 0b32e710fa58..3c373d7eedfc 100644
--- a/workflows/fstests/nfs/Kconfig
+++ b/workflows/fstests/nfs/Kconfig
@@ -61,6 +61,8 @@ config FSTESTS_NFS_SECTION_RDMA
 	  the target nodes have RDMA hardware already, enable one of
 	  the software RDMA options as well.
 
+	  This test uses an NFSv4.1 mount.
+
 config FSTESTS_NFS_SECTION_TLS
 	bool "Enable testing section: nfs_tls"
 	default n
@@ -68,6 +70,8 @@ config FSTESTS_NFS_SECTION_TLS
 	help
 	  Enabling this will test with the xprtsec=tls mount option.
 
+	  This test uses an NFSv4.1 mount.
+
 config FSTESTS_NFS_SECTION_NFSD
 	bool "Enable testing section: nfsd"
 	output yaml
-- 
2.46.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-13 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-13 15:30 [PATCH 1/2] fstests: Run the NFS/RDMA section with NFSv4.1 cel
2024-10-13 15:30 ` [PATCH 2/2] gitr: Update default git version to be cloned cel

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.