Whamcloud - gitweb
LU-18072 ptlrpc: do not search for duplicate cancel requests 43/56843/5
authorOleg Drokin <green@whamcloud.com>
Thu, 31 Oct 2024 19:29:46 +0000 (15:29 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 25 Apr 2025 00:51:15 +0000 (00:51 +0000)
commit41bb553efcf58fcfb6bdd427a41c655c191480e0
treec2438b72b9a0f8f9f94f3c81311db2b76d5bfe63
parent3c98e7edd8c94f936b4ec749d1790e0819824f2a
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.

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