Whamcloud - gitweb
Revert "LU-5570 lnet: check router aliveness timestamp"
[fs/lustre-release.git] / lnet / lnet / router.c
index d3eb33c..45219a6 100644 (file)
@@ -831,7 +831,6 @@ lnet_router_ni_update_locked(lnet_peer_t *gw, __u32 net)
 {
        lnet_route_t *rte;
 
-       /* NB: this can't help for multi-hop routing */
        if ((gw->lp_ping_feats & LNET_PING_FEAT_NI_STATUS) != 0) {
                list_for_each_entry(rte, &gw->lp_routes, lr_gwlist) {
                        if (rte->lr_net == net) {
@@ -1142,9 +1141,11 @@ lnet_router_checker_start(void)
         /* EQ size doesn't matter; the callback is guaranteed to get every
          * event */
        eqsz = 0;
-       rc = LNetEQAlloc(eqsz, lnet_router_checker_event, &the_lnet.ln_rc_eqh);
+        rc = LNetEQAlloc(eqsz, lnet_router_checker_event,
+                         &the_lnet.ln_rc_eqh);
 #else
-       rc = LNetEQAlloc(eqsz, LNET_EQ_HANDLER_NONE, &the_lnet.ln_rc_eqh);
+        rc = LNetEQAlloc(eqsz, LNET_EQ_HANDLER_NONE,
+                         &the_lnet.ln_rc_eqh);
 #endif
         if (rc != 0) {
                 CERROR("Can't allocate EQ(%d): %d\n", eqsz, rc);