Whamcloud - gitweb
LU-16285 ldlm: BL_AST lock cancel still can be batched 58/50158/3
authorVitaly Fertman <c17818@cray.com>
Tue, 28 Feb 2023 01:45:15 +0000 (04:45 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Mar 2023 03:29:29 +0000 (03:29 +0000)
commit9d79f92076b6a9ca735dbe4420c122f47d240263
tree4c4f4f3c1c6b0f739157062e0faf98ccdcfe6321
parenta99eb0210a5741138981e999082c695aef0dffff
LU-16285 ldlm: BL_AST lock cancel still can be batched

The previous patch makes BLAST locks to be cancelled separately.
However the main problem is flushing the data under the other batched
locks, thus still possible to batch it with those with no data.
Could be optimized for not yet CANCELLING locks only, otherwise it is
already in the l_bl_ast list.

Fixes: b65374d9 ("LU-16285 ldlm: send the cancel RPC asap")
Signed-off-by: Vitaly Fertman <vitaly.fertman@hpe.com>
Change-Id: Ie4a7c7f3e0f5462290f72af7c3b2ff410a31f5e7
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50158
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c