git: 273a89bb14f3 - main - stress2: Tune to get more slightly broken file systems
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 May 2023 08:35:11 UTC
The branch main has been updated by pho: URL: https://cgit.FreeBSD.org/src/commit/?id=273a89bb14f37c17b1aefa5bc80e559bd785d0ed commit 273a89bb14f37c17b1aefa5bc80e559bd785d0ed Author: Peter Holm <pho@FreeBSD.org> AuthorDate: 2023-05-27 08:31:44 +0000 Commit: Peter Holm <pho@FreeBSD.org> CommitDate: 2023-05-27 08:31:44 +0000 stress2: Tune to get more slightly broken file systems --- tools/test/stress2/tools/flip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test/stress2/tools/flip.c b/tools/test/stress2/tools/flip.c index e1f12e97a79c..cdc2742de59f 100644 --- a/tools/test/stress2/tools/flip.c +++ b/tools/test/stress2/tools/flip.c @@ -131,7 +131,7 @@ main(int argc, char *argv[]) err(1, "lseek()"); if (read(fd, &c, 1) != 1) err(1, "read()"); - if (arc4random() % 100 < 80) + if (arc4random() % 100 < 98) flip(&c, 1); else trash(&c);