when we run run-make-check.sh in hdd disk, it would spend much more
time to finish scrub.
Signed-off-by: Xinze Chi <xinze@xsky.com>
run_osd $dir 0 || return 1
wait_for_clean || return 1
- sleep 5
- ceph pg scrub ${poolid}.0
- timeout 30 ceph -w
+ local pgid="${poolid}.0"
+ pg_scrub "$pgid" || return 1
+ grep 'log_channel' $dir/osd.0.log
for i in `seq 1 7`
do
rados -p $poolname rmsnap snap$i
done
- sleep 10
-
ERRORS=0
pidfile=$(find $dir 2>/dev/null | grep $name_prefix'[^/]*\.pid')