[Devel] [PATCH RHEL10 COMMIT] fixup! ve/vfs: introduce "fs.odirect_enable" sysctl and disable it by default
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Jun 5 21:32:09 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 725281a66ba41dec3fb9bcc9af50190c0d0267b8
Author: Vladimir Riabchun <vladimir.riabchun at virtuozzo.com>
Date: Tue Jun 2 21:10:35 2026 +0000
fixup! ve/vfs: introduce "fs.odirect_enable" sysctl and disable it by default
ve0 doesn't exist when !CONFIG_VE.
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/sysctls.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/sysctls.c b/fs/sysctls.c
index dfe2782f58f4a..3c68cbdf69144 100644
--- a/fs/sysctls.c
+++ b/fs/sysctls.c
@@ -28,6 +28,7 @@ static struct ctl_table fs_shared_sysctls[] = {
.extra1 = SYSCTL_ZERO,
.extra2 = SYSCTL_MAXOLDUID,
},
+#ifdef CONFIG_VE
{
.procname = "odirect_enable",
.data = &ve0.odirect_enable,
@@ -35,6 +36,7 @@ static struct ctl_table fs_shared_sysctls[] = {
.mode = 0644 | S_ISVTX,
.proc_handler = proc_dointvec_virtual,
},
+#endif
};
static int __init init_fs_sysctls(void)
More information about the Devel
mailing list