Whamcloud - gitweb
LU-10175 ldlm: IBITS lock convert instead of cancel 02/30202/15
authorMikhal Pershin <mike.pershin@intel.com>
Fri, 3 Nov 2017 07:08:19 +0000 (10:08 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 6 May 2018 03:57:34 +0000 (03:57 +0000)
commit37932c4beb9885593abe63c9e2dc1936648a0b49
tree5313c0defa464b218b3ab50236e2ef5716d8cddd
parent6a39600f641cc3e179b0149af5ff17ba44d2319f
LU-10175 ldlm: IBITS lock convert instead of cancel

For IBITS lock it is possible to drop just conflicting
bits and keep lock itself instead of cancelling it.
Lock convert is only bits downgrade on client and then
on server.
Patch implements lock convert during blocking AST.

Test-Parameters: mdssizegb=20 testlist=sanity-dom,dom-performance,racer,racer,racer
Signed-off-by: Mikhal Pershin <mike.pershin@intel.com>
Change-Id: Id073f14ec3283479a9a48fd80090ecd3b0967b6d
Reviewed-on: https://review.whamcloud.com/30202
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
12 files changed:
lustre/include/lustre_dlm.h
lustre/include/lustre_dlm_flags.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/ldlm/ldlm_inodebits.c
lustre/ldlm/ldlm_internal.h
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c
lustre/llite/namei.c
lustre/mdt/mdt_io.c
lustre/target/tgt_handler.c
lustre/tests/sanity.sh