Skip to content
Snippets Groups Projects
Commit 979051b8 authored by Nathaniel Clark's avatar Nathaniel Clark Committed by Oleg Drokin
Browse files

LU-6385 tests: sync I/O in obdfilter-survey

This ensures I/O is synced before each test.  Previous patch
http://review.whamcloud.com/14143

 works only with the Lustre test
framework.  This will ensure I/O is always sysnced.

Signed-off-by: default avatarNathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: Ib19a9e4afd8ca83deceb78fe8fdb4d231da0bc40
Reviewed-on: http://review.whamcloud.com/16942


Tested-by: Jenkins
Reviewed-by: default avatarAlex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: default avatarMaloo <hpdd-maloo@intel.com>
Reviewed-by: default avatarBob Glossman <bob.glossman@intel.com>
Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
parent 95557d5c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment