The commit is pushed to "branch-rh10-6.12.0-211.16.1.12.x.vz10-ovz" and will 
appear at [email protected]:openvz/vzkernel.git
after rh10-6.12.0-211.16.1.12.1.vz10
------>
commit ae6b02e817642ec4a5bcadfe316a0daf90c94f5c
Author: Liu Kui <[email protected]>
Date:   Mon Jun 8 15:14:19 2026 +0800

    fs/fuse kio: avoid hung-task warning on krpc_watcher
    
    The wait_event() puts the watcher task in TASK_UNINTERRUPTIBLE state
    that still contributes to system load, so a long-lived watched process
    triggers khungtaskd:
    
      INFO: task krpc_watcher:225326 blocked for more than 1228 seconds.
    
    Use wait_event_idle() instead to put the task in TASK_IDLE state
    without contributing to system load.
    
    https://virtuozzo.atlassian.net/browse/VSTOR-134207
    
    Signed-off-by: Liu Kui <[email protected]>
    Acked-by: Alexey Kuznetsov <[email protected]>
    
    Feature: fuse: kRPC - single RPC for kernel and userspace
---
 fs/fuse/kio/pcs/pcs_krpc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fuse/kio/pcs/pcs_krpc.c b/fs/fuse/kio/pcs/pcs_krpc.c
index 7d5a9619276df..3b42fd7d4489c 100644
--- a/fs/fuse/kio/pcs/pcs_krpc.c
+++ b/fs/fuse/kio/pcs/pcs_krpc.c
@@ -669,7 +669,7 @@ static int krpc_watcher_fn(void *data)
 {
        struct pcs_krpc_set *krpcs = data;
 
-       wait_event(krpcs->watched_pid->wait_pidfd,
+       wait_event_idle(krpcs->watched_pid->wait_pidfd,
                        process_has_exited(krpcs->watched_pid) || 
kthread_should_stop());
 
        kthread_stop(krpcs->sender_task);
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to