From: grev Date: Fri, 18 Apr 2008 10:35:14 +0000 (+0000) Subject: b=15612 X-Git-Tag: v1_8_0_110~609 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f6388db32594938a1be302911080601bd1e18a2d;p=fs%2Flustre-release.git b=15612 i=Adilger force test_20a and test_20b to do write on the correct ost --- diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh index 6c106db..f794e34 100755 --- a/lustre/tests/recovery-small.sh +++ b/lustre/tests/recovery-small.sh @@ -336,6 +336,7 @@ run_test 19b "test expired_lock_main on ost (2867)" test_20a() { # bug 2983 - ldlm_handle_enqueue cleanup mkdir -p $DIR/$tdir + lfs setstripe $DIR/$tdir/${tfile} -i 0 -c 1 multiop_bg_pause $DIR/$tdir/${tfile} O_wc || return 1 MULTI_PID=$! cancel_lru_locks osc @@ -350,7 +351,7 @@ run_test 20a "ldlm_handle_enqueue error (should return error)" test_20b() { # bug 2986 - ldlm_handle_enqueue error during open mkdir -p $DIR/$tdir - touch $DIR/$tdir/${tfile} + lfs setstripe $DIR/$tdir/${tfile} -i 0 -c 1 cancel_lru_locks osc #define OBD_FAIL_LDLM_ENQUEUE_EXTENT_ERR 0x308 do_facet ost1 sysctl -w lustre.fail_loc=0x80000308