Whamcloud - gitweb
LU-7418 tests: cancel all locks in sanity test_29 41/20741/4
authorAndreas Dilger <andreas.dilger@intel.com>
Mon, 13 Jun 2016 04:13:39 +0000 (22:13 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 13 Jun 2016 17:19:36 +0000 (17:19 +0000)
Cancel both MDC and OSC locks in sanity.sh test_29, since any
background writeout of dirty pages under OSC locks will request
a layout lock from the MDS, causing the test to fail.

Test-Parameters: trivial testlist=sanity,sanity,sanity,sanity
Test-Parameters: testlist=sanity,sanity,sanity,sanity
Test-Parameters: testlist=sanity,sanity,sanity,sanity
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Ie2cc1b241d5fac5b439509a3d01384f6a531e654
Reviewed-on: http://review.whamcloud.com/20741
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh

index b8e710e..b4eb680 100644 (file)
@@ -2119,7 +2119,7 @@ run_test 28 "create/mknod/mkdir with bad file types ============"
 
 test_29() {
        [ $PARALLEL == "yes" ] && skip "skip parallel run" && return 0
 
 test_29() {
        [ $PARALLEL == "yes" ] && skip "skip parallel run" && return 0
-       cancel_lru_locks mdc
+       cancel_lru_locks
        test_mkdir $DIR/d29
        touch $DIR/d29/foo
        log 'first d29'
        test_mkdir $DIR/d29
        touch $DIR/d29/foo
        log 'first d29'