From 023a873c1457c1da4788a1a503dc22632afa80a4 Mon Sep 17 00:00:00 2001 From: Patrick Farrell Date: Wed, 1 Mar 2023 16:05:02 -0500 Subject: [PATCH] LU-16608 tests: Reduce lock count in 255c Similar to LU-10443/LU-10136, test 255c is failing due to lock reclamation during the test, this time on GK testing. Reducing the lock count in the test from 500 to 100 should dramatically reduce the frequency of failures, and is still a good test. Test-parameters: trivial testlist=sanity env=ONLY=255c,ONLY_REPEAT=100 Signed-off-by: Patrick Farrell Change-Id: I47c9a60c8425b73c53093bae34995c08c8278f2b Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50174 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Alex Deiter Reviewed-by: Oleg Drokin --- lustre/tests/lockahead_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/lockahead_test.c b/lustre/tests/lockahead_test.c index 7fd180e..f3b8e51 100644 --- a/lustre/tests/lockahead_test.c +++ b/lustre/tests/lockahead_test.c @@ -429,7 +429,7 @@ static int test15(void) advice = malloc(sizeof(struct llapi_lu_ladvise)*count); - for (i = 0; i < 500; i++) { + for (i = 0; i < 100; i++) { /* The 'UL' designators are required to avoid undefined * behavior which GCC turns in to an infinite loop */ __u64 start = i * 1024UL * 1024UL * 10UL; -- 1.8.3.1