Whamcloud - gitweb
LU-2433 lnet: enable asymmetric router failure detection
[fs/lustre-release.git] / lnet / lnet / router.c
index 5bb07dd..da0373b 100644 (file)
@@ -82,23 +82,23 @@ lnet_peer_buffer_credits(lnet_ni_t *ni)
 
 static int check_routers_before_use = 0;
 CFS_MODULE_PARM(check_routers_before_use, "i", int, 0444,
-                "Assume routers are down and ping them before use");
+               "Assume routers are down and ping them before use");
 
-static int avoid_asym_router_failure = 0;
+static int avoid_asym_router_failure = 1;
 CFS_MODULE_PARM(avoid_asym_router_failure, "i", int, 0644,
-                "Avoid asymmetrical failures: reserved, use at your own risk");
+               "Avoid asymmetrical router failures (0 to disable)");
 
-static int dead_router_check_interval = 0;
+static int dead_router_check_interval = 60;
 CFS_MODULE_PARM(dead_router_check_interval, "i", int, 0644,
-                "Seconds between dead router health checks (<= 0 to disable)");
+               "Seconds between dead router health checks (<= 0 to disable)");
 
-static int live_router_check_interval = 0;
+static int live_router_check_interval = 60;
 CFS_MODULE_PARM(live_router_check_interval, "i", int, 0644,
-                "Seconds between live router health checks (<= 0 to disable)");
+               "Seconds between live router health checks (<= 0 to disable)");
 
 static int router_ping_timeout = 50;
 CFS_MODULE_PARM(router_ping_timeout, "i", int, 0644,
-                "Seconds to wait for the reply to a router health query");
+               "Seconds to wait for the reply to a router health query");
 
 int
 lnet_peers_start_down(void)