Whamcloud - gitweb
LU-5604 tgt: return missed fail ids
[fs/lustre-release.git] / lustre / tests / replay-dual.sh
index 5cab1a4..69c7b20 100755 (executable)
@@ -901,9 +901,15 @@ test_25() {
        drop_ldlm_cancel "multiop $DIR2/$tfile Ow512" &
        sleep 1
 
-#define OBD_FAIL_OST_LDLM_REPLY_NET      0x213
        # failover, replay and resend replayed waiting locks
-       do_facet ost1 lctl set_param fail_loc=0x80000213
+       if [ $(lustre_version_code ost1) -ge $(version_code 2.6.90) ]; then
+               #define OBD_FAIL_LDLM_SRV_CP_AST      0x325
+               do_facet ost1 lctl set_param fail_loc=0x80000325
+       else
+               #define OBD_FAIL_OST_LDLM_REPLY_NET     0x213
+               do_facet ost1 lctl set_param fail_loc=0x80000213
+       fi
+
        fail ost1
 
        # multiop does not finish because CP AST is skipped;