Whamcloud - gitweb
LU-12296 llite: improve ll_dom_lock_cancel 58/34858/7
authorVladimir Saveliev <c17830@cray.com>
Wed, 5 Jun 2019 01:46:42 +0000 (04:46 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 24 Jul 2019 04:22:33 +0000 (04:22 +0000)
commit707bab62f5d6c704b30e4ee9e769b5c9f026e1e7
treeb828bccb9c117feef4038b72282896ca6761fe1f
parent9a0a864112550047ae7236c7a904dc7a9955880e
LU-12296 llite: improve ll_dom_lock_cancel

ll_dom_lock_cancel() should zero kms attribute similar to
mdc_ldlm_blocking_ast0().

In order to avoid code duplication between mdc_ldlm_blocking_ast0()
and ll_dom_lock_cancel() - add cl_object_operations method to be able
to reach mdc's blocking ast from llite level.

Test illustrating the issue is added.

Cray-bug-id: LUS-7118
Signed-off-by: Vladimir Saveliev <c17830@cray.com>
Change-Id: I2b100ead6d420dbf561bc61be973d64dad317214
Reviewed-on: https://review.whamcloud.com/34858
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/cl_object.h
lustre/llite/namei.c
lustre/lov/lov_object.c
lustre/mdc/mdc_dev.c
lustre/obdclass/cl_object.c
lustre/tests/sanity-dom.sh