From: wang di Date: Fri, 19 Jun 2015 09:13:13 +0000 (-0700) Subject: LU-6570 tests: fix 40a in sanityn.sh X-Git-Tag: 2.7.57~63 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=2083f8a34b556c9e64e09a4529df7d9bdbdd7532;p=fs%2Flustre-release.git LU-6570 tests: fix 40a in sanityn.sh In sanityn.sh 40a, it should cache the parent lookup LOCK Before check parallel directory lock, otherwise parent revalidation might cause lock conflicts on MDT. Signed-off-by: wang di Change-Id: Ib4c7c667d4e1dd821df96497e06459db0d5c33f9 Reviewed-on: http://review.whamcloud.com/15366 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Niu Yawei Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanityn.sh b/lustre/tests/sanityn.sh index a69053d..d35bf13 100644 --- a/lustre/tests/sanityn.sh +++ b/lustre/tests/sanityn.sh @@ -1262,6 +1262,7 @@ check_pdo_conflict() { test_40a() { #define OBD_FAIL_ONCE|OBD_FAIL_MDS_PDO_LOCK 0x145 do_facet $SINGLEMDS lctl set_param fail_loc=0x80000145 + touch $DIR2 mkdir $DIR1/$tfile & PID1=$! sleep 1