Add a patch to remove unnecessary port 20049 from runcthon

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
Anna Schumaker 2021-12-15 13:48:28 -05:00
parent 38d323c5ab
commit 4a498d92c5
1 changed files with 54 additions and 0 deletions

View File

@ -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