set -e
-# bug 5494 7288 5493
-ALWAYS_EXCEPT="24 27 52 $RECOVERY_SMALL_EXCEPT"
+# bug 5494 5493
+ALWAYS_EXCEPT="24 52 $RECOVERY_SMALL_EXCEPT"
PTLDEBUG=${PTLDEBUG:--1}
LUSTRE=${LUSTRE:-`dirname $0`/..}
. ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
init_logging
-if [ "$FAILURE_MODE" = "HARD" ] && mixed_ost_devs; then
- CONFIG_EXCEPTIONS="52"
- echo -n "Several ost services on one ost node are used with FAILURE_MODE=$FAILURE_MODE. "
- echo "Except the tests: $CONFIG_EXCEPTIONS"
- ALWAYS_EXCEPT="$ALWAYS_EXCEPT $CONFIG_EXCEPTIONS"
-fi
-
require_dsh_mds || exit 0
# also long tests: 19, 21a, 21e, 21f, 23, 27
#define OBD_FAIL_OSC_SHUTDOWN 0x407
do_facet $SINGLEMDS lctl set_param fail_loc=0x80000407
# need to wait for reconnect
- echo -n waiting for fail_loc
- while [ $(do_facet $SINGLEMDS lctl get_param -n fail_loc) -eq -2147482617 ]; do
- sleep 1
- echo -n .
- done
- do_facet $SINGLEMDS lctl get_param -n fail_loc
+ echo waiting for fail_loc
+ wait_update_facet $SINGLEMDS "lctl get_param -n fail_loc" "-2147482617"
facet_failover $SINGLEMDS
#no crashes allowed!
kill -USR1 $CLIENT_PID