Whamcloud - gitweb
LU-18111 ptlrpc: don't drop expired cancel request 46/55946/3
authorAndriy Skulysh <andriy.skulysh@hpe.com>
Mon, 24 Apr 2023 10:54:05 +0000 (13:54 +0300)
committerOleg Drokin <green@whamcloud.com>
Sun, 25 Aug 2024 16:33:35 +0000 (16:33 +0000)
commit3c4387cb61e8a4056ce56ae37ab538e86265fac7
tree422923999e88e1af94dcdc8937d8b0a648c9f384
parent983999bda71115595df48d614ca1aaf9b746c75f
LU-18111 ptlrpc: don't drop expired cancel request

There is no need to drop expired cancel request by
a server because the client will resend the same content.
Even if the server is heavy loaded cancel request processing
helps to release ldlm resources and avoids spending time
on processing of the same resends.

Add extra check to prevent same cookie for another client.

Change-Id: Ib6e22de72262065c453a390e5563f6ac4212c5a6
HPE-bug-id: LUS-11479, LUS-11595
Reviewed-by: Alexander Boyko <alexander.boyko@hpe.com>
Reviewed-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Signed-off-by: Andriy Skulysh <andriy.skulysh@hpe.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55946
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Mikhail Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ldlm/ldlm_lockd.c
lustre/ptlrpc/service.c