Add a patch to remove unnecessary port 20049 from runcthon
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
parent
38d323c5ab
commit
4a498d92c5
|
@ -0,0 +1,54 @@
|
|||
From aa44e81fee3381c6640757ca9f5e31363fcd2837 Mon Sep 17 00:00:00 2001
|
||||
From: Anna Schumaker <Anna.Schumaker@Netapp.com>
|
||||
Date: Tue, 7 Dec 2021 14:49:35 -0500
|
||||
Subject: [PATCH 2/2] runcthon: Remove unnecessary port=20049 from rdma mounts
|
||||
|
||||
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
|
||||
---
|
||||
runcthon | 12 ------------
|
||||
1 file changed, 12 deletions(-)
|
||||
|
||||
diff --git a/runcthon b/runcthon
|
||||
index 51296cef40ed..e96bb2190d9e 100755
|
||||
--- a/runcthon
|
||||
+++ b/runcthon
|
||||
@@ -53,36 +53,24 @@ sec=$5
|
||||
mntargs="-o proto=$proto,v4.0"
|
||||
fi
|
||||
fi
|
||||
- if [ "$proto" = "rdma" ] ; then
|
||||
- mntargs="$mntargs,port=20049"
|
||||
- fi
|
||||
elif [ $vers = "41" ]; then
|
||||
if [ -n "$sec" ] ; then
|
||||
mntargs="-o proto=$proto,sec=$sec,v4.1"
|
||||
else
|
||||
mntargs="-o proto=$proto,v4.1"
|
||||
fi
|
||||
- if [ "$proto" = "rdma" ] ; then
|
||||
- mntargs="$mntargs,port=20049"
|
||||
- fi
|
||||
elif [ $vers = "42" ]; then
|
||||
if [ -n "$sec" ] ; then
|
||||
mntargs="-o proto=$proto,sec=$sec,v4.2"
|
||||
else
|
||||
mntargs="-o proto=$proto,v4.2"
|
||||
fi
|
||||
- if [ "$proto" = "rdma" ] ; then
|
||||
- mntargs="$mntargs,port=20049"
|
||||
- fi
|
||||
else
|
||||
if [ -n "$sec" ] ; then
|
||||
mntargs="-o $proto,v$vers,sec=$sec"
|
||||
else
|
||||
mntargs="-o $proto,v$vers"
|
||||
fi
|
||||
- if [ "$proto" = "rdma" ] ; then
|
||||
- mntargs="$mntargs,port=20049"
|
||||
- fi
|
||||
fi
|
||||
|
||||
if [ $privatemnts -eq 1 ]; then
|
||||
--
|
||||
2.34.1
|
||||
|
Loading…
Reference in New Issue