From 273a89bb14f37c17b1aefa5bc80e559bd785d0ed Mon Sep 17 00:00:00 2001 From: Peter Holm Date: Sat, 27 May 2023 10:31:44 +0200 Subject: [PATCH] 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 e1f12e97a79..cdc2742de59 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);