[Devel] [PATCH RHEL9 COMMIT] fs/fuse/kio: RPC_AFFINITY_RSS to fallthrough to RPC_AFFINITY_RETENT
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Jul 8 20:23:24 MSK 2025
The commit is pushed to "branch-rh9-5.14.0-427.55.1.vz9.82.x-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh9-5.14.0-427.55.1.vz9.82.5
------>
commit bc203a16f0b045a3b3eb8578b974197ca23f9b2f
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
236bfbf16b33b ("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
3f286d2b5f406 ("fs/fuse/kio: tidy up RPC_AFFINITY_RSS")
Fixes: 3f286d2b5f406 ("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 b081614c06c36..1c26d5e43aa08 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