diff options
author | Jeff Layton <jlayton@kernel.org> | 2024-01-26 15:15:50 -0500 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2024-02-09 13:27:17 +0800 |
commit | cf72e89fdc2d4e95cca55ff0cdb124f16a4d5f9f (patch) | |
tree | 1671046fc615f170b8f15032f0c6eb8391e2a82f | |
parent | 52c6d0f30ae5d087baff79a270f33144effd02e1 (diff) | |
download | xfstests-dev-cf72e89fdc2d4e95cca55ff0cdb124f16a4d5f9f.tar.gz |
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 <jlayton@kernel.org>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
-rw-r--r-- | src/t_mtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/t_mtab.c b/src/t_mtab.c index c0640a1951..4b3b26c86d 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"; |