Whamcloud - gitweb
LU-16285 ldlm: BL_AST lock cancel still can be batched
authorVitaly Fertman <c17818@cray.com>
Tue, 28 Feb 2023 01:45:15 +0000 (04:45 +0300)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 14 Mar 2023 17:55:11 +0000 (17:55 +0000)
commitb0116d86d5b07b128d0bb935f7c14cbfbfc7ec29
treeb6510ad9b3eb5aafef1b08c9d6c97c41ec79ea34
parent5187fa68361db44198afa959b2d324989b901aa6
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: Xing Huang <hxing@ddn.com>
Change-Id: Ie4a7c7f3e0f5462290f72af7c3b2ff410a31f5e7
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/50274
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/include/lustre_dlm.h
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c