Whamcloud - gitweb
LU-12492 lnet: Deprecate live and dead router check params
[fs/lustre-release.git] / lnet / lnet / module.c
index 9b43c20..261c45c 100644 (file)
@@ -241,6 +241,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 == 0);