From cf72e89fdc2d4e95cca55ff0cdb124f16a4d5f9f Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Fri, 26 Jan 2024 15:15:50 -0500 Subject: [PATCH] src/t_mtab.c: increase the lock timeout to 120s On NFS, generic/089 can take a long time. There is enough contention for the lock that it can take more than 10s (or even 60s) to acquire it. Bump this value up to 120s, which seems to be long enough for testing with kdevops. Signed-off-by: Jeff Layton Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- src/t_mtab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t_mtab.c b/src/t_mtab.c index c0640a19..4b3b26c8 100644 --- a/src/t_mtab.c +++ b/src/t_mtab.c @@ -16,7 +16,7 @@ #include #include -#define LOCK_TIMEOUT 10 +#define LOCK_TIMEOUT 120 #define _(x) (x) static char *mounted = "t_mtab"; -- 2.47.3