[PATCH fstests] generic/089: increase the lock timeout to 120s

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



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@xxxxxxxxxx>
---
 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





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux