Whamcloud - gitweb
LU-2831 tests: Sync MDS data also when doing sync_all_data
[fs/lustre-release.git] / lustre / tests / test-framework.sh
index b881b9e..743d017 100644 (file)
@@ -1793,7 +1793,10 @@ wait_update_facet() {
 }
 
 sync_all_data() {
-       do_node $(osts_nodes) "lctl set_param -n osd*.*OS*.force_sync 1" 2>&1 |
+       do_nodes $(comma_list $(mdts_nodes)) \
+           "lctl set_param -n osd*.*MDT*.force_sync 1"
+       do_nodes $(comma_list $(osts_nodes)) \
+           "lctl set_param -n osd*.*OS*.force_sync 1" 2>&1 |
                grep -v 'Found no match'
 }