From c4a7abbe74dc551ce45b8e403ed553beebf0cf36 Mon Sep 17 00:00:00 2001 From: yury Date: Tue, 21 Oct 2008 17:21:25 +0000 Subject: [PATCH] b=17323 r=adilger,johann - fixes log_cancel resend handling --- lustre/tests/replay-single.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index aefc762..41af309 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -1329,6 +1329,21 @@ test_59() { } run_test 59 "test log_commit_thread vs filter_destroy race" +# bug 17323 +test_59b() { + mkdir -p $DIR/$tdir + createmany -o $DIR/$tdir/$tfile-%d 2000 + sync +#define OBD_FAIL_OBD_LOG_CANCEL_REP 0x606 + do_facet mds "lctl set_param fail_loc=0x606" + unlinkmany $DIR/$tdir/$tfile-%d 2000 + sleep 60 + do_facet mds "lctl set_param fail_loc=0x0" + $LCTL dk | grep -q "RESENT cancel req" || return 1 + rmdir $DIR/$tdir +} +run_test 59b "resent handle in llog_origin_handle_cancel" + # race between add unlink llog vs cat log init in post_recovery (only for b1_6) # bug 12086: should no oops and No ctxt error for this test test_60() { -- 1.8.3.1