Whamcloud - gitweb
LU-6679 ldlm: do not send blocking ast for group locks 19/15119/3
authorLi Dongyang <dongyang.li@anu.edu.au>
Wed, 3 Jun 2015 06:32:40 +0000 (16:32 +1000)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 25 Jul 2015 03:07:07 +0000 (03:07 +0000)
commit3016d3eba34f1718278e40d16d1e7e62e7c7abfa
tree9ffbe3c28597b4ae1f732fd610fcefaad8ae8313
parent0dba034bb22573ff8d27e3545a103b0ac7294929
LU-6679 ldlm: do not send blocking ast for group locks

Group locks are acquired and released manually on client so
it doesn't make sense to send blocking AST to client when
there is an incompatible lock enqueued.

Currently client will set CBPENDING on the group lock when
it receives a blocking AST. Having the CBPENDING flag set
will make ldlm_lock_match to fail and there will be two
group locks granted on the same resource on the client.

Signed-off-by: Li Dongyang <dongyang.li@anu.edu.au>
Change-Id: I7af89e957528b3ed9771d86243ac8271084ee81f
Reviewed-on: http://review.whamcloud.com/15119
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ldlm/ldlm_extent.c