Commit graph

349 commits

Author SHA1 Message Date
Peter Holm
4f4b483d31 stress2: Added a comment about a problem found and fixed 2024-09-16 10:17:50 +02:00
Peter Holm
f6fd5af80a stress2: Do not wait forever for swap usage 2024-08-30 10:04:46 +02:00
Peter Holm
c7c3f6351e stress2: Update comments and remove one test 2024-08-29 09:59:16 +02:00
Peter Holm
c7bc30c24f stress2: Some tests use hw.ncpu to scale the load. Tests on a box with
a large number of CPUs show that this number needs to be capped
2024-08-17 08:37:34 +02:00
Peter Holm
41e03b46da stress2: Fix warning about unused variable. Remove debug "date" 2024-08-16 09:19:51 +02:00
Ed Maste
5c2bc3db20 Remove "All Rights Reserved" from FreeBSD Foundation copyrights
These ones were unambiguous cases where the Foundation was the only
listed copyright holder.

Sponsored by:	The FreeBSD Foundation
2024-07-30 12:16:36 -04:00
Bjoern A. Zeeb
d1bdc2821f Deprecate contigfree(9) in favour of free(9)
As of 9e6544dd6e contigfree(9) is no longer
needed and should not be used anymore.  We leave a wrapper for 3rd party
code in at least 15.x but remove (almost) all other cases from the tree.

This leaves one use of contigfree(9) untouched; that was the original
trigger for 9e6544dd6e and is handled in D45813 (to be committed
seperately later).

Sponsored by:	The FreeBSD Foundation
Reviewed by:	markj, kib
Tested by:	pho (10h stress test run)
Differential Revision: https://reviews.freebsd.org/D46099
2024-07-26 10:45:01 +00:00
Gordon Bergling
32a9b95a87 stress2: Fix a typo in namecache2.sh
- s/inconsistancy/inconsistency/

MFC after:	3 days
2024-07-21 11:00:58 +02:00
Peter Holm
00266393cc stress2: Fix tests after the new default for newfs(8) is "SU" 2024-07-20 10:52:29 +02:00
Peter Holm
94e62a5f91 stress2: Exclude one more test 2024-07-19 09:55:39 +02:00
Peter Holm
9c73f38cd3 stress2: Add a new test scenario. Update the exclude list 2024-07-16 06:47:28 +02:00
Warner Losh
e9ac41698b Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
2024-07-15 16:43:39 -06:00
Peter Holm
12be19572a stress2: Add two test. Fix a typo while here 2024-07-04 09:14:45 +02:00
Peter Holm
ad99f0062b stress2: Added a new unionfs test scenario 2024-07-04 09:13:39 +02:00
Alexander Ziaee
088cc7d221 man filesystems: fix more xrefs after move to s4
Fixes: 1a720cbec5
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1282
2024-06-27 18:32:05 -06:00
Peter Holm
d26c565597 stress2: Revert change accidentally added in ff4a72c159 2024-06-15 08:33:14 +02:00
Peter Holm
ff4a72c159 stress2: Replace random() with arc4random() 2024-06-11 15:52:34 +02:00
Peter Holm
cb53f83d8a Revert "stress2: Replace rename() with arc4random()"
This reverts commit f65d0b18d9.

Misleading commit message
2024-06-11 15:51:21 +02:00
Peter Holm
f65d0b18d9 stress2: Replace rename() with arc4random() 2024-06-11 09:38:13 +02:00
Peter Holm
005dd61dd6 stress2: Change fixed number of test loops to timed loops. This to
improve testing with qemu.
2024-06-04 09:39:40 +02:00
Mark Johnston
c52ca7dd09 stress2: Don't run aesni.sh on non-x86 platforms
aesni.ko only exists on amd64 and i386, so on other platforms we are
just running geli.sh twice.

In fact, this test has little value anymore because aesni is included in
GENERIC, so it's always going to be used in preference to cryptosoft.

Reviewed by:	pho
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D45366
2024-05-27 11:26:47 -04:00
Mark Johnston
568be71de3 stress2: Use the proper type for the getopt(3) return value
On arm platforms "char" is typically unsigned, in which case the test
"(c = getopt(...)) != -1" does not behave as desired.

Reviewed by:	pho
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D45365
2024-05-27 11:26:47 -04:00
Poul-Henning Kamp
984764d796 Remove GBDE stress test 2024-05-07 07:26:39 +00:00
Peter Holm
9b10aa4a05 stress2: More detailed error reporting 2024-04-26 10:20:49 +02:00
Peter Holm
219d8fb036 stress2: Add an option to exit on error 2024-04-16 10:22:03 +02:00
Peter Holm
02a2005a5a stress2: Add new unionfs test scenarios 2024-04-16 10:21:14 +02:00
John F. Carr
42b117a4bd gpioevents: Fix build with newer Clang
PR:		277422
2024-03-02 10:38:04 -05:00
Peter Holm
81b7ebe32e stress2: Added a few regression tests 2024-02-27 11:05:26 +01:00
Peter Holm
d19f34821d stress2: Add a helper tool 2024-02-24 07:26:16 +01:00
Peter Holm
1ec33855a8 stress2: Added a new NFS test scenario 2024-02-24 06:47:12 +01:00
Peter Holm
7304bd7a52 stress2: Remove fdisk(8) regression test 2024-01-24 09:55:34 +01:00
Peter Holm
d7e45d5b90 stress2: remove the usage of fdisk(8) as this is soon to be removed 2024-01-24 09:54:17 +01:00
Peter Holm
bd9ddbc9cd stress2: Remove useless test scenario 2024-01-09 11:31:05 +01:00
Peter Holm
f1bc2f67a3 stress2: Reduce idle time. Remove debug output 2024-01-09 11:28:26 +01:00
Peter Holm
1db45a4066 stress2: Handle the new output format of vmstat(8) 2024-01-02 14:43:46 +01:00
Gordon Bergling
63c928f17e gpioevents: Fix a typo in a diagnostic output message
- s/recieved/received/

MFC after:	3 days
2023-12-27 09:41:48 +01:00
Peter Holm
2134b35e0f stress2: Fix "-Wunused-but-set-variable" warnings. Style fixes, while here 2023-12-19 10:36:41 +01:00
Peter Holm
41667b04e5 stress2: Only extract the allocation with the exact name "pts" 2023-12-10 09:34:38 +01:00
Peter Holm
4b0615e585 stress2: Handle a define with comments 2023-12-01 10:37:13 +01:00
Warner Losh
6bfca4dcab tools: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by:		Netflix
2023-11-26 22:24:01 -07:00
Peter Holm
49a83b9439 stress2: Do not make assumptions about the value of UFS_LINK_MAX 2023-11-25 10:36:00 +01:00
Peter Holm
ef1dad6d83 stress2: Fix "-Wunused-but-set-variable" warnings 2023-10-18 08:54:38 +02:00
Richard Scheffenegger
569f2292ca test: iterate both reader and writer threads starting at the actual pagesize
Reviewed By: pho
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D42160
2023-10-11 23:11:57 +02:00
Peter Holm
2b716e00cf stress2: Extent timeout limit to avoid false positive errors 2023-09-27 13:01:00 +02:00
Peter Holm
0f35fd3347 stress2: Remove tests from the exclude list 2023-09-27 13:00:01 +02:00
Peter Holm
0ec1bbe579 stress2: Cap total runtime 2023-09-27 12:58:39 +02:00
John Baldwin
c4e2333cb2 Update a few tools to not embed $FreeBSD$ in generated files
Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D41959
2023-09-25 07:55:43 -07:00
Peter Holm
0d30f3afa6 stress2: No need to write to the console. Add revision to log string 2023-08-19 09:29:09 +02:00
Peter Holm
f322816aaf stress2: Added a syzkaller reproducer 2023-08-19 09:28:10 +02:00
Warner Losh
05248206f7 Remove $FreeBSD$: one-line bare tag
Remove /^\s*\$FreeBSD\$$\n/
2023-08-16 11:55:20 -06:00