From: Jeff Layton Date: Fri, 26 Jan 2024 20:15:50 +0000 (-0500) Subject: src/t_mtab.c: increase the lock timeout to 120s X-Git-Tag: v2024.02.09~19 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cf72e89fdc2d4e95cca55ff0cdb124f16a4d5f9f;p=xfstests-dev.git 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 --- 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";