Whamcloud - gitweb
LU-8078 iokit: correct obdfilter-survey output data format
[fs/lustre-release.git] / lustre-iokit / obdfilter-survey / obdfilter-survey
index 2b8fcd6..12a8382 100755 (executable)
@@ -525,14 +525,10 @@ 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
+                                       remote_shell $host \
+                                           "lctl set_param -n osd*.*OST*.force_sync 1"
                                        echo "starting run for test: $test rsz: $rsz " \
                                        "threads: $thr objects: $nobj" >> ${vmstatf}_${host}
                                done
@@ -609,7 +605,7 @@ for ((rsz = $rszlo; rsz <= $rszhi; rsz*=2)); do
                                                str=$(printf "%17s " SHORT)
                                        fi
                                else
-                                       str=$(awk "BEGIN {printf \"[%7.2f,%7.2f] \",\
+                                       str=$(awk "BEGIN {printf \"[%7.2f, %7.2f] \",\
                                        (${stats[1]} * $actual_rsz)/1024,\
                                        (${stats[2]} * $actual_rsz)/1024; exit}")
                                fi