Whamcloud - gitweb
LU-18072 ptlrpc: do not search for duplicate cancel requests 68/58968/2
authorOleg Drokin <green@whamcloud.com>
Thu, 31 Oct 2024 19:29:46 +0000 (15:29 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 9 May 2025 01:45:48 +0000 (01:45 +0000)
commit0b367203de00005ea4d24879910bdb905ddf5ad8
tree346df9c680ac2ab3654786ae5467400431f98511
parent278c3747e858c5e1924b8dc564d4245690ef4850
LU-18072 ptlrpc: do not search for duplicate cancel requests

Cancel requests don't have any max inflight limitations, so
really could arrive in huge numbers and if they are also have a resent
flag, that leads to a lot of very expensive duplicates search that is
totally unneeded at the same time, so let's skip the check for cancels.

Lustre-change: https://review.whamcloud.com/56843
Lustre-commit: 41bb553efcf58fcfb6bdd427a41c655c191480e0

Change-Id: Id4be03a3c9406867adcdcfd31ed91ecc7b12f700
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andriy Skulysh <andriy.skulysh@hpe.com>
Reviewed-by: Mikhail Pershin <mpershin@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58968
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/ptlrpc/service.c