Whamcloud - gitweb
LU-12537 lnet: Sync the start of discovery and monitor threads
[fs/lustre-release.git] / lnet / lnet / lib-move.c
index 9b463e2..c1d4e84 100644 (file)
@@ -3446,6 +3446,7 @@ lnet_monitor_thread(void *arg)
        int interval;
        time64_t now;
 
        int interval;
        time64_t now;
 
+       wait_for_completion(&the_lnet.ln_started);
        /*
         * The monitor thread takes care of the following:
         *  1. Checks the aliveness of routers
        /*
         * The monitor thread takes care of the following:
         *  1. Checks the aliveness of routers