[Devel] [PATCH RHEL10 COMMIT] fs/fuse/kio: RPC_AFFINITY_RSS to fallthrough to RPC_AFFINITY_RETENT
Konstantin Khorenko
khorenko at virtuozzo.com
Mon Sep 15 16:23:13 MSK 2025
The commit is pushed to "branch-rh10-6.12.0-55.13.1.2.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-55.13.1.2.5.vz10
------>
commit 657a0f2c8603ccc551373019be1561a8207888d2
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date: Tue Jul 8 20:21:58 2025 +0300
fs/fuse/kio: RPC_AFFINITY_RSS to fallthrough to RPC_AFFINITY_RETENT
After revert
584865204a ("Revert "fs/fuse kio: introduce a new rpc affinity mode"")
there is no more RPC_AFFINITY_FAIR_SPREAD and thus fallthrough to
RPC_AFFINITY_RETENT like it was prior to
66a3dfbe054e ("fs/fuse/kio: tidy up RPC_AFFINITY_RSS")
Fixes: 66a3dfbe054e ("fs/fuse/kio: tidy up RPC_AFFINITY_RSS")
https://virtuozzo.atlassian.net/browse/VSTOR-109481
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
Feature: vStorage
---
fs/fuse/kio/pcs/pcs_rpc.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/fs/fuse/kio/pcs/pcs_rpc.c b/fs/fuse/kio/pcs/pcs_rpc.c
index 8051e8189621..353a032c7f58 100644
--- a/fs/fuse/kio/pcs/pcs_rpc.c
+++ b/fs/fuse/kio/pcs/pcs_rpc.c
@@ -805,11 +805,6 @@ static void pcs_rpc_affinity(struct pcs_rpc *ep, bool was_idle)
ep->cpu = rx_cpu;
fallthrough;
}
- case RPC_AFFINITY_FAIR_SPREAD:
- if (ep->cpu == WORK_CPU_UNBOUND ||
- (time_is_before_jiffies(ep->cpu_stamp) && was_idle))
- pcs_rpc_cpu_select(ep);
- break;
case RPC_AFFINITY_RETENT:
/* Do not set rpc affinity from a workequeue worker */
if (current->flags & PF_WQ_WORKER)
More information about the Devel
mailing list