From 73fdd1579d87c3fdaef71edaada0c4518cb00492 Mon Sep 17 00:00:00 2001 From: Sonia Sharma Date: Mon, 17 Sep 2018 13:50:42 -0400 Subject: [PATCH] LU-11389 lnet: increase lnet transaction timeout Increase the new LNet Health transaction timeout to the original 50s value, to avoid spurious lnet-selftest failures and expected false timeouts under load. Fix the lnet_transaction_timeout module parameter description. Test-Parameters: trivial clientarch=aarch64 testlist=lnet-selftest,lnet-selftest,lnet-selftest,lnet-selftest Test-Parameters: clientarch=aarch64 testlist=lnet-selftest,lnet-selftest,lnet-selftest,lnet-selftest Signed-off-by: Sonia Sharma Change-Id: Ic9df69ef8c7a4085815b54dc6741f37a73d36a75 Reviewed-on: https://review.whamcloud.com/33231 Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: James Nunez Reviewed-by: Amir Shehata --- lnet/lnet/api-ni.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lnet/lnet/api-ni.c b/lnet/lnet/api-ni.c index 1b3aa1a4..4c8decc 100644 --- a/lnet/lnet/api-ni.c +++ b/lnet/lnet/api-ni.c @@ -160,7 +160,7 @@ module_param_call(lnet_peer_discovery_disabled, discovery_set, param_get_int, MODULE_PARM_DESC(lnet_peer_discovery_disabled, "Set to 1 to disable peer discovery on this node."); -unsigned lnet_transaction_timeout = 5; +unsigned lnet_transaction_timeout = 50; static int transaction_to_set(const char *val, cfs_kernel_param_arg_t *kp); static struct kernel_param_ops param_ops_transaction_timeout = { .set = transaction_to_set, @@ -175,8 +175,8 @@ module_param(lnet_transaction_timeout, transaction_timeout, S_IRUGO|S_IWUSR); module_param_call(lnet_transaction_timeout, transaction_to_set, param_get_int, &lnet_transaction_timeout, S_IRUGO|S_IWUSR); #endif -MODULE_PARM_DESC(lnet_peer_discovery_disabled, - "Set to 1 to disable peer discovery on this node."); +MODULE_PARM_DESC(lnet_transaction_timeout, + "Maximum number of seconds to wait for a peer response."); unsigned lnet_retry_count = 0; static int retry_count_set(const char *val, cfs_kernel_param_arg_t *kp); -- 1.8.3.1