Whamcloud - gitweb
LU-16062 ldlm: improve bl_timeout for prolong
authorVitaly Fertman <c17818@cray.com>
Tue, 4 Oct 2022 17:30:08 +0000 (10:30 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 11 Oct 2022 07:47:57 +0000 (07:47 +0000)
commit532fa8a41bdb611e6338750888dcddfff901fc4e
treed6dc50fcf4737b9f1d7a7ef373e2263083b9ba4e
parent239c3a48f75e78d0a756ac510180bd183e9d7cda
LU-16062 ldlm: improve bl_timeout for prolong

If there is a client's RPC in hand, we can do a better job for
calculating the lock callback timeout as RPC has the info what
client thinks about this RPC timeout. Let's use it.

Lustre-change: https://review.whamcloud.com/48094
Lustre-commit: 34b2246e4a6c8ce827c404cb4e52f7c6a0a1b90b

HPE-bug-id: LUS-8866, LUS-11074
Signed-off-by: Vitaly Fertman <c17818@cray.com>
Change-Id: Ibd67d37c1073d0d3cb2e08b532c801af0de116fe
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/48762
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/include/lustre_net.h
lustre/ldlm/ldlm_extent.c
lustre/ldlm/ldlm_lockd.c
lustre/mdt/mdt_io.c
lustre/ofd/ofd_dev.c