Whamcloud - gitweb
LU-1571 mdt: Do not update xid for open replay req
[fs/lustre-release.git] / lustre / tests / recovery-small.sh
index aba5353..5c19142 100755 (executable)
@@ -1542,6 +1542,29 @@ test_106() { # LU-1789
 }
 run_test 106 "lightweight connection support"
 
+test_107 () {
+       local CLIENT_PID
+       local close_pid
+
+       mkdir -p $DIR/$tdir
+       # OBD_FAIL_MDS_REINT_NET_REP   0x119
+       do_facet $SINGLEMDS lctl set_param fail_loc=0x119
+       multiop $DIR/$tdir D_c &
+       close_pid=$!
+       mkdir $DIR/$tdir/dir_106 &
+       CLIENT_PID=$!
+       do_facet $SINGLEMDS lctl set_param fail_loc=0
+       fail $SINGLEMDS
+
+       wait $CLIENT_PID || rc=$?
+       checkstat -t dir $DIR/$tdir/dir_106 || return 1
+
+       kill -USR1 $close_pid
+       wait $close_pid || return 2
+
+       return $rc
+}
+run_test 107 "drop reint reply, then restart MDT"
 complete $SECONDS
 check_and_cleanup_lustre
 exit_status