From 18b4e28f18d55291f8a14a3bd9ee84b1a686a93e Mon Sep 17 00:00:00 2001 From: Cyril Bordage Date: Tue, 7 Dec 2021 23:14:43 +0100 Subject: [PATCH 1/1] LU-15288 lnet: increase transaction timeout In LU-13145, it was decided to increase default transaction timeout (LNET_TRANSACTION_TIMEOUT_DEFAULT) to 150s. But, in the associated patch, it was set to 50s. This modification will also modify lnd_timeout (from 16 to 49). Signed-off-by: Cyril Bordage Change-Id: I13a8b5d14230bb6e8936cb3e18540f19dbc62985 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/45780 Reviewed-by: Andreas Dilger Reviewed-by: Serguei Smirnov Reviewed-by: Oleg Drokin Tested-by: jenkins Tested-by: Maloo --- lnet/lnet/api-ni.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnet/lnet/api-ni.c b/lnet/lnet/api-ni.c index c979532..f404524 100644 --- a/lnet/lnet/api-ni.c +++ b/lnet/lnet/api-ni.c @@ -210,7 +210,7 @@ module_param_call(lnet_drop_asym_route, drop_asym_route_set, param_get_int, MODULE_PARM_DESC(lnet_drop_asym_route, "Set to 1 to drop asymmetrical route messages."); -#define LNET_TRANSACTION_TIMEOUT_DEFAULT 50 +#define LNET_TRANSACTION_TIMEOUT_DEFAULT 150 unsigned int lnet_transaction_timeout = LNET_TRANSACTION_TIMEOUT_DEFAULT; static int transaction_to_set(const char *val, cfs_kernel_param_arg_t *kp); #ifdef HAVE_KERNEL_PARAM_OPS -- 1.8.3.1