skip "skip scrub performance test under non-SLOW mode" && exit 0
[ $(facet_fstype $SINGLEMDS) != ldiskfs ] &&
- skip "OI scrub performance only for ldiskfs" && exit 0
+ skip "ldiskfs only test" && exit 0
[[ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.2.90) ]] &&
skip "Need MDS version at least 2.2.90" && exit 0
require_dsh_mds || exit 0
NTHREADS=$((CPUCORE * 2))
fi
-stopall
+cleanupall
if ! combined_mgs_mds ; then
do_rpc_nodes $(facet_active_host mgs) load_modules_local
}
scrub_cleanup() {
- stopall
+ cleanupall
do_rpc_nodes $(facet_active_host $SINGLEMDS) unload_modules
if ! combined_mgs_mds ; then
do_rpc_nodes $(facet_active_host mgs) unload_modules
fi
- formatall
+ REFORMAT="yes" cleanup_and_setup_lustre
}
scrub_create_nfiles() {
# cleanup the system at last
scrub_cleanup
complete $SECONDS
+check_and_cleanup_lustre
exit_status