git: b274854dd943 - main - stress2: Added a temporary fix for the UFS+SU "out of inodes" issue

From: Peter Holm <pho_at_FreeBSD.org>
Date: Mon, 01 May 2023 10:54:30 UTC
The branch main has been updated by pho:

URL: https://cgit.FreeBSD.org/src/commit/?id=b274854dd943e66556ba2ecd7b6d3349b1cf8e6e

commit b274854dd943e66556ba2ecd7b6d3349b1cf8e6e
Author:     Peter Holm <pho@FreeBSD.org>
AuthorDate: 2023-05-01 10:52:42 +0000
Commit:     Peter Holm <pho@FreeBSD.org>
CommitDate: 2023-05-01 10:52:42 +0000

    stress2: Added a temporary fix for the UFS+SU "out of inodes" issue
---
 tools/test/stress2/misc/unionfs4.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/test/stress2/misc/unionfs4.sh b/tools/test/stress2/misc/unionfs4.sh
index 2355005c1f8b..15ff314a980b 100755
--- a/tools/test/stress2/misc/unionfs4.sh
+++ b/tools/test/stress2/misc/unionfs4.sh
@@ -52,6 +52,8 @@ done
 
 mdconfig -a -t swap -s 2g -u $md1
 mdconfig -a -t swap -s 2g -u $md2
+[ "$newfs_flags" = "-U" ] &&
+    newfs_flags="-j"	# "out of inodes" work around
 newfs $newfs_flags -n md$md1 > /dev/null
 newfs $newfs_flags -n md$md2 > /dev/null
 mount /dev/md$md1 $mp1