The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will 
appear at g...@bitbucket.org:openvz/vzkernel.git
after rh9-5.14.0-427.44.1.vz9.80.24
------>
commit ba5a58add9dd31b6f7557fd3b0f56ec2eef35313
Author: Liu Kui <kui....@virtuozzo.com>
Date:   Sat Apr 5 10:22:02 2025 +0800

    fs/fuse kio: dispatch msgs in correct order from the krpc_send kthread
    
    The msgs kept in the llist are in reverse order that must be reversed
    before traversing. Misordered msgs could hit performance severely.
    
    Fixes: VSTOR-103577
    https://virtuozzo.atlassian.net/browse/VSTOR-103577
    
    Signed-off-by: Liu Kui <kui....@virtuozzo.com>
    Acked-by: Alexey Kuznetsov <kuz...@virtuozzo.com>
    
    Feature: fuse: kRPC - single RPC for kernel and userspace
---
 fs/fuse/kio/pcs/pcs_krpc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/fuse/kio/pcs/pcs_krpc.c b/fs/fuse/kio/pcs/pcs_krpc.c
index eac6ac9c34bd..78180bdb4993 100644
--- a/fs/fuse/kio/pcs/pcs_krpc.c
+++ b/fs/fuse/kio/pcs/pcs_krpc.c
@@ -653,6 +653,7 @@ static int krpc_threadfn(void *data)
 
                __set_current_state(TASK_RUNNING);
 
+               ll = llist_reverse_order(ll);
                while (ll) {
                        struct llist_node *next = ll->next;
                        struct krpc_req *kreq = container_of(ll, struct 
krpc_req, llist_link);
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to