From 2083f8a34b556c9e64e09a4529df7d9bdbdd7532 Mon Sep 17 00:00:00 2001 From: wang di Date: Fri, 19 Jun 2015 02:13:13 -0700 Subject: [PATCH] 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 --- lustre/tests/sanityn.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 1.8.3.1