Whamcloud - gitweb
LU-6570 tests: fix 40a in sanityn.sh 66/15366/2
authorwang di <di.wang@intel.com>
Fri, 19 Jun 2015 09:13:13 +0000 (02:13 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 9 Jul 2015 21:45:07 +0000 (21:45 +0000)
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 <di.wang@intel.com>
Change-Id: Ib4c7c667d4e1dd821df96497e06459db0d5c33f9
Reviewed-on: http://review.whamcloud.com/15366
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanityn.sh

index a69053d..d35bf13 100644 (file)
@@ -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