Whamcloud - gitweb
LU-18111 ptlrpc: don't drop expired cancel request 69/58769/3
authorAndriy Skulysh <andriy.skulysh@hpe.com>
Mon, 24 Apr 2023 10:54:05 +0000 (13:54 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 9 May 2025 01:45:28 +0000 (01:45 +0000)
commit85327e8d2d0e4c4793f3cdf2aae2acba3fca62f9
treeb756efd6e128bb57f46af12472b1eaf299dde323
parent8930a68884d07fb02de6283758f5479f4e10e5f9
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.

Lustre-change: https://review.whamcloud.com/55946
Lustre-commit: 3c4387cb61e8a4056ce56ae37ab538e86265fac7

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-by: Mikhail Pershin <mpershin@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58769
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ldlm/ldlm_lockd.c
lustre/ptlrpc/service.c