[Devel] [PATCH RHEL10 COMMIT] fixup! ve/fs: support per-CT disable of filesystem sync operations

Konstantin Khorenko khorenko at virtuozzo.com
Fri Jun 5 21:32:23 MSK 2026


The commit is pushed to "branch-rh10-6.12.0-55.52.1.5.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-55.52.1.5.29.vz10
------>
commit 57934816da05a5d2d1ca799ca451146266ec8754
Author: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
Date:   Tue Jun 2 21:10:52 2026 +0000

    fixup! ve/fs: support per-CT disable of filesystem sync operations
    
    There is an error:
    fs/sync.c:127:5: error: redefinition of 've_fsync_behavior'
    
    https://virtuozzo.atlassian.net/browse/VSTOR-130116
    
    Feature: !CONFIG_VE build
    Signed-off-by: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
    Reviewed-by: Vasileios Almpanis <vasileios.almpanis at virtuozzo.com>
---
 fs/sync.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/sync.c b/fs/sync.c
index b851c6b48f6d4..c0114b90c3e94 100644
--- a/fs/sync.c
+++ b/fs/sync.c
@@ -124,6 +124,7 @@ static int __ve_fsync_behavior(struct ve_struct *ve)
 		return 0;
 }
 
+#ifdef CONFIG_VE
 int ve_fsync_behavior(void)
 {
 	struct ve_struct *ve;
@@ -134,6 +135,7 @@ int ve_fsync_behavior(void)
 	else
 		return __ve_fsync_behavior(ve);
 }
+#endif
 
 /*
  * Sync everything. We start by waking flusher threads so that most of


More information about the Devel mailing list