From 51dc628fac1575d6e32a41aeca1448d24227bacd Mon Sep 17 00:00:00 2001 From: Fan Yong Date: Mon, 10 May 2010 19:20:57 +0800 Subject: [PATCH] b=19986 cleanup lock to eliminate former test cases effect before replay-single test_53 cleanup lock to eliminate former test cases effect before replay-single test_53 i=johann i=robert --- lustre/tests/replay-single.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index cce3326..612d050 100644 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -1061,6 +1061,7 @@ run_test 52 "time out lock replay (3764)" # bug 3462 - simultaneous MDC requests test_53a() { + cancel_lru_locks mdc # lock cleanup mkdir -p $DIR/${tdir}-1 mkdir -p $DIR/${tdir}-2 multiop $DIR/${tdir}-1/f O_c & @@ -1088,6 +1089,7 @@ test_53a() { run_test 53a "|X| close request while two MDC requests in flight" test_53b() { + cancel_lru_locks mdc # lock cleanup rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2 mkdir -p $DIR/$tdir-1 @@ -1120,6 +1122,7 @@ test_53b() { run_test 53b "|X| open request while two MDC requests in flight" test_53c() { + cancel_lru_locks mdc # lock cleanup rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2 mkdir -p $DIR/${tdir}-1 @@ -1153,6 +1156,7 @@ test_53c() { run_test 53c "|X| open request and close request while two MDC requests in flight" test_53d() { + cancel_lru_locks mdc # lock cleanup rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2 mkdir -p $DIR/${tdir}-1 @@ -1182,6 +1186,7 @@ test_53d() { run_test 53d "|X| close reply while two MDC requests in flight" test_53e() { + cancel_lru_locks mdc # lock cleanup rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2 mkdir -p $DIR/$tdir-1 @@ -1213,6 +1218,7 @@ test_53e() { run_test 53e "|X| open reply while two MDC requests in flight" test_53f() { + cancel_lru_locks mdc # lock cleanup rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2 mkdir -p $DIR/${tdir}-1 @@ -1246,6 +1252,7 @@ test_53f() { run_test 53f "|X| open reply and close reply while two MDC requests in flight" test_53g() { + cancel_lru_locks mdc # lock cleanup rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2 mkdir -p $DIR/${tdir}-1 @@ -1279,6 +1286,7 @@ test_53g() { run_test 53g "|X| drop open reply and close request while close and open are both in flight" test_53h() { + cancel_lru_locks mdc # lock cleanup rm -rf $DIR/${tdir}-1 $DIR/${tdir}-2 mkdir -p $DIR/${tdir}-1 -- 1.8.3.1