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

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



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

Good to me,

Reviewed-by: Zorro Lang <zlang@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