Whamcloud - gitweb
LU-16285 ldlm: BL_AST lock cancel still can be batched 67/58767/2
authorVitaly Fertman <c17818@cray.com>
Tue, 28 Feb 2023 01:45:15 +0000 (04:45 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 9 May 2025 01:44:48 +0000 (01:44 +0000)
commitb736bbc3179f18861855cd94fc2559659061a85d
treeb7a743ae95e9424c0ce939bf6cadcaad67eff29e
parent2204e40efa59633b66067d77136bb27a71fa125e
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.

Lustre-change: https://review.whamcloud.com/50158
Lustre-commit: 9d79f92076b6a9ca735dbe4420c122f47d240263

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