From: tianying Date: Mon, 26 Jul 2004 12:48:57 +0000 (+0000) Subject: b: 3550 X-Git-Tag: v1_7_0_51~2^7~44 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=6c4e3005342649f9a5ed6217757f8622165df52c;p=fs%2Flustre-release.git b: 3550 r: Andreas replay of unlink - create llog file with the same inode number during replay as before. --- diff --git a/lustre/tests/replay-sanity.sh b/lustre/tests/replay-sanity.sh index 73d228f..11d07d6 100755 --- a/lustre/tests/replay-sanity.sh +++ b/lustre/tests/replay-sanity.sh @@ -14,7 +14,7 @@ init_test_env $@ . ${CONFIG:=$LUSTRE/tests/cfg/local.sh} # Skip these tests -ALWAYS_EXCEPT="1 3" +ALWAYS_EXCEPT="" gen_config() { rm -f $XMLCONFIG @@ -71,6 +71,16 @@ if [ "$ONLY" == "setup" ]; then fi mkdir -p $DIR + +# b=3550 - replay of unlink +test_0() { + replay_barrier mds + createmany -o $DIR/$tfile-%d 400 || return 1 + unlinkmany $DIR/$tfile-%d 0 400 || return 2 + fail mds + $CHECKSTAT -t file $DIR/$tfile-* && return 3 || true +} +run_test 0 "re-create llog file as created during fail" # bug 3488 - test MDS replay more intensely test_1() {