From: isaac Date: Wed, 19 Aug 2009 16:34:59 +0000 (+0000) Subject: i=isaac,b=16186: X-Git-Tag: v1_8_2_01~1^5~11 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=ec27ed76bd6116d75bb029710caa203c3a552bfa;p=fs%2Flustre-release.git i=isaac,b=16186: - turn on peer health detect for ksocklnd and ko2iblnd by default. --- 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 d3d7cd0..c4a6261 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)");