From c76ea4776e27f262687ce3f1057add4e8dfa9828 Mon Sep 17 00:00:00 2001
From: grev <grev>
Date: Wed, 22 Oct 2008 19:16:40 +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 ba6bc91d78..2014e286e3 100755
--- a/lustre/tests/recovery-small.sh
+++ b/lustre/tests/recovery-small.sh
@@ -13,6 +13,13 @@ init_test_env $@
 
 remote_mds_nodsh && skip "remote MDS with nodsh" && exit 0
 
+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