if [ "$ONLY" == "cleanup" ]; then
sysctl -w portals.debug=0 || true
- cleanup
+ FORCE=--force cleanup
exit
fi
kill -USR1 $MULTI_PID
wait $MULTI_PID
rc=$?
- [ $rc -eq 0 ] && error "multiop didn't fail fsync: rc $rc" || true
sysctl -w lustre.fail_loc=0x0
+ client_reconnect
+ [ $rc -eq 0 ] && error "multiop didn't fail fsync: rc $rc" || true
}
run_test 24 "fsync error (should return error)"
sleep 30
test_25c_guts
rc=$?
+ client_reconnect
return $rc
}
run_test 25c "failover OST under load"
-$CLEANUP
+FORCE=--force $CLEANUP