Whamcloud - gitweb
LU-482 test: sync MDS before first replay test
[fs/lustre-release.git] / lustre / tests / replay-dual.sh
index 6817b4f..e2eaa1b 100755 (executable)
@@ -37,7 +37,8 @@ rm -rf $DIR/[df][0-9]*
 
 # LU-482 Avert LVM and VM inability to flush caches in pre .33 kernels
 if [ $LINUX_VERSION_CODE -lt $(kernel_version 2 6 33) ]; then
-    sync; sleep 5; sync; sleep 5; sync; sleep 5
+    sync
+    do_facet $SINGLEMDS sync
 fi
 
 test_0a() {