Whamcloud - gitweb
LU-4206 tests: cancel data lock before ELC test 50/10250/4
authorwang di <di.wang@intel.com>
Wed, 7 May 2014 10:24:33 +0000 (03:24 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 8 May 2014 17:22:13 +0000 (17:22 +0000)
commit80b00a3a715b33d56e71b88dce11283aa53bf1eb
treea0a0e5fb470a38df2f48681de1eae388bf68cfca
parent60e07b972114df24105a3a1bfa7365892f72a4a7
LU-4206 tests: cancel data lock before ELC test

Since 2,4, MDT will send unlink request to the OST, and OST
will destroy the object and revoke the data lock in the client
cache, i.e. client will not do ELC for data lock during the
rename and unlink. So cancel the data lock before couting
lock block callback counting.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: Ib216d068e71dce8236f26cb62188fff6d090042a
Reviewed-on: http://review.whamcloud.com/10250
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh