Whamcloud - gitweb
LU-8150 mdt: Track open+create as mknod
[fs/lustre-release.git] / lustre / tests / lnet-selftest.sh
index 386d3d2..a1c525d 100755 (executable)
@@ -56,9 +56,14 @@ fi
 # 2) it's theoretically possible that lst tests congest comm paths so tightly
 # that mounted lustre wouldn't able to perform some of its background activities
 if is_mounted $MOUNT || is_mounted $MOUNT2; then
-    local_mode && CLIENTONLY=yes
-    stopall
-    RESTORE_MOUNT=yes
+       if local_mode; then
+               CLIENTONLY=yes
+               stopall
+       else
+               LOAD_MODULES_REMOTE=true
+               cleanupall
+       fi
+       RESTORE_MOUNT=yes
 fi
 
 build_test_filter