From: Bobi Jam Date: Tue, 26 Apr 2011 08:45:48 +0000 (+0800) Subject: LU-240 test_171() races with background multiop X-Git-Tag: 2.0.60.0~5 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=04d23a7f3dac333c3dad238ebbd7d978421089b4 LU-240 test_171() races with background multiop Change-Id: Ic05c8d79e82cfc632942b13ec3b46ee26da49555 Signed-off-by: Bobi Jam Reviewed-on: http://review.whamcloud.com/466 Reviewed-by: Li Wei Tested-by: Hudson Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index af6f7af..6e4e7ee 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -7307,9 +7307,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