* [PATCH fstests] generic/089: increase the lock timeout to 120s
@ 2024-01-26 20:15 Jeff Layton
2024-02-02 13:00 ` Zorro Lang
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Layton @ 2024-01-26 20:15 UTC (permalink / raw)
To: fstests
On NFS, this test 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 <jlayton@kernel.org>
---
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 c0640a1951a4..4b3b26c86d02 100644
--- a/src/t_mtab.c
+++ b/src/t_mtab.c
@@ -16,7 +16,7 @@
#include <mntent.h>
#include <limits.h>
-#define LOCK_TIMEOUT 10
+#define LOCK_TIMEOUT 120
#define _(x) (x)
static char *mounted = "t_mtab";
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH fstests] generic/089: increase the lock timeout to 120s
2024-01-26 20:15 [PATCH fstests] generic/089: increase the lock timeout to 120s Jeff Layton
@ 2024-02-02 13:00 ` Zorro Lang
0 siblings, 0 replies; 2+ messages in thread
From: Zorro Lang @ 2024-02-02 13:00 UTC (permalink / raw)
To: Jeff Layton; +Cc: fstests
On Fri, Jan 26, 2024 at 03:15:50PM -0500, Jeff Layton wrote:
> On NFS, this test 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 <jlayton@kernel.org>
> ---
Good to me,
Reviewed-by: Zorro Lang <zlang@redhat.com>
> 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 c0640a1951a4..4b3b26c86d02 100644
> --- a/src/t_mtab.c
> +++ b/src/t_mtab.c
> @@ -16,7 +16,7 @@
> #include <mntent.h>
> #include <limits.h>
>
> -#define LOCK_TIMEOUT 10
> +#define LOCK_TIMEOUT 120
> #define _(x) (x)
>
> static char *mounted = "t_mtab";
> --
> 2.43.0
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-02 13:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-26 20:15 [PATCH fstests] generic/089: increase the lock timeout to 120s Jeff Layton
2024-02-02 13:00 ` Zorro Lang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox