@@ -501,6 +501,8 @@ struct lnet_ni *
extern unsigned int lnet_drop_asym_route;
extern unsigned int router_sensitivity_percentage;
extern int alive_router_check_interval;
+extern int live_router_check_interval;
+extern int dead_router_check_interval;
extern int portal_rotor;
int lnet_lib_init(void);
@@ -245,6 +245,10 @@ static int __init lnet_init(void)
return rc;
}
+ if (live_router_check_interval != INT_MIN ||
+ dead_router_check_interval != INT_MIN)
+ LCONSOLE_WARN("live_router_check_interval and dead_router_check_interval have been deprecated. Use alive_router_check_interval instead. Ignoring these deprecated parameters.\n");
+
rc = blocking_notifier_chain_register(&libcfs_ioctl_list,
&lnet_ioctl_handler);
LASSERT(!rc);
@@ -78,6 +78,14 @@
module_param(avoid_asym_router_failure, int, 0644);
MODULE_PARM_DESC(avoid_asym_router_failure, "Avoid asymmetrical router failures (0 to disable)");
+int dead_router_check_interval = INT_MIN;
+module_param(dead_router_check_interval, int, 0444);
+MODULE_PARM_DESC(dead_router_check_interval, "(DEPRECATED - Use alive_router_check_interval)");
+
+int live_router_check_interval = INT_MIN;
+module_param(live_router_check_interval, int, 0444);
+MODULE_PARM_DESC(live_router_check_interval, "(DEPRECATED - Use alive_router_check_interval)");
+
int alive_router_check_interval = 60;
module_param(alive_router_check_interval, int, 0644);
MODULE_PARM_DESC(alive_router_check_interval, "Seconds between live router health checks (<= 0 to disable)");