Whamcloud - gitweb
LU-18446 ptlrpc: fix cpu_latency_work() completion time 85/59285/2
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 19 May 2025 08:17:21 +0000 (02:17 -0600)
committerOleg Drokin <green@whamcloud.com>
Sat, 7 Jun 2025 22:54:10 +0000 (22:54 +0000)
commit69bf4ec09bed9ac8cd47d5f101d8de2ff4886d32
treeb93e641a3a89753aced0db8cdb6aeaed122f14c8
parent14575563dea23fbb3417b64fd164cbc3da866469
LU-18446 ptlrpc: fix cpu_latency_work() completion time

Consider the cpu_latency_work() completion when it is equal to the
scheduled jiffies counter, rather than only afterward.

Fixes: 54a64ea818 ("LU-18446 ptlrpc: lower CPUs latency during client I/O")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I985d29b493bda02aa69ad54d9aae581a05fad685
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/59285
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Bruno Faccini <bfaccini@nvidia.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ptlrpc/connection.c