From 6c4e3005342649f9a5ed6217757f8622165df52c Mon Sep 17 00:00:00 2001 From: tianying Date: Mon, 26 Jul 2004 12:48:57 +0000 Subject: [PATCH] b: 3550 r: Andreas replay of unlink - create llog file with the same inode number during replay as before. --- lustre/tests/replay-sanity.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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() { -- 1.8.3.1