From: Isaac Huang Date: Thu, 17 Dec 2009 23:12:19 +0000 (-0500) Subject: b=16186 Enable peer health detect for ksocklnd and ko2iblnd. i=isaac X-Git-Tag: 1.10.0.33~18 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=2a3233ea1234082ebce188026eb8a4d2f1811f0c b=16186 Enable peer health detect for ksocklnd and ko2iblnd. i=isaac --- diff --git a/lnet/klnds/o2iblnd/o2iblnd_modparams.c b/lnet/klnds/o2iblnd/o2iblnd_modparams.c index f7081a9..27a6112 100644 --- a/lnet/klnds/o2iblnd/o2iblnd_modparams.c +++ b/lnet/klnds/o2iblnd/o2iblnd_modparams.c @@ -72,7 +72,7 @@ static int peer_buffer_credits = 0; CFS_MODULE_PARM(peer_buffer_credits, "i", int, 0444, "# per-peer router buffer credits"); -static int peer_timeout = 0; +static int peer_timeout = 180; CFS_MODULE_PARM(peer_timeout, "i", int, 0444, "Seconds without aliveness news to declare peer dead (<=0 to disable)"); diff --git a/lnet/klnds/socklnd/socklnd_modparams.c b/lnet/klnds/socklnd/socklnd_modparams.c index 6fa44f3..1dbdb6b 100644 --- a/lnet/klnds/socklnd/socklnd_modparams.c +++ b/lnet/klnds/socklnd/socklnd_modparams.c @@ -37,7 +37,7 @@ static int peer_buffer_credits = 0; CFS_MODULE_PARM(peer_buffer_credits, "i", int, 0444, "# per-peer router buffer credits"); -static int peer_timeout = 0; +static int peer_timeout = 180; CFS_MODULE_PARM(peer_timeout, "i", int, 0444, "Seconds without aliveness news to declare peer dead (<=0 to disable)");