Whamcloud - gitweb
LU-6385 tests: Sync OSTs between tests in obdfilter-survey
[fs/lustre-release.git] / lustre-iokit / obdfilter-survey / obdfilter-survey
index 23e8189..2b8fcd6 100755 (executable)
@@ -525,6 +525,12 @@ for ((rsz = $rszlo; rsz <= $rszhi; rsz*=2)); do
 
                        # run tests
                        for test in ${tests[@]}; do
+                               # Sync all outstanding data
+                               for host in ${ost_hosts[@]}; do
+                                       remote_shell $host \
+                                           "lctl set_param -n osd*.*OST*.force_sync 1"
+                               done
+
                                declare -a pidarray
                                for host in ${unique_hosts[@]}; do
                                        echo "starting run for test: $test rsz: $rsz " \