From edb705e415ef0753b9ce2a539ded8629bb492e17 Mon Sep 17 00:00:00 2001
From: grev <grev>
Date: Wed, 22 Oct 2008 19:26:12 +0000
Subject: [PATCH] b=15711 i=Johann recovery-small exception for
 FAILURE_MODE=HARD and mixed ost devices

---
 lustre/tests/recovery-small.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh
index 07769d9d97..40e28f72d6 100755
--- a/lustre/tests/recovery-small.sh
+++ b/lustre/tests/recovery-small.sh
@@ -11,6 +11,13 @@ LUSTRE=${LUSTRE:-`dirname $0`/..}
 init_test_env $@
 . ${CONFIG:=$LUSTRE/tests/cfg/$NAME.sh}
 
+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
+
 # also long tests: 19, 21a, 21e, 21f, 23, 27
 #                                   1  2.5  2.5    4    4          (min)"
 [ "$SLOW" = "no" ] && EXCEPT_SLOW="17  26a  26b    50   51     57"
-- 
GitLab