From: Cyril Bordage Date: Tue, 7 Dec 2021 22:14:43 +0000 (+0100) Subject: LU-15288 lnet: increase transaction timeout X-Git-Tag: 2.15.54~136 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;ds=sidebyside;h=18b4e28f18d55291f8a14a3bd9ee84b1a686a93e;hp=5cd5a49c7213315d83bca54a2eee97ba57d256cc;p=fs%2Flustre-release.git 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 --- 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