From 88909813abcf62cd99c3a27315d6afb1ade3835e Mon Sep 17 00:00:00 2001 From: Bobi Jam Date: Tue, 10 May 2011 10:19:07 +0800 Subject: [PATCH] LU-240 test_171() races with background multiop Change-Id: Ibdcc584218708bd29724f3f71804a3ebf5b1d454 Signed-off-by: Bobi Jam Reviewed-on: http://review.whamcloud.com/520 Tested-by: Hudson Reviewed-by: Johann Lombardi --- lustre/tests/sanity.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 4336c9c..88ab9aa 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6615,9 +6615,12 @@ test_171() { # bug20592 #define OBD_FAIL_PTLRPC_DUMP_LOG 0x50e $LCTL set_param fail_loc=0x50e $LCTL set_param fail_val=3000 - multiop_bg_pause $DIR/$tfile Os || true + multiop_bg_pause $DIR/$tfile O_s || true + local MULTIPID=$! + kill -USR1 $MULTIPID # cause log dump sleep 3 + wait $MULTIPID if dmesg | grep "recursive fault"; then error "caught a recursive fault" fi -- 1.8.3.1